Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling,fileNamePrefix="Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_ParallelCooling",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling,fileNamePrefix="Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_ParallelCooling",fmuType="me",version="2.0",platforms={"static"}) [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001194/0.001194, allocations: 176.1 kB / 8.476 MB, free: 1.883 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.268/1.268, allocations: 205.2 MB / 214.1 MB, free: 5.09 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008947/0.0008948, allocations: 91.27 kB / 262.1 MB, free: 5.141 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1874/0.1883, allocations: 52.96 MB / 315.1 MB, free: 41.41 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0871/0.2754, allocations: 47.58 MB / 362.6 MB, free: 9.875 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2944/0.5699, allocations: 80.94 MB / 443.6 MB, free: 10.59 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002447/0.5702, allocations: 67.17 kB / 443.6 MB, free: 10.59 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 144 * Number of variables: 144 Notification: Performance of Generate backend data structure: time 0.04323/0.6134, allocations: 16.96 MB / 460.6 MB, free: 4.789 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.491e-05/0.6135, allocations: 8.656 kB / 460.6 MB, free: 4.789 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003736/0.6139, allocations: 106 kB / 460.7 MB, free: 4.742 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001073/0.615, allocations: 0.525 MB / 461.2 MB, free: 4.414 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001965/0.6152, allocations: 136 kB / 461.4 MB, free: 4.301 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001248/0.6153, allocations: 39.5 kB / 461.4 MB, free: 4.297 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001004/0.6163, allocations: 476.4 kB / 461.9 MB, free: 4.27 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001254/0.6176, allocations: 0.7014 MB / 462.6 MB, free: 3.883 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.139e-05/0.6176, allocations: 4 kB / 462.6 MB, free: 3.879 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.254e-05/0.6177, allocations: 2.688 kB / 462.6 MB, free: 3.879 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.622e-05/0.6177, allocations: 13.78 kB / 462.6 MB, free: 3.879 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003649/0.6214, allocations: 1.98 MB / 464.6 MB, free: 2.918 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001358/0.6228, allocations: 0.849 MB / 465.4 MB, free: 2.555 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004945/0.6233, allocations: 322.4 kB / 465.7 MB, free: 2.531 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.694e-05/0.6234, allocations: 20.05 kB / 465.8 MB, free: 2.527 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.303e-05/0.6234, allocations: 45.5 kB / 465.8 MB, free: 2.488 MB / 314.7 MB Notification: Performance of pre-optimization done (n=74): time 3.056e-06/0.6234, allocations: 0 / 465.8 MB, free: 2.488 MB / 314.7 MB Notification: Performance of matching and sorting (n=74): time 0.002242/0.6256, allocations: 0.8328 MB / 466.6 MB, free: 2.258 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001565/0.6258, allocations: 0.8233 MB / 467.5 MB, free: 1.254 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007038/0.6265, allocations: 472.3 kB / 467.9 MB, free: 1.105 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 9.938e-05/0.6266, allocations: 29.17 kB / 468 MB, free: 1.074 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001507/0.6268, allocations: 233.7 kB / 468.2 MB, free: 0.9062 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001885/0.627, allocations: 249.6 kB / 468.4 MB, free: 0.7148 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.775e-05/0.6271, allocations: 6 kB / 468.4 MB, free: 0.7109 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001096/0.6272, allocations: 382.2 kB / 468.8 MB, free: 384 kB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003715/0.6275, allocations: 197.7 kB / 469 MB, free: 384 kB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005316/0.6281, allocations: 464.8 kB / 469.5 MB, free: 88 kB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004271/0.6285, allocations: 255.6 kB / 469.7 MB, free: 36 kB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.566e-06/0.6285, allocations: 0 / 469.7 MB, free: 36 kB / 314.7 MB Notification: Performance of matching and sorting (n=87) (initialization): time 0.002273/0.6308, allocations: 0.8979 MB / 470.6 MB, free: 15.8 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.287e-05/0.6309, allocations: 4.25 kB / 470.6 MB, free: 15.8 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.115e-05/0.6309, allocations: 9.062 kB / 470.6 MB, free: 15.79 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006756/0.6316, allocations: 214.1 kB / 470.8 MB, free: 15.72 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006558/0.6322, allocations: 129.6 kB / 470.9 MB, free: 15.7 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006889/0.6391, allocations: 5.976 MB / 476.9 MB, free: 10.51 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009339/0.6401, allocations: 80.47 kB / 477 MB, free: 10.47 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001351/0.6403, allocations: 31.48 kB / 477 MB, free: 10.46 MB / 330.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: ambient2.flowPort.h:VARIABLE(flow=false unit = "J/kg" ) type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: pipe1.flowPort_b.h:VARIABLE(flow=false unit = "J/kg" ) type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: pipe1.flowPort_a.h:VARIABLE(flow=false unit = "J/kg" ) type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (71): * Single equations (assignments): 64 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 5,1 3,1 7,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.00033/0.6406, allocations: 128.5 kB / 477.2 MB, free: 10.34 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002514/0.6409, allocations: 78.59 kB / 477.2 MB, free: 10.31 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002327/0.6411, allocations: 82.97 kB / 477.3 MB, free: 10.28 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.157e-06/0.6411, allocations: 7.438 kB / 477.3 MB, free: 10.28 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.046e-05/0.6412, allocations: 0 / 477.3 MB, free: 10.28 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002054/0.6432, allocations: 1.133 MB / 478.5 MB, free: 9.59 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003779/0.647, allocations: 1.729 MB / 480.2 MB, free: 8.879 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.581e-06/0.6471, allocations: 4.031 kB / 480.2 MB, free: 8.875 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007259/0.6478, allocations: 140.2 kB / 480.3 MB, free: 8.789 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004686/0.6483, allocations: 165.9 kB / 480.5 MB, free: 8.656 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.647e-05/0.6483, allocations: 7.422 kB / 480.5 MB, free: 8.652 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005491/0.6538, allocations: 4.647 MB / 485.1 MB, free: 4.047 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.871e-06/0.6539, allocations: 4 kB / 485.1 MB, free: 4.043 MB / 330.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002657/0.6566, allocations: 1.246 MB / 486.4 MB, free: 3.078 MB / 330.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.003949/0.6605, allocations: 2.515 MB / 488.9 MB, free: 1.27 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006059/0.6612, allocations: 242.2 kB / 489.1 MB, free: 1.059 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002477/0.6615, allocations: 8 kB / 489.2 MB, free: 1.051 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006427/0.6621, allocations: 31.22 kB / 489.2 MB, free: 1.023 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001164/0.6622, allocations: 35.78 kB / 489.2 MB, free: 0.9922 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.374e-05/0.6623, allocations: 30.56 kB / 489.2 MB, free: 0.9688 MB / 330.7 MB Notification: Performance of sort global known variables: time 0.0005358/0.6629, allocations: 367.6 kB / 489.6 MB, free: 0.7109 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001803/0.6647, allocations: 263.5 kB / 489.9 MB, free: 464 kB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 5 (pipe1.T,pipe2.T,pipe3.T,heatCapacitor1.T,heatCapacitor2.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (62): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 3,1 3,1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002804/0.665, allocations: 119 kB / 490 MB, free: 332 kB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002028/0.667, allocations: 1.049 MB / 491 MB, free: 15.36 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.388e-06/0.667, allocations: 0 / 491 MB, free: 15.36 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001127/0.6682, allocations: 0.6599 MB / 491.7 MB, free: 14.67 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001064/0.6692, allocations: 176.5 kB / 491.9 MB, free: 14.5 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00297/0.6722, allocations: 1.26 MB / 493.1 MB, free: 13.21 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007998/0.673, allocations: 1.043 MB / 494.2 MB, free: 12.15 MB / 346.7 MB Notification: Performance of SimCode: time 6.01e-07/0.6731, allocations: 0 / 494.2 MB, free: 12.15 MB / 346.7 MB (rm -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe ; mkfifo Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe >> ../files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_ParallelCooling_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_ParallelCooling.fmu > Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling_res.mat does not exist to compare? outputFormat=mat