Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) 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/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_EpsilonNTUZ",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_EpsilonNTUZ",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 9.1.1-maint.9.1.x/package.mo): time 2.054/2.054, allocations: 387.2 MB / 394.5 MB, free: 13.71 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001114/0.001114, allocations: 177.3 kB / 487 MB, free: 5.402 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.514/1.514, allocations: 221.3 MB / 0.7819 GB, free: 1.406 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009931/0.0009931, allocations: 99.69 kB / 0.9213 GB, free: 2.66 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.6813/0.6824, allocations: 148.5 MB / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2738/0.9562, allocations: 142.3 MB / 1.205 GB, free: 26.12 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8182/1.774, allocations: 151 MB / 1.353 GB, free: 15.89 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002802/1.775, allocations: 80.44 kB / 1.353 GB, free: 15.89 MB / 0.8073 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.04438/1.819, allocations: 14.93 MB / 1.367 GB, free: 9.723 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 4.612e-05/1.819, allocations: 8 kB / 1.367 GB, free: 9.715 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.044e-05/1.819, allocations: 19.81 kB / 1.367 GB, free: 9.695 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.027e-05/1.819, allocations: 170.9 kB / 1.368 GB, free: 9.488 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.734e-05/1.819, allocations: 7.984 kB / 1.368 GB, free: 9.48 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.647e-05/1.819, allocations: 8 kB / 1.368 GB, free: 9.473 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002907/1.82, allocations: 167.7 kB / 1.368 GB, free: 9.34 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002328/1.82, allocations: 206.5 kB / 1.368 GB, free: 9.141 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.978e-06/1.82, allocations: 4 kB / 1.368 GB, free: 9.137 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.956e-05/1.82, allocations: 4 kB / 1.368 GB, free: 9.133 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.523e-06/1.82, allocations: 0 / 1.368 GB, free: 9.133 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002442/1.82, allocations: 246.8 kB / 1.368 GB, free: 8.863 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005611/1.821, allocations: 387.3 kB / 1.369 GB, free: 8.488 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001757/1.821, allocations: 179.6 kB / 1.369 GB, free: 8.328 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002955/1.821, allocations: 192.2 kB / 1.369 GB, free: 8.113 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.341e-05/1.821, allocations: 41.25 kB / 1.369 GB, free: 8.066 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=30): time 1.373e-06/1.821, allocations: 0 / 1.369 GB, free: 8.066 MB / 0.8073 GB Notification: Performance of matching and sorting (n=30): time 0.0005959/1.822, allocations: 276.4 kB / 1.369 GB, free: 7.836 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.445e-05/1.822, allocations: 191.9 kB / 1.369 GB, free: 7.605 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.482e-05/1.822, allocations: 85 kB / 1.37 GB, free: 7.516 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 2.105e-05/1.822, allocations: 28.52 kB / 1.37 GB, free: 7.484 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 1.714e-05/1.822, allocations: 84.62 kB / 1.37 GB, free: 7.398 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 8.971e-05/1.822, allocations: 95.88 kB / 1.37 GB, free: 7.312 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.234e-05/1.822, allocations: 0 / 1.37 GB, free: 7.312 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 7.766e-05/1.822, allocations: 321.2 kB / 1.37 GB, free: 6.996 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001055/1.822, allocations: 88.69 kB / 1.37 GB, free: 6.926 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001308/1.823, allocations: 130.9 kB / 1.37 GB, free: 6.805 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002764/1.823, allocations: 110.3 kB / 1.37 GB, free: 6.715 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/1.823, allocations: 0 / 1.37 GB, free: 6.715 MB / 0.8073 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004775/1.823, allocations: 276.6 kB / 1.371 GB, free: 6.484 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.477e-05/1.823, allocations: 11.84 kB / 1.371 GB, free: 6.473 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.105e-06/1.823, allocations: 8 kB / 1.371 GB, free: 6.465 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.32e-05/1.823, allocations: 0 / 1.371 GB, free: 6.465 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002436/1.824, allocations: 63.02 kB / 1.371 GB, free: 6.406 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.273e-06/1.824, allocations: 0 / 1.371 GB, free: 6.406 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.569e-05/1.824, allocations: 15.78 kB / 1.371 GB, free: 6.391 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.278e-05/1.824, allocations: 14.05 kB / 1.371 GB, free: 6.379 MB / 0.8073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 30 * 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 6.617e-05/1.824, allocations: 108.9 kB / 1.371 GB, free: 6.266 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.037e-05/1.824, allocations: 11.81 kB / 1.371 GB, free: 6.254 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006445/1.825, allocations: 366.4 kB / 1.371 GB, free: 5.961 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.31e-06/1.825, allocations: 4 kB / 1.371 GB, free: 5.957 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5e-06/1.825, allocations: 0 / 1.371 GB, free: 5.957 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.007e-06/1.825, allocations: 11.89 kB / 1.371 GB, free: 5.945 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001629/1.825, allocations: 216.2 kB / 1.371 GB, free: 5.719 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/1.825, allocations: 0 / 1.371 GB, free: 5.719 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002277/1.825, allocations: 59.89 kB / 1.371 GB, free: 5.66 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.088e-06/1.825, allocations: 3.984 kB / 1.371 GB, free: 5.656 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.046e-05/1.825, allocations: 11.75 kB / 1.371 GB, free: 5.648 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.424e-06/1.825, allocations: 0 / 1.371 GB, free: 5.648 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.897e-06/1.825, allocations: 11.94 kB / 1.371 GB, free: 5.637 MB / 0.8073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004923/1.826, allocations: 389.6 kB / 1.372 GB, free: 5.242 MB / 0.8073 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0005436/1.826, allocations: 0.7525 MB / 1.373 GB, free: 4.477 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 2.903e-05/1.826, allocations: 100.4 kB / 1.373 GB, free: 4.363 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.054e-05/1.826, allocations: 0 / 1.373 GB, free: 4.363 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.434e-05/1.826, allocations: 3.984 kB / 1.373 GB, free: 4.359 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.139e-05/1.826, allocations: 23.97 kB / 1.373 GB, free: 4.336 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.085e-05/1.826, allocations: 15.62 kB / 1.373 GB, free: 4.324 MB / 0.8073 GB Notification: Performance of sort global known variables: time 1.735e-05/1.826, allocations: 75.28 kB / 1.373 GB, free: 4.25 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.00108/1.828, allocations: 110.1 kB / 1.373 GB, free: 4.148 MB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (30): * Single equations (assignments): 30 * 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.000503/1.828, allocations: 225.8 kB / 1.373 GB, free: 3.938 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0003058/1.828, allocations: 237 kB / 1.373 GB, free: 3.754 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/1.828, allocations: 0 / 1.373 GB, free: 3.754 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.0001309/1.828, allocations: 133.5 kB / 1.373 GB, free: 3.648 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001148/1.829, allocations: 7.984 kB / 1.373 GB, free: 3.641 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004631/1.829, allocations: 293.9 kB / 1.374 GB, free: 3.344 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000353/1.829, allocations: 0.7581 MB / 1.374 GB, free: 18.55 MB / 0.823 GB Notification: Performance of SimCode: time 2.3e-07/1.829, allocations: 0 / 1.374 GB, free: 18.55 MB / 0.823 GB (rm -f Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_EpsilonNTUZ_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_EpsilonNTUZ.fmu > Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.pipe 2>&1)