Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(Modelica.Thermal.FluidHeatFlow.Examples.OneMass,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.OneMass") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.OneMass,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.OneMass") [: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.1+maint.om/package.mo): time 0.003246/0.003247, allocations: 177.9 kB / 7.452 MB, free: 2.508 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.176/1.176, allocations: 170.6 MB / 178.4 MB, free: 15.38 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001701/0.001701, allocations: 115.8 kB / 217.7 MB, free: 8.145 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 8.426e-06/8.446e-06, allocations: 4 kB / 261.7 MB, free: 26.64 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07338/0.07341, allocations: 38.76 MB / 300.5 MB, free: 3.883 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2556/0.3291, allocations: 70.17 MB / 370.7 MB, free: 14.29 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002113/0.3293, allocations: 66.53 kB / 370.7 MB, free: 14.25 MB / 266.7 MB Notification: Performance of FrontEnd: time 0.02593/0.3553, allocations: 9.186 MB / 379.9 MB, free: 6.75 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.594e-05/0.3554, allocations: 8 kB / 379.9 MB, free: 6.742 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 78 * Number of variables: 78 Notification: Performance of Generate backend data structure: time 0.001937/0.3574, allocations: 0.7275 MB / 380.7 MB, free: 5.996 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.694e-05/0.3574, allocations: 8.031 kB / 380.7 MB, free: 5.988 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003174/0.3578, allocations: 59.34 kB / 380.7 MB, free: 5.93 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001001/0.3588, allocations: 393.7 kB / 381.1 MB, free: 5.555 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000112/0.3589, allocations: 54.34 kB / 381.2 MB, free: 5.496 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.826e-05/0.359, allocations: 16 kB / 381.2 MB, free: 5.48 MB / 266.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005239/0.3595, allocations: 252.6 kB / 381.4 MB, free: 5.328 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006468/0.3602, allocations: 397.5 kB / 381.8 MB, free: 4.977 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.769e-05/0.3602, allocations: 0 / 381.8 MB, free: 4.977 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.757e-05/0.3603, allocations: 0 / 381.8 MB, free: 4.977 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.067e-05/0.3603, allocations: 8 kB / 381.8 MB, free: 4.969 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002236/0.3625, allocations: 1.189 MB / 383 MB, free: 3.984 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003882/0.3629, allocations: 228.6 kB / 383.2 MB, free: 3.836 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000261/0.3632, allocations: 150.8 kB / 383.4 MB, free: 3.738 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.158e-05/0.3632, allocations: 11.8 kB / 383.4 MB, free: 3.73 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.535e-05/0.3633, allocations: 41.42 kB / 383.4 MB, free: 3.684 MB / 266.7 MB Notification: Performance of pre-optimization done (n=36): time 1.563e-06/0.3633, allocations: 4 kB / 383.4 MB, free: 3.68 MB / 266.7 MB Notification: Performance of matching and sorting (n=36): time 0.0007853/0.3641, allocations: 342.5 kB / 383.8 MB, free: 3.418 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001985/0.3643, allocations: 444.9 kB / 384.2 MB, free: 2.883 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004341/0.3647, allocations: 342.7 kB / 384.5 MB, free: 2.617 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.189e-05/0.3648, allocations: 29.7 kB / 384.6 MB, free: 2.582 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001205/0.3649, allocations: 171.3 kB / 384.7 MB, free: 2.426 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001033/0.365, allocations: 127.6 kB / 384.9 MB, free: 2.312 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.776e-05/0.3651, allocations: 4 kB / 384.9 MB, free: 2.309 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001581/0.3652, allocations: 351.4 kB / 385.2 MB, free: 1.977 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001995/0.3654, allocations: 99.81 kB / 385.3 MB, free: 1.922 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002889/0.3657, allocations: 237.3 kB / 385.5 MB, free: 1.699 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002037/0.3659, allocations: 119.6 kB / 385.7 MB, free: 1.625 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/0.3659, allocations: 0 / 385.7 MB, free: 1.625 MB / 266.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006832/0.3666, allocations: 378.3 kB / 386 MB, free: 1.336 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.645e-05/0.3667, allocations: 8 kB / 386 MB, free: 1.328 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.215e-06/0.3667, allocations: 0 / 386 MB, free: 1.328 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002743/0.367, allocations: 68.77 kB / 386.1 MB, free: 1.27 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004857/0.3675, allocations: 91.97 kB / 386.2 MB, free: 1.18 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002501/0.37, allocations: 2.607 MB / 388.8 MB, free: 14.48 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004528/0.3704, allocations: 55.7 kB / 388.9 MB, free: 14.43 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.322e-05/0.3705, allocations: 15.92 kB / 388.9 MB, free: 14.41 MB / 282.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: pipe.flowPort_a.h:VARIABLE(flow=false unit = "J/kg" ) type: Real ambient1.flowPort.h:VARIABLE(flow=false unit = "J/kg" ) type: Real pump.h:VARIABLE(unit = "J/kg" protected = true ) "Medium's specific enthalpy" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (38): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {3 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001937/0.3707, allocations: 120.8 kB / 389 MB, free: 14.29 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.908e-05/0.3708, allocations: 55.44 kB / 389 MB, free: 14.23 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000111/0.3709, allocations: 39.23 kB / 389.1 MB, free: 14.21 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.759e-06/0.3709, allocations: 4.656 kB / 389.1 MB, free: 14.21 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.252e-06/0.3709, allocations: 3.984 kB / 389.1 MB, free: 14.2 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006175/0.3716, allocations: 0.6501 MB / 389.7 MB, free: 13.52 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001456/0.373, allocations: 0.871 MB / 390.6 MB, free: 12.8 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.701e-06/0.3731, allocations: 11.78 kB / 390.6 MB, free: 12.79 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005051/0.3736, allocations: 103.2 kB / 390.7 MB, free: 12.69 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.911e-06/0.3736, allocations: 0 / 390.7 MB, free: 12.69 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.829e-05/0.3736, allocations: 3.812 kB / 390.7 MB, free: 12.69 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.799e-06/0.3736, allocations: 11.94 kB / 390.7 MB, free: 12.68 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.415e-06/0.3736, allocations: 0 / 390.7 MB, free: 12.68 MB / 282.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0007294/0.3744, allocations: 0.5273 MB / 391.3 MB, free: 12.28 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001495/0.3745, allocations: 126.7 kB / 391.4 MB, free: 12.14 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.825e-05/0.3746, allocations: 7.984 kB / 391.4 MB, free: 12.14 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003421/0.375, allocations: 28.05 kB / 391.4 MB, free: 12.11 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.375e-05/0.3751, allocations: 23.39 kB / 391.4 MB, free: 12.09 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.324e-05/0.3751, allocations: 8 kB / 391.5 MB, free: 12.08 MB / 282.7 MB Notification: Performance of sort global known variables: time 0.0003195/0.3754, allocations: 274.2 kB / 391.7 MB, free: 11.88 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0004851/0.3759, allocations: 127.7 kB / 391.8 MB, free: 11.76 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (pipe.T,heatCapacitor.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (36): * Single equations (assignments): 36 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002031/0.3761, allocations: 107.2 kB / 391.9 MB, free: 11.64 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0008721/0.377, allocations: 0.5083 MB / 392.5 MB, free: 11.21 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.377, allocations: 0 / 392.5 MB, free: 11.21 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002588/0.3773, allocations: 149.1 kB / 392.6 MB, free: 11.11 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000547/0.3778, allocations: 106.3 kB / 392.7 MB, free: 11.03 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001612/0.3795, allocations: 0.6366 MB / 393.3 MB, free: 10.43 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006318/0.3801, allocations: 0.8799 MB / 394.2 MB, free: 9.531 MB / 282.7 MB Notification: Performance of SimCode: time 2.31e-07/0.3801, allocations: 0 / 394.2 MB, free: 9.531 MB / 282.7 MB Notification: Performance of Templates: time 0.01421/0.3943, allocations: 6.947 MB / 401.2 MB, free: 2.586 MB / 282.7 MB make -j1 -f Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.makefile (rm -f Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe ; mkfifo Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe >> ../files/Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.sim & ./Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.OneMass -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe 2>&1)