Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatExchangers.Validation.EvaporatorCondenser.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.Validation.EvaporatorCondenser,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatExchangers_Validation_EvaporatorCondenser",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Validation.EvaporatorCondenser,fileNamePrefix="Buildings_9_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 9.1.1-maint.9.1.x/package.mo): time 2.143/2.143, allocations: 387.2 MB / 394.5 MB, free: 13.64 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.001437/0.001437, allocations: 192.4 kB / 487 MB, free: 5.336 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.563/1.563, allocations: 221.3 MB / 0.7819 GB, free: 1.355 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.001041/0.001041, allocations: 96.7 kB / 0.9213 GB, free: 2.602 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.6733/0.6743, allocations: 148.4 MB / 1.066 GB, free: 168.1 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3067/0.9811, allocations: 142.3 MB / 1.205 GB, free: 26.11 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.125/2.106, allocations: 439.1 MB / 1.634 GB, free: 0.6016 MB / 1.057 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003134/2.107, allocations: 86.11 kB / 1.634 GB, free: 0.5586 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.311/3.418, allocations: 296.2 MB / 1.923 GB, free: 212 MB / 1.135 GB Notification: Performance of prepare preOptimizeDAE: time 4.024e-05/3.418, allocations: 8 kB / 1.923 GB, free: 212 MB / 1.135 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002157/3.42, allocations: 298.7 kB / 1.924 GB, free: 211.7 MB / 1.135 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001537/3.422, allocations: 0.8616 MB / 1.925 GB, free: 210.8 MB / 1.135 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.305e-05/3.422, allocations: 23.98 kB / 1.925 GB, free: 210.8 MB / 1.135 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.7e-05/3.422, allocations: 39.91 kB / 1.925 GB, free: 210.8 MB / 1.135 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007192/3.423, allocations: 422.5 kB / 1.925 GB, free: 210.4 MB / 1.135 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008313/3.423, allocations: 0.6299 MB / 1.926 GB, free: 209.7 MB / 1.135 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.893e-05/3.424, allocations: 7.938 kB / 1.926 GB, free: 209.7 MB / 1.135 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.811e-05/3.424, allocations: 0 / 1.926 GB, free: 209.7 MB / 1.135 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.912e-05/3.424, allocations: 24 kB / 1.926 GB, free: 209.6 MB / 1.135 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004055/3.428, allocations: 4.015 MB / 1.93 GB, free: 205.4 MB / 1.135 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004134/3.428, allocations: 250.7 kB / 1.93 GB, free: 205.1 MB / 1.135 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001673/3.428, allocations: 116.8 kB / 1.93 GB, free: 205 MB / 1.135 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003851/3.429, allocations: 376.3 kB / 1.93 GB, free: 204.6 MB / 1.135 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.886e-05/3.429, allocations: 42.47 kB / 1.93 GB, free: 204.5 MB / 1.135 GB Notification: Performance of pre-optimization done (n=20): time 1.754e-06/3.429, allocations: 4 kB / 1.93 GB, free: 204.5 MB / 1.135 GB Notification: Performance of matching and sorting (n=20): time 0.0009126/3.43, allocations: 365.9 kB / 1.931 GB, free: 204.2 MB / 1.135 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.882e-05/3.43, allocations: 106.8 kB / 1.931 GB, free: 204 MB / 1.135 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004718/3.43, allocations: 490.2 kB / 1.931 GB, free: 203.6 MB / 1.135 GB Notification: Performance of collectPreVariables (initialization): time 3.625e-05/3.43, allocations: 25.7 kB / 1.931 GB, free: 203.5 MB / 1.135 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001414/3.43, allocations: 335.2 kB / 1.932 GB, free: 203.2 MB / 1.135 GB Notification: Performance of collectInitialBindings (initialization): time 5.495e-05/3.43, allocations: 70.94 kB / 1.932 GB, free: 203.1 MB / 1.135 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.282e-05/3.43, allocations: 0 / 1.932 GB, free: 203.1 MB / 1.135 GB Notification: Performance of setup shared object (initialization): time 8.706e-05/3.431, allocations: 366.8 kB / 1.932 GB, free: 202.8 MB / 1.135 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001717/3.431, allocations: 112.8 kB / 1.932 GB, free: 202.6 MB / 1.135 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002252/3.431, allocations: 279.1 kB / 1.932 GB, free: 202.3 MB / 1.135 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004926/3.431, allocations: 195.8 kB / 1.933 GB, free: 202.1 MB / 1.135 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/3.431, allocations: 0 / 1.933 GB, free: 202.1 MB / 1.135 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0009307/3.432, allocations: 0.4973 MB / 1.933 GB, free: 201.6 MB / 1.135 GB Notification: Performance of prepare postOptimizeDAE: time 1.407e-05/3.432, allocations: 8.531 kB / 1.933 GB, free: 201.6 MB / 1.135 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.744e-06/3.432, allocations: 8 kB / 1.933 GB, free: 201.6 MB / 1.135 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001936/3.433, allocations: 52.83 kB / 1.933 GB, free: 201.5 MB / 1.135 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007138/3.433, allocations: 135.8 kB / 1.933 GB, free: 201.4 MB / 1.135 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003775/3.434, allocations: 0.6342 MB / 1.934 GB, free: 200.7 MB / 1.135 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009266/3.435, allocations: 111.6 kB / 1.934 GB, free: 200.6 MB / 1.135 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.721e-05/3.435, allocations: 23.97 kB / 1.934 GB, free: 200.6 MB / 1.135 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.0001228/3.435, allocations: 120.8 kB / 1.934 GB, free: 200.5 MB / 1.135 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.736e-05/3.435, allocations: 55.34 kB / 1.934 GB, free: 200.4 MB / 1.135 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001094/3.436, allocations: 493.2 kB / 1.935 GB, free: 199.9 MB / 1.135 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.494e-06/3.436, allocations: 8.062 kB / 1.935 GB, free: 199.9 MB / 1.135 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/3.436, allocations: 4 kB / 1.935 GB, free: 199.9 MB / 1.135 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007144/3.437, allocations: 0.588 MB / 1.935 GB, free: 199.3 MB / 1.135 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001441/3.438, allocations: 0.9951 MB / 1.936 GB, free: 198.2 MB / 1.135 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.568e-06/3.438, allocations: 7.891 kB / 1.936 GB, free: 198.2 MB / 1.135 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005856/3.439, allocations: 79.94 kB / 1.936 GB, free: 198.1 MB / 1.135 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000132/3.439, allocations: 48.83 kB / 1.936 GB, free: 198.1 MB / 1.135 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.109e-05/3.439, allocations: 7.984 kB / 1.936 GB, free: 198.1 MB / 1.135 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003611/3.439, allocations: 0.6342 MB / 1.937 GB, free: 197.4 MB / 1.135 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.444e-06/3.439, allocations: 4.062 kB / 1.937 GB, free: 197.4 MB / 1.135 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0009802/3.44, allocations: 0.6661 MB / 1.938 GB, free: 196.7 MB / 1.135 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001296/3.442, allocations: 1.238 MB / 1.939 GB, free: 195.5 MB / 1.135 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002571/3.442, allocations: 208.2 kB / 1.939 GB, free: 195.2 MB / 1.135 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001024/3.442, allocations: 0 / 1.939 GB, free: 195.2 MB / 1.135 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007961/3.443, allocations: 60 kB / 1.939 GB, free: 195.2 MB / 1.135 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.947e-05/3.443, allocations: 19.97 kB / 1.939 GB, free: 195.2 MB / 1.135 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.855e-05/3.443, allocations: 23.97 kB / 1.939 GB, free: 195.1 MB / 1.135 GB Notification: Performance of sort global known variables: time 0.0003889/3.443, allocations: 370.9 kB / 1.939 GB, free: 194.8 MB / 1.135 GB Notification: Performance of remove unused functions: time 0.001757/3.445, allocations: 379.2 kB / 1.94 GB, free: 194.4 MB / 1.135 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.0008152/3.446, allocations: 470.2 kB / 1.94 GB, free: 194 MB / 1.135 GB Notification: Performance of simCode: created initialization part: time 0.0005827/3.447, allocations: 315.7 kB / 1.941 GB, free: 193.7 MB / 1.135 GB Notification: Performance of simCode: created event and clocks part: time 3.466e-06/3.447, allocations: 0 / 1.941 GB, free: 193.7 MB / 1.135 GB Notification: Performance of simCode: created simulation system equations: time 0.0002304/3.447, allocations: 147.7 kB / 1.941 GB, free: 193.5 MB / 1.135 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001312/3.448, allocations: 288.9 kB / 1.941 GB, free: 193.2 MB / 1.135 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00168/3.45, allocations: 0.8158 MB / 1.942 GB, free: 192.4 MB / 1.135 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005593/3.45, allocations: 1.018 MB / 1.943 GB, free: 191.3 MB / 1.135 GB Notification: Performance of SimCode: time 2.91e-07/3.45, allocations: 4 kB / 1.943 GB, free: 191.3 MB / 1.135 GB (rm -f Buildings_9_Buildings.Fluid.HeatExchangers.Validation.EvaporatorCondenser.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatExchangers.Validation.EvaporatorCondenser.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatExchangers.Validation.EvaporatorCondenser.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatExchangers.Validation.EvaporatorCondenser.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.HeatExchangers.Validation.EvaporatorCondenser_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_HeatExchangers_Validation_EvaporatorCondenser_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_HeatExchangers_Validation_EvaporatorCondenser.fmu > Buildings_9_Buildings.Fluid.HeatExchangers.Validation.EvaporatorCondenser.pipe 2>&1)