Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.FlowJunction.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IBPSA.Fluid.FixedResistances.Examples.FlowJunction,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_FlowJunction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.FixedResistances.Examples.FlowJunction,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_FlowJunction",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 4.0.0+maint.om/package.mo): time 0.001071/0.001071, allocations: 192.4 kB / 7.803 MB, free: 2.5 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4646/0.4646, allocations: 90.85 MB / 99.07 MB, free: 14.93 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.349/1.349, allocations: 221.4 MB / 342.7 MB, free: 5.227 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009178/0.0009177, allocations: 92.33 kB / 415.5 MB, free: 6.426 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1807/0.1817, allocations: 78.44 MB / 493.9 MB, free: 7.996 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4165/0.5982, allocations: 72.3 MB / 0.553 GB, free: 73.35 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.885/4.483, allocations: 1.881 GB / 2.433 GB, free: 138.6 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002153/4.483, allocations: 88.23 kB / 2.434 GB, free: 138.6 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 197 * Number of variables: 197 Notification: Performance of Generate backend data structure: time 3.215/7.699, allocations: 0.9326 GB / 3.366 GB, free: 77.85 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.077e-05/7.699, allocations: 7.562 kB / 3.366 GB, free: 77.85 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003232/7.702, allocations: 426.9 kB / 3.367 GB, free: 77.78 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002766/7.705, allocations: 1.104 MB / 3.368 GB, free: 77.49 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.403e-05/7.705, allocations: 22.19 kB / 3.368 GB, free: 77.49 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001262/7.705, allocations: 52.69 kB / 3.368 GB, free: 77.49 MB / 0.6198 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001233/7.706, allocations: 0.7424 MB / 3.368 GB, free: 77.49 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001139/7.707, allocations: 0.7284 MB / 3.369 GB, free: 77.43 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.418e-05/7.707, allocations: 3.188 kB / 3.369 GB, free: 77.43 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.136e-05/7.707, allocations: 0 / 3.369 GB, free: 77.43 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.386e-05/7.707, allocations: 26.06 kB / 3.369 GB, free: 77.43 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004874/7.712, allocations: 3.997 MB / 3.373 GB, free: 75.57 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009175/7.713, allocations: 0.5763 MB / 3.374 GB, free: 75.54 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004234/7.714, allocations: 371 kB / 3.374 GB, free: 75.54 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007326/7.714, allocations: 0.6432 MB / 3.375 GB, free: 74.88 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.7e-05/7.715, allocations: 44.41 kB / 3.375 GB, free: 74.84 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=60): time 3.066e-06/7.715, allocations: 3.594 kB / 3.375 GB, free: 74.84 MB / 0.6198 GB Notification: Performance of matching and sorting (n=60): time 0.002599/7.717, allocations: 0.9119 MB / 3.376 GB, free: 74.75 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.066e-05/7.717, allocations: 59.12 kB / 3.376 GB, free: 74.68 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007913/7.718, allocations: 0.6046 MB / 3.376 GB, free: 74.56 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 5.451e-05/7.718, allocations: 29.45 kB / 3.376 GB, free: 74.53 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001779/7.718, allocations: 331.3 kB / 3.377 GB, free: 74.36 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.000178/7.718, allocations: 209.8 kB / 3.377 GB, free: 74.21 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.957e-05/7.718, allocations: 0 / 3.377 GB, free: 74.21 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.785e-05/7.719, allocations: 335.2 kB / 3.377 GB, free: 73.91 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003273/7.719, allocations: 241.9 kB / 3.377 GB, free: 73.91 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004088/7.719, allocations: 375.7 kB / 3.378 GB, free: 73.77 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006776/7.72, allocations: 380.9 kB / 3.378 GB, free: 73.77 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.006e-06/7.72, allocations: 3.188 kB / 3.378 GB, free: 73.77 MB / 0.6198 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001282/7.721, allocations: 0.7821 MB / 3.379 GB, free: 73.68 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001273/7.721, allocations: 454.1 kB / 3.379 GB, free: 73.22 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.995e-06/7.721, allocations: 0 / 3.379 GB, free: 73.22 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.063e-05/7.721, allocations: 5.688 kB / 3.379 GB, free: 73.22 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006505/7.722, allocations: 137.8 kB / 3.379 GB, free: 73.22 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.273e-06/7.722, allocations: 3.719 kB / 3.379 GB, free: 73.22 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00106/7.723, allocations: 130.2 kB / 3.38 GB, free: 73.2 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.278e-05/7.723, allocations: 27.27 kB / 3.38 GB, free: 73.2 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 6.382e-06/7.723, allocations: 3.938 kB / 3.38 GB, free: 73.2 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001072/7.724, allocations: 0.6477 MB / 3.38 GB, free: 73.18 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.565e-06/7.724, allocations: 0 / 3.38 GB, free: 73.18 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.891e-06/7.724, allocations: 7.281 kB / 3.38 GB, free: 73.18 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005895/7.725, allocations: 134.2 kB / 3.38 GB, free: 73.18 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.015e-06/7.725, allocations: 0 / 3.38 GB, free: 73.18 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009168/7.726, allocations: 123.6 kB / 3.38 GB, free: 73.16 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.821e-05/7.726, allocations: 26.97 kB / 3.38 GB, free: 73.16 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (69): * Single equations (assignments): 69 * 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 prepare postOptimizeDAE: time 0.0001519/7.726, allocations: 116.4 kB / 3.381 GB, free: 73.05 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001421/7.726, allocations: 94.53 kB / 3.381 GB, free: 73.01 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001497/7.728, allocations: 0.8176 MB / 3.381 GB, free: 72.95 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.057e-05/7.728, allocations: 13.66 kB / 3.381 GB, free: 72.94 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.033e-06/7.728, allocations: 3.422 kB / 3.382 GB, free: 72.94 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001104/7.729, allocations: 0.9777 MB / 3.382 GB, free: 72.49 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003178/7.732, allocations: 1.994 MB / 3.384 GB, free: 72.08 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.111e-06/7.732, allocations: 7.062 kB / 3.384 GB, free: 72.08 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007562/7.733, allocations: 154.4 kB / 3.385 GB, free: 72.08 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.032e-05/7.733, allocations: 10.75 kB / 3.385 GB, free: 72.08 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.095e-05/7.733, allocations: 7.812 kB / 3.385 GB, free: 72.08 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.773e-06/7.733, allocations: 3.875 kB / 3.385 GB, free: 72.08 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.164e-06/7.733, allocations: 7.5 kB / 3.385 GB, free: 72.08 MB / 0.6198 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001653/7.735, allocations: 1.386 MB / 3.386 GB, free: 71.56 MB / 0.6198 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.00258/7.737, allocations: 2.267 MB / 3.388 GB, free: 70.66 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004754/7.738, allocations: 258.9 kB / 3.388 GB, free: 70.51 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001429/7.738, allocations: 7.875 kB / 3.388 GB, free: 70.51 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009829/7.739, allocations: 122.4 kB / 3.389 GB, free: 70.5 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001103/7.739, allocations: 40.17 kB / 3.389 GB, free: 70.5 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.294e-05/7.739, allocations: 30.78 kB / 3.389 GB, free: 70.5 MB / 0.6198 GB Notification: Performance of sort global known variables: time 0.00055/7.74, allocations: 475 kB / 3.389 GB, free: 70.4 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.004144/7.744, allocations: 1.297 MB / 3.39 GB, free: 70.32 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 6 (spl.vol.dynBal.medium.Xi[1],spl.vol.dynBal.U,spl.vol.dynBal.m,senTem1.T,senTem2.T,senTem3.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (63): * Single equations (assignments): 63 * 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.003929/7.748, allocations: 2.594 MB / 3.393 GB, free: 69.48 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.002202/7.75, allocations: 0.936 MB / 3.394 GB, free: 69.46 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 5.18e-06/7.75, allocations: 1.5 kB / 3.394 GB, free: 69.46 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.000502/7.75, allocations: 324.9 kB / 3.394 GB, free: 69.46 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003309/7.754, allocations: 0.591 MB / 3.395 GB, free: 69.46 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003343/7.757, allocations: 1.746 MB / 3.396 GB, free: 68.95 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000897/7.758, allocations: 1.252 MB / 3.398 GB, free: 68.24 MB / 0.6198 GB Notification: Performance of SimCode: time 6.11e-07/7.758, allocations: 3.625 kB / 3.398 GB, free: 68.24 MB / 0.6198 GB (rm -f IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.FlowJunction.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.FlowJunction.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.FlowJunction.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.FlowJunction.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_FlowJunction_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_FlowJunction.fmu > IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.FlowJunction.pipe 2>&1)