Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Validation.EvaporatorCondenser.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.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 Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Validation.EvaporatorCondenser,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_HeatExchangers_Validation_EvaporatorCondenser",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Validation.EvaporatorCondenser,fileNamePrefix="Buildings_8_0_0_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 8.0.0/package.mo): time 2.425/2.425, allocations: 284.8 MB / 292.1 MB, free: 9.844 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001585/0.001584, allocations: 190.5 kB / 360.3 MB, free: 0.8008 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.802/1.802, allocations: 205.1 MB / 0.6187 GB, free: 3.238 MB / 442.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001284/0.001283, allocations: 92.89 kB / 0.7317 GB, free: 1.781 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.6184/0.6197, allocations: 121.4 MB / 0.8502 GB, free: 150.2 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2365/0.8562, allocations: 115.2 MB / 0.9628 GB, free: 56.97 MB / 0.6355 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.042/1.898, allocations: 427.1 MB / 1.38 GB, free: 14.21 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003143/1.899, allocations: 91.02 kB / 1.38 GB, free: 14.17 MB / 0.8855 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.453/3.352, allocations: 289.9 MB / 1.663 GB, free: 135.8 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.341e-05/3.352, allocations: 12.5 kB / 1.663 GB, free: 135.7 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004029/3.356, allocations: 298.6 kB / 1.663 GB, free: 135.4 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002874/3.359, allocations: 0.8584 MB / 1.664 GB, free: 134.6 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.442e-05/3.359, allocations: 16 kB / 1.664 GB, free: 134.5 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001219/3.359, allocations: 39.94 kB / 1.664 GB, free: 134.5 MB / 0.9323 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001342/3.36, allocations: 418.5 kB / 1.665 GB, free: 134.1 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001441/3.362, allocations: 0.6338 MB / 1.665 GB, free: 133.4 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.573e-05/3.362, allocations: 7.938 kB / 1.665 GB, free: 133.4 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001009/3.362, allocations: 0 / 1.665 GB, free: 133.4 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.985e-05/3.362, allocations: 23.92 kB / 1.665 GB, free: 133.4 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007594/3.37, allocations: 4.008 MB / 1.669 GB, free: 129.1 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008226/3.371, allocations: 253.1 kB / 1.669 GB, free: 128.9 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000359/3.371, allocations: 116.8 kB / 1.67 GB, free: 128.8 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006243/3.372, allocations: 372.4 kB / 1.67 GB, free: 128.3 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.694e-05/3.372, allocations: 38.5 kB / 1.67 GB, free: 128.3 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=20): time 2.966e-06/3.372, allocations: 0 / 1.67 GB, free: 128.3 MB / 0.9323 GB Notification: Performance of matching and sorting (n=20): time 0.00157/3.373, allocations: 373.9 kB / 1.67 GB, free: 127.9 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.993e-05/3.373, allocations: 118.8 kB / 1.67 GB, free: 127.8 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000891/3.374, allocations: 486.3 kB / 1.671 GB, free: 127.3 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 6.873e-05/3.374, allocations: 25.7 kB / 1.671 GB, free: 127.3 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001962/3.375, allocations: 327.2 kB / 1.671 GB, free: 126.9 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 8.728e-05/3.375, allocations: 74.94 kB / 1.671 GB, free: 126.9 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.648e-05/3.375, allocations: 0 / 1.671 GB, free: 126.9 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001104/3.375, allocations: 366.7 kB / 1.672 GB, free: 126.5 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003202/3.375, allocations: 116.8 kB / 1.672 GB, free: 126.4 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004105/3.376, allocations: 275.1 kB / 1.672 GB, free: 126 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008224/3.376, allocations: 196.3 kB / 1.672 GB, free: 125.9 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.648e-06/3.376, allocations: 4 kB / 1.672 GB, free: 125.8 MB / 0.9323 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001717/3.378, allocations: 0.5001 MB / 1.673 GB, free: 125.3 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.756e-05/3.378, allocations: 8 kB / 1.673 GB, free: 125.3 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.17e-05/3.378, allocations: 4 kB / 1.673 GB, free: 125.3 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002937/3.379, allocations: 61.33 kB / 1.673 GB, free: 125.3 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001377/3.38, allocations: 135.8 kB / 1.673 GB, free: 125.1 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006234/3.381, allocations: 0.6381 MB / 1.674 GB, free: 124.5 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001787/3.382, allocations: 111.5 kB / 1.674 GB, free: 124.4 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.763e-05/3.382, allocations: 24.05 kB / 1.674 GB, free: 124.3 MB / 0.9323 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.0002031/3.383, allocations: 120.6 kB / 1.674 GB, free: 124.2 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001577/3.383, allocations: 59.25 kB / 1.674 GB, free: 124.2 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001875/3.385, allocations: 483.5 kB / 1.674 GB, free: 123.7 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.119e-05/3.385, allocations: 11.98 kB / 1.674 GB, free: 123.7 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.533e-06/3.385, allocations: 3.906 kB / 1.674 GB, free: 123.6 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001212/3.386, allocations: 0.5739 MB / 1.675 GB, free: 123 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002473/3.388, allocations: 1.008 MB / 1.676 GB, free: 121.9 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.551e-06/3.389, allocations: 0 / 1.676 GB, free: 121.9 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001126/3.39, allocations: 75.94 kB / 1.676 GB, free: 121.9 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002269/3.39, allocations: 60.77 kB / 1.676 GB, free: 121.8 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.491e-05/3.39, allocations: 11.97 kB / 1.676 GB, free: 121.8 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005407/3.391, allocations: 0.6304 MB / 1.677 GB, free: 121.1 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.577e-06/3.391, allocations: 0 / 1.677 GB, free: 121.1 MB / 0.9323 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001784/3.392, allocations: 0.6639 MB / 1.677 GB, free: 120.5 MB / 0.9323 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.00229/3.395, allocations: 1.233 MB / 1.678 GB, free: 119.2 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005196/3.395, allocations: 200.2 kB / 1.679 GB, free: 119 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001572/3.395, allocations: 0 / 1.679 GB, free: 119 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001563/3.397, allocations: 67.92 kB / 1.679 GB, free: 118.9 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.33e-05/3.397, allocations: 19.89 kB / 1.679 GB, free: 118.9 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.067e-05/3.397, allocations: 23.95 kB / 1.679 GB, free: 118.9 MB / 0.9323 GB Notification: Performance of sort global known variables: time 0.0006739/3.398, allocations: 374.9 kB / 1.679 GB, free: 118.5 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.002743/3.401, allocations: 367 kB / 1.679 GB, free: 118.1 MB / 0.9323 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.001476/3.402, allocations: 467.7 kB / 1.68 GB, free: 117.7 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.001035/3.403, allocations: 324.5 kB / 1.68 GB, free: 117.4 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 4.709e-06/3.403, allocations: 0 / 1.68 GB, free: 117.4 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0004041/3.404, allocations: 143.9 kB / 1.68 GB, free: 117.3 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002872/3.406, allocations: 293.8 kB / 1.681 GB, free: 117 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002596/3.409, allocations: 0.8059 MB / 1.681 GB, free: 116.1 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008807/3.41, allocations: 1.022 MB / 1.682 GB, free: 115.1 MB / 0.9323 GB Notification: Performance of SimCode: time 1.613e-06/3.41, allocations: 0 / 1.682 GB, free: 115.1 MB / 0.9323 GB (rm -f Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Validation.EvaporatorCondenser.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Validation.EvaporatorCondenser.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Validation.EvaporatorCondenser.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Validation.EvaporatorCondenser.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_HeatExchangers_Validation_EvaporatorCondenser_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_HeatExchangers_Validation_EvaporatorCondenser.fmu > Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Validation.EvaporatorCondenser.pipe 2>&1)