Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.EvaporatorCondenser.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Validation.EvaporatorCondenser,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatExchangers_Validation_EvaporatorCondenser",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Validation.EvaporatorCondenser,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatExchangers_Validation_EvaporatorCondenser",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 10.0.0-master/package.mo): time 2.376/2.376, allocations: 390.4 MB / 397.7 MB, free: 11.24 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.001875/0.001875, allocations: 181.3 kB / 490.8 MB, free: 1.895 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.812/1.812, allocations: 221.4 MB / 0.7863 GB, free: 13.7 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001127/0.001127, allocations: 90.69 kB / 0.9264 GB, free: 14.23 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 0.7804/0.7816, allocations: 149.1 MB / 1.072 GB, free: 182.5 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3327/1.114, allocations: 143 MB / 1.212 GB, free: 40 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.248/2.363, allocations: 439.9 MB / 1.641 GB, free: 8.133 MB / 1.057 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002718/2.363, allocations: 86.33 kB / 1.641 GB, free: 8.09 MB / 1.057 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 145 * Number of variables: 145 Notification: Performance of Generate backend data structure: time 1.496/3.859, allocations: 296.2 MB / 1.931 GB, free: 266.6 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 6.453e-05/3.859, allocations: 11.94 kB / 1.931 GB, free: 266.6 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002708/3.862, allocations: 294.6 kB / 1.931 GB, free: 266.3 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002428/3.864, allocations: 0.873 MB / 1.932 GB, free: 265.4 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.838e-05/3.864, allocations: 16 kB / 1.932 GB, free: 265.4 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001578/3.865, allocations: 36 kB / 1.932 GB, free: 265.3 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009989/3.866, allocations: 422.4 kB / 1.932 GB, free: 264.9 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001079/3.867, allocations: 0.6297 MB / 1.933 GB, free: 264.2 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.354e-05/3.867, allocations: 7.938 kB / 1.933 GB, free: 264.2 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.842e-05/3.867, allocations: 0 / 1.933 GB, free: 264.2 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.549e-05/3.867, allocations: 20 kB / 1.933 GB, free: 264.2 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005263/3.872, allocations: 4.002 MB / 1.937 GB, free: 260 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004483/3.873, allocations: 246.8 kB / 1.937 GB, free: 259.7 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002068/3.873, allocations: 120.8 kB / 1.937 GB, free: 259.6 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004236/3.873, allocations: 374.6 kB / 1.937 GB, free: 259.2 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.679e-05/3.873, allocations: 46.44 kB / 1.937 GB, free: 259.1 MB / 1.151 GB Notification: Performance of pre-optimization done (n=20): time 4.509e-06/3.873, allocations: 0 / 1.937 GB, free: 259.1 MB / 1.151 GB Notification: Performance of matching and sorting (n=20): time 0.00112/3.875, allocations: 376.4 kB / 1.938 GB, free: 258.7 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.239e-05/3.875, allocations: 106.8 kB / 1.938 GB, free: 258.6 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006278/3.875, allocations: 486.3 kB / 1.938 GB, free: 258.1 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 6.207e-05/3.875, allocations: 25.7 kB / 1.938 GB, free: 258.1 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001715/3.875, allocations: 335.1 kB / 1.939 GB, free: 257.8 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 7.609e-05/3.876, allocations: 71 kB / 1.939 GB, free: 257.7 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.39e-05/3.876, allocations: 0 / 1.939 GB, free: 257.7 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001045/3.876, allocations: 362.8 kB / 1.939 GB, free: 257.3 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001877/3.876, allocations: 112.8 kB / 1.939 GB, free: 257.2 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002423/3.876, allocations: 279.6 kB / 1.94 GB, free: 256.9 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005508/3.877, allocations: 199.7 kB / 1.94 GB, free: 256.7 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.558e-06/3.877, allocations: 4 kB / 1.94 GB, free: 256.7 MB / 1.151 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001116/3.878, allocations: 0.5012 MB / 1.94 GB, free: 256.2 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.655e-05/3.878, allocations: 8 kB / 1.94 GB, free: 256.2 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.548e-06/3.878, allocations: 4 kB / 1.94 GB, free: 256.2 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002189/3.878, allocations: 53.36 kB / 1.94 GB, free: 256.1 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007304/3.879, allocations: 135.8 kB / 1.94 GB, free: 256 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004535/3.879, allocations: 0.6381 MB / 1.941 GB, free: 255.3 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001063/3.88, allocations: 111.6 kB / 1.941 GB, free: 255.2 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.465e-05/3.88, allocations: 23.97 kB / 1.941 GB, free: 255.2 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (42): * Single equations (assignments): 41 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 5} Notification: Performance of prepare postOptimizeDAE: time 0.0001583/3.881, allocations: 120.8 kB / 1.941 GB, free: 255.1 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001547/3.881, allocations: 59.25 kB / 1.941 GB, free: 255 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001207/3.882, allocations: 488.8 kB / 1.942 GB, free: 254.5 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.628e-06/3.882, allocations: 4 kB / 1.942 GB, free: 254.5 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.172e-06/3.882, allocations: 0 / 1.942 GB, free: 254.5 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007817/3.883, allocations: 0.5787 MB / 1.942 GB, free: 253.9 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001815/3.885, allocations: 1.002 MB / 1.943 GB, free: 252.8 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.107e-06/3.885, allocations: 0 / 1.943 GB, free: 252.8 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006019/3.885, allocations: 79.94 kB / 1.943 GB, free: 252.7 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001512/3.885, allocations: 60.89 kB / 1.943 GB, free: 252.7 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.418e-05/3.885, allocations: 7.984 kB / 1.943 GB, free: 252.7 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003719/3.886, allocations: 0.6304 MB / 1.944 GB, free: 252 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.13e-06/3.886, allocations: 3.906 kB / 1.944 GB, free: 252 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001129/3.887, allocations: 0.666 MB / 1.945 GB, free: 251.3 MB / 1.151 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001483/3.889, allocations: 1.238 MB / 1.946 GB, free: 250 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004099/3.889, allocations: 200.3 kB / 1.946 GB, free: 249.8 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000157/3.889, allocations: 0 / 1.946 GB, free: 249.8 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009041/3.89, allocations: 67.89 kB / 1.946 GB, free: 249.8 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.631e-05/3.89, allocations: 15.97 kB / 1.946 GB, free: 249.7 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.605e-05/3.89, allocations: 23.97 kB / 1.946 GB, free: 249.7 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.0004759/3.891, allocations: 382.8 kB / 1.947 GB, free: 249.4 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.002117/3.893, allocations: 379.1 kB / 1.947 GB, free: 249 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (senTem.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.001344/3.894, allocations: 459.7 kB / 1.947 GB, free: 248.6 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0007546/3.895, allocations: 320.5 kB / 1.948 GB, free: 248.2 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 6.071e-06/3.895, allocations: 4 kB / 1.948 GB, free: 248.2 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0002838/3.895, allocations: 147.7 kB / 1.948 GB, free: 248.1 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001537/3.897, allocations: 299.2 kB / 1.948 GB, free: 247.8 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002115/3.899, allocations: 0.8083 MB / 1.949 GB, free: 247 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007421/3.9, allocations: 1.014 MB / 1.95 GB, free: 245.9 MB / 1.151 GB Notification: Performance of SimCode: time 7.61e-07/3.9, allocations: 0 / 1.95 GB, free: 245.9 MB / 1.151 GB (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.EvaporatorCondenser.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.EvaporatorCondenser.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.EvaporatorCondenser.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.EvaporatorCondenser.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.EvaporatorCondenser_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_HeatExchangers_Validation_EvaporatorCondenser_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_HeatExchangers_Validation_EvaporatorCondenser.fmu > Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.EvaporatorCondenser.pipe 2>&1)