Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Validation.EvaporatorCondenser.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Validation.EvaporatorCondenser,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_HeatExchangers_Validation_EvaporatorCondenser",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Validation.EvaporatorCondenser,fileNamePrefix="Buildings_maint_8_0_x_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.1-maint.8.0.x/package.mo): time 1.445/1.445, allocations: 285.5 MB / 292.8 MB, free: 9.797 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.00107/0.001071, allocations: 173.3 kB / 361.1 MB, free: 404 kB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.264/1.264, allocations: 205.1 MB / 0.6195 GB, free: 2.883 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.0008918/0.0008918, allocations: 101.5 kB / 0.7326 GB, free: 1.113 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.473/0.4739, allocations: 121.4 MB / 0.8512 GB, free: 151.7 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.195/0.669, allocations: 115.3 MB / 0.9638 GB, free: 56.33 MB / 0.6355 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7535/1.423, allocations: 427.3 MB / 1.381 GB, free: 12.55 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002099/1.423, allocations: 90.34 kB / 1.381 GB, free: 12.51 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 0.9369/2.36, allocations: 290 MB / 1.664 GB, free: 134.9 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.763e-05/2.36, allocations: 8.5 kB / 1.664 GB, free: 134.9 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002426/2.362, allocations: 290.7 kB / 1.665 GB, free: 134.6 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002113/2.364, allocations: 0.8766 MB / 1.665 GB, free: 133.7 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.3e-05/2.364, allocations: 16 kB / 1.665 GB, free: 133.7 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001341/2.365, allocations: 36 kB / 1.665 GB, free: 133.7 MB / 0.9323 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008487/2.365, allocations: 426.5 kB / 1.666 GB, free: 133.3 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009964/2.366, allocations: 0.6337 MB / 1.666 GB, free: 132.6 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.995e-05/2.366, allocations: 3.938 kB / 1.666 GB, free: 132.6 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.028e-05/2.367, allocations: 8 kB / 1.666 GB, free: 132.6 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.166e-05/2.367, allocations: 19.98 kB / 1.667 GB, free: 132.5 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00467/2.371, allocations: 3.99 MB / 1.67 GB, free: 128.3 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003909/2.372, allocations: 254.7 kB / 1.671 GB, free: 128.1 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001592/2.372, allocations: 112.8 kB / 1.671 GB, free: 128 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003737/2.372, allocations: 376.3 kB / 1.671 GB, free: 127.5 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.194e-05/2.372, allocations: 34.56 kB / 1.671 GB, free: 127.5 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=20): time 2.044e-06/2.372, allocations: 4 kB / 1.671 GB, free: 127.5 MB / 0.9323 GB Notification: Performance of matching and sorting (n=20): time 0.0009641/2.373, allocations: 369.8 kB / 1.672 GB, free: 127.1 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.854e-05/2.373, allocations: 106.8 kB / 1.672 GB, free: 127 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005088/2.374, allocations: 490.3 kB / 1.672 GB, free: 126.5 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 5.135e-05/2.374, allocations: 29.7 kB / 1.672 GB, free: 126.5 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001268/2.374, allocations: 331.1 kB / 1.672 GB, free: 126.1 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 6.618e-05/2.374, allocations: 78.94 kB / 1.673 GB, free: 126.1 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.216e-05/2.374, allocations: 0 / 1.673 GB, free: 126.1 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 7.363e-05/2.374, allocations: 362.7 kB / 1.673 GB, free: 125.7 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001795/2.374, allocations: 116.8 kB / 1.673 GB, free: 125.6 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002129/2.375, allocations: 271.1 kB / 1.673 GB, free: 125.2 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005045/2.375, allocations: 204.3 kB / 1.673 GB, free: 125 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/2.375, allocations: 4 kB / 1.673 GB, free: 125 MB / 0.9323 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0009671/2.376, allocations: 0.4898 MB / 1.674 GB, free: 124.5 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.341e-05/2.376, allocations: 4 kB / 1.674 GB, free: 124.5 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.957e-06/2.376, allocations: 8 kB / 1.674 GB, free: 124.5 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001857/2.376, allocations: 64.67 kB / 1.674 GB, free: 124.5 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007034/2.377, allocations: 132.2 kB / 1.674 GB, free: 124.3 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003685/2.377, allocations: 0.642 MB / 1.675 GB, free: 123.7 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009027/2.378, allocations: 99.58 kB / 1.675 GB, free: 123.6 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.079e-05/2.378, allocations: 31.97 kB / 1.675 GB, free: 123.5 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.0001154/2.378, allocations: 120.5 kB / 1.675 GB, free: 123.4 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001077/2.379, allocations: 59.25 kB / 1.675 GB, free: 123.4 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001013/2.38, allocations: 486.8 kB / 1.675 GB, free: 122.9 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.704e-06/2.38, allocations: 4.125 kB / 1.675 GB, free: 122.9 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.951e-06/2.38, allocations: 11.91 kB / 1.675 GB, free: 122.9 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007087/2.38, allocations: 0.5807 MB / 1.676 GB, free: 122.2 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001388/2.382, allocations: 1.005 MB / 1.677 GB, free: 121.2 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-06/2.382, allocations: 4 kB / 1.677 GB, free: 121.1 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005767/2.382, allocations: 75.94 kB / 1.677 GB, free: 121.1 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000126/2.383, allocations: 48.83 kB / 1.677 GB, free: 121 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.011e-05/2.383, allocations: 11.98 kB / 1.677 GB, free: 121 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003119/2.383, allocations: 0.6342 MB / 1.678 GB, free: 120.4 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/2.383, allocations: 0 / 1.678 GB, free: 120.4 MB / 0.9323 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0009802/2.384, allocations: 0.66 MB / 1.678 GB, free: 119.7 MB / 0.9323 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001267/2.385, allocations: 1.235 MB / 1.68 GB, free: 118.4 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000268/2.385, allocations: 200.2 kB / 1.68 GB, free: 118.2 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000116/2.386, allocations: 4.125 kB / 1.68 GB, free: 118.2 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008135/2.386, allocations: 75.84 kB / 1.68 GB, free: 118.1 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.395e-05/2.386, allocations: 15.89 kB / 1.68 GB, free: 118.1 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.634e-05/2.386, allocations: 19.97 kB / 1.68 GB, free: 118.1 MB / 0.9323 GB Notification: Performance of sort global known variables: time 0.000329/2.387, allocations: 370.9 kB / 1.68 GB, free: 117.7 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.001697/2.389, allocations: 371.4 kB / 1.681 GB, free: 117.4 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.0008881/2.389, allocations: 473.4 kB / 1.681 GB, free: 116.9 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.0005313/2.39, allocations: 320.5 kB / 1.681 GB, free: 116.6 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/2.39, allocations: 0 / 1.681 GB, free: 116.6 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0002334/2.39, allocations: 152 kB / 1.682 GB, free: 116.5 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001401/2.392, allocations: 290.9 kB / 1.682 GB, free: 116.2 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001758/2.393, allocations: 0.804 MB / 1.683 GB, free: 115.3 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005874/2.394, allocations: 1.022 MB / 1.684 GB, free: 114.3 MB / 0.9323 GB Notification: Performance of SimCode: time 2.5e-07/2.394, allocations: 0 / 1.684 GB, free: 114.3 MB / 0.9323 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Validation.EvaporatorCondenser.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Validation.EvaporatorCondenser.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Validation.EvaporatorCondenser.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Validation.EvaporatorCondenser.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_HeatExchangers_Validation_EvaporatorCondenser_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_HeatExchangers_Validation_EvaporatorCondenser.fmu > Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Validation.EvaporatorCondenser.pipe 2>&1)