Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder,fileNamePrefix="Buildings_maint_7_0_x_Buildings_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/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.244/1.244, allocations: 249.4 MB / 256.7 MB, free: 7.043 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001053/0.001053, allocations: 192.8 kB / 316 MB, free: 3.531 MB / 250.7 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.1 MB / 0.5667 GB, free: 15.59 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009949/0.0009949, allocations: 86.56 kB / 0.671 GB, free: 4.711 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3862/0.3873, allocations: 112.5 MB / 0.7808 GB, free: 102.9 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.171/0.5583, allocations: 106.3 MB / 0.8847 GB, free: 12.51 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7063/1.265, allocations: 354.7 MB / 1.231 GB, free: 15.44 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002262/1.265, allocations: 88.56 kB / 1.231 GB, free: 15.39 MB / 0.8542 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.03228/1.297, allocations: 13.72 MB / 1.245 GB, free: 4.504 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.318e-05/1.297, allocations: 11.98 kB / 1.245 GB, free: 4.492 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.372e-05/1.297, allocations: 15.81 kB / 1.245 GB, free: 4.477 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001521/1.298, allocations: 186.7 kB / 1.245 GB, free: 4.254 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.298e-06/1.298, allocations: 4 kB / 1.245 GB, free: 4.25 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.516e-05/1.298, allocations: 8 kB / 1.245 GB, free: 4.242 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002515/1.298, allocations: 94.66 kB / 1.245 GB, free: 4.18 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001341/1.298, allocations: 80.48 kB / 1.245 GB, free: 4.113 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.675e-06/1.298, allocations: 0 / 1.245 GB, free: 4.113 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.394e-05/1.298, allocations: 3.906 kB / 1.245 GB, free: 4.109 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.07e-06/1.298, allocations: 0 / 1.245 GB, free: 4.109 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005936/1.299, allocations: 398.6 kB / 1.245 GB, free: 3.742 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001372/1.299, allocations: 89.39 kB / 1.245 GB, free: 3.672 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.848e-05/1.299, allocations: 40.17 kB / 1.245 GB, free: 3.645 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001016/1.3, allocations: 0.9274 MB / 1.246 GB, free: 2.625 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.439e-05/1.3, allocations: 34.5 kB / 1.246 GB, free: 2.586 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=12): time 1.313e-06/1.3, allocations: 0 / 1.246 GB, free: 2.586 MB / 0.8542 GB Notification: Performance of matching and sorting (n=12): time 0.0004586/1.3, allocations: 136.3 kB / 1.247 GB, free: 2.469 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.792e-05/1.3, allocations: 59.39 kB / 1.247 GB, free: 2.398 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001059/1.301, allocations: 141.1 kB / 1.247 GB, free: 2.27 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.885e-05/1.301, allocations: 25.7 kB / 1.247 GB, free: 2.238 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 5.747e-05/1.301, allocations: 102.2 kB / 1.247 GB, free: 2.141 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 3.003e-05/1.301, allocations: 47.2 kB / 1.247 GB, free: 2.102 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.004e-05/1.301, allocations: 0 / 1.247 GB, free: 2.102 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001043/1.301, allocations: 322.7 kB / 1.247 GB, free: 1.781 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.694e-05/1.301, allocations: 43.25 kB / 1.247 GB, free: 1.758 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001089/1.301, allocations: 83.23 kB / 1.247 GB, free: 1.684 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005746/1.302, allocations: 148.8 kB / 1.247 GB, free: 1.57 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.215e-06/1.302, allocations: 0 / 1.247 GB, free: 1.57 MB / 0.8542 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0007093/1.302, allocations: 259.2 kB / 1.248 GB, free: 1.352 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.403e-05/1.302, allocations: 4 kB / 1.248 GB, free: 1.348 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.965e-06/1.302, allocations: 4.625 kB / 1.248 GB, free: 1.344 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.137e-05/1.302, allocations: 0 / 1.248 GB, free: 1.344 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003061/1.303, allocations: 71.92 kB / 1.248 GB, free: 1.277 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.662e-06/1.303, allocations: 0 / 1.248 GB, free: 1.277 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001812/1.303, allocations: 43.67 kB / 1.248 GB, free: 1.234 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.745e-05/1.303, allocations: 7.984 kB / 1.248 GB, free: 1.227 MB / 0.8542 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 9.542e-05/1.303, allocations: 108.9 kB / 1.248 GB, free: 1.117 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.148e-05/1.303, allocations: 15.81 kB / 1.248 GB, free: 1.102 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000429/1.304, allocations: 148.6 kB / 1.248 GB, free: 0.9805 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.501e-06/1.304, allocations: 0 / 1.248 GB, free: 0.9805 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/1.304, allocations: 7.938 kB / 1.248 GB, free: 0.9727 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.23e-06/1.304, allocations: 3.984 kB / 1.248 GB, free: 0.9688 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001785/1.304, allocations: 185.3 kB / 1.248 GB, free: 0.7656 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.494e-06/1.304, allocations: 0 / 1.248 GB, free: 0.7656 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001819/1.304, allocations: 43.78 kB / 1.248 GB, free: 0.7266 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.146e-06/1.304, allocations: 4 kB / 1.248 GB, free: 0.7227 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.778e-06/1.304, allocations: 3.938 kB / 1.248 GB, free: 0.7188 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.876e-06/1.304, allocations: 3.906 kB / 1.248 GB, free: 0.7148 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.307e-06/1.304, allocations: 4 kB / 1.248 GB, free: 0.7109 MB / 0.8542 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000376/1.304, allocations: 234.3 kB / 1.249 GB, free: 0.4922 MB / 0.8542 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.3046/1.609, allocations: 0.6186 MB / 1.249 GB, free: 346.6 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 5.766e-05/1.609, allocations: 82.27 kB / 1.249 GB, free: 346.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.963e-05/1.609, allocations: 3.875 kB / 1.249 GB, free: 346.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001772/1.609, allocations: 14.53 kB / 1.249 GB, free: 346.5 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.725e-05/1.609, allocations: 11.05 kB / 1.249 GB, free: 346.5 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.146e-05/1.609, allocations: 7.25 kB / 1.249 GB, free: 346.5 MB / 0.8542 GB Notification: Performance of sort global known variables: time 7.279e-05/1.61, allocations: 110 kB / 1.249 GB, free: 346.4 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0009987/1.611, allocations: 72.11 kB / 1.249 GB, free: 346.4 MB / 0.8542 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.000289/1.611, allocations: 185.9 kB / 1.25 GB, free: 346.3 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0002335/1.611, allocations: 111.8 kB / 1.25 GB, free: 346.3 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.674e-06/1.611, allocations: 0 / 1.25 GB, free: 346.3 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 5.754e-05/1.611, allocations: 44.55 kB / 1.25 GB, free: 346.3 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002337/1.611, allocations: 13.34 kB / 1.25 GB, free: 346.3 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003578/1.612, allocations: 156.5 kB / 1.25 GB, free: 346.2 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001948/1.612, allocations: 0.7283 MB / 1.251 GB, free: 345.5 MB / 0.8542 GB Notification: Performance of SimCode: time 2.4e-07/1.612, allocations: 0 / 1.251 GB, free: 345.5 MB / 0.8542 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder_fmu --startTime=0 --stopTime=250 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder.fmu > Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe 2>&1)