Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo", uses=false) 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) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder",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/BuildSysPro 3.5.0/package.mo): time 0.8039/0.8039, allocations: 127.4 MB / 134.6 MB, free: 4.062 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001322/0.001322, allocations: 181.3 kB / 164.4 MB, free: 6.871 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.018/2.018, allocations: 205.1 MB / 399.1 MB, free: 6.105 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001027/0.001027, allocations: 85.77 kB / 476.3 MB, free: 8.863 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.3635/0.3646, allocations: 82.9 MB / 0.5461 GB, free: 42.66 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2131/0.5777, allocations: 76.75 MB / 0.621 GB, free: 13.84 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.248/1.826, allocations: 320.9 MB / 0.9344 GB, free: 181.8 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002824/1.826, allocations: 83.94 kB / 0.9344 GB, free: 181.7 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0318/1.858, allocations: 13.68 MB / 0.9478 GB, free: 167.9 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.623e-05/1.858, allocations: 8 kB / 0.9478 GB, free: 167.9 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.853e-05/1.858, allocations: 15.81 kB / 0.9478 GB, free: 167.9 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001411/1.858, allocations: 176.5 kB / 0.948 GB, free: 167.7 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.77e-05/1.858, allocations: 4 kB / 0.948 GB, free: 167.7 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.08e-05/1.858, allocations: 4 kB / 0.948 GB, free: 167.7 MB / 0.6198 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002129/1.859, allocations: 91.97 kB / 0.9481 GB, free: 167.6 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001854/1.859, allocations: 85.52 kB / 0.9482 GB, free: 167.5 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.278e-06/1.859, allocations: 0 / 0.9482 GB, free: 167.5 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.459e-05/1.859, allocations: 8 kB / 0.9482 GB, free: 167.5 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.456e-06/1.859, allocations: 4 kB / 0.9482 GB, free: 167.5 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005896/1.859, allocations: 393.2 kB / 0.9485 GB, free: 167.1 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000136/1.86, allocations: 82.52 kB / 0.9486 GB, free: 167 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.922e-05/1.86, allocations: 52.84 kB / 0.9487 GB, free: 166.9 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009285/1.861, allocations: 0.9331 MB / 0.9496 GB, free: 165.8 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.83e-05/1.861, allocations: 34.56 kB / 0.9496 GB, free: 165.8 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=12): time 1.853e-06/1.861, allocations: 0 / 0.9496 GB, free: 165.8 MB / 0.6198 GB Notification: Performance of matching and sorting (n=12): time 0.0004887/1.861, allocations: 133.5 kB / 0.9497 GB, free: 165.7 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.125e-05/1.861, allocations: 57.34 kB / 0.9498 GB, free: 165.6 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001244/1.861, allocations: 143.2 kB / 0.9499 GB, free: 165.4 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.055e-05/1.861, allocations: 25.7 kB / 0.95 GB, free: 165.4 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.96e-05/1.861, allocations: 96.39 kB / 0.9501 GB, free: 165.3 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.591e-05/1.861, allocations: 43.39 kB / 0.9501 GB, free: 165.3 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.138e-05/1.861, allocations: 4 kB / 0.9501 GB, free: 165.3 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.815e-05/1.861, allocations: 322.8 kB / 0.9504 GB, free: 164.9 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.25e-05/1.862, allocations: 51.92 kB / 0.9505 GB, free: 164.9 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.921e-05/1.862, allocations: 79.59 kB / 0.9505 GB, free: 164.8 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005633/1.862, allocations: 147.6 kB / 0.9507 GB, free: 164.7 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/1.862, allocations: 7.906 kB / 0.9507 GB, free: 164.7 MB / 0.6198 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.000687/1.863, allocations: 265.2 kB / 0.9509 GB, free: 164.4 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.882e-05/1.863, allocations: 4 kB / 0.9509 GB, free: 164.4 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.843e-06/1.863, allocations: 0 / 0.9509 GB, free: 164.4 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.007e-05/1.863, allocations: 4 kB / 0.9509 GB, free: 164.4 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002968/1.863, allocations: 64 kB / 0.951 GB, free: 164.3 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.694e-06/1.863, allocations: 3.938 kB / 0.951 GB, free: 164.3 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000175/1.864, allocations: 35.72 kB / 0.951 GB, free: 164.3 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.15e-05/1.864, allocations: 12 kB / 0.9511 GB, free: 164.3 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.0001111/1.864, allocations: 105 kB / 0.9512 GB, free: 164.2 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.247e-05/1.864, allocations: 19.75 kB / 0.9512 GB, free: 164.1 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004089/1.864, allocations: 150.2 kB / 0.9513 GB, free: 164 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.098e-06/1.864, allocations: 3.906 kB / 0.9513 GB, free: 164 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.883e-06/1.864, allocations: 0 / 0.9513 GB, free: 164 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/1.864, allocations: 0 / 0.9513 GB, free: 164 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001691/1.864, allocations: 190.1 kB / 0.9515 GB, free: 163.8 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/1.864, allocations: 0 / 0.9515 GB, free: 163.8 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001697/1.865, allocations: 43.83 kB / 0.9515 GB, free: 163.7 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.857e-06/1.865, allocations: 0 / 0.9515 GB, free: 163.7 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.417e-05/1.865, allocations: 7.984 kB / 0.9515 GB, free: 163.7 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/1.865, allocations: 0 / 0.9515 GB, free: 163.7 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.318e-06/1.865, allocations: 3.938 kB / 0.9516 GB, free: 163.7 MB / 0.6198 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003736/1.865, allocations: 239.3 kB / 0.9518 GB, free: 163.4 MB / 0.6198 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004276/1.865, allocations: 0.6051 MB / 0.9524 GB, free: 162.8 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.291e-05/1.865, allocations: 85.02 kB / 0.9525 GB, free: 162.7 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.124e-05/1.866, allocations: 7.906 kB / 0.9525 GB, free: 162.7 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001569/1.866, allocations: 23.97 kB / 0.9525 GB, free: 162.7 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.992e-05/1.866, allocations: 11.97 kB / 0.9525 GB, free: 162.7 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.217e-06/1.866, allocations: 7.938 kB / 0.9525 GB, free: 162.7 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5.572e-05/1.866, allocations: 107.3 kB / 0.9526 GB, free: 162.6 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0009504/1.867, allocations: 68.31 kB / 0.9527 GB, free: 162.5 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 12 * 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.000297/1.867, allocations: 184.7 kB / 0.9528 GB, free: 162.3 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002129/1.867, allocations: 107.9 kB / 0.9529 GB, free: 162.2 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/1.867, allocations: 0 / 0.9529 GB, free: 162.2 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 6.61e-05/1.867, allocations: 51.92 kB / 0.953 GB, free: 162.2 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002453/1.868, allocations: 16.09 kB / 0.953 GB, free: 162.1 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003991/1.868, allocations: 155.7 kB / 0.9532 GB, free: 162 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002565/1.868, allocations: 0.7237 MB / 0.9539 GB, free: 161.2 MB / 0.6198 GB Notification: Performance of SimCode: time 2.3e-07/1.868, allocations: 0 / 0.9539 GB, free: 161.2 MB / 0.6198 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder_fmu --startTime=0 --stopTime=250 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe 2>&1)