Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Validation.EvaporatorCondenser.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Fluid.HeatExchangers.Validation.EvaporatorCondenser,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_HeatExchangers_Validation_EvaporatorCondenser",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.HeatExchangers.Validation.EvaporatorCondenser,fileNamePrefix="BuildingSystems_BuildingSystems_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/BuildingSystems 2.0.0-master/package.mo): time 0.7365/0.7365, allocations: 141.8 MB / 149.1 MB, free: 2.309 MB / 122.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001067/0.001067, allocations: 193.2 kB / 181.9 MB, free: 1.852 MB / 154.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.277/1.277, allocations: 221.4 MB / 436 MB, free: 6.574 MB / 330.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008967/0.0008967, allocations: 104 kB / 0.507 GB, free: 3.25 MB / 410.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001651/0.001652, allocations: 286.1 kB / 0.5885 GB, free: 48.23 MB / 410.9 MB Notification: Performance of FrontEnd - loaded program: time 0.1735/0.1752, allocations: 89.62 MB / 0.676 GB, free: 6.523 MB / 458.9 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3558/0.531, allocations: 82.77 MB / 0.7568 GB, free: 25.64 MB / 458.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6332/1.164, allocations: 398.4 MB / 1.146 GB, free: 3.156 MB / 0.6982 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000219/1.165, allocations: 89.62 kB / 1.146 GB, free: 3.113 MB / 0.6982 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.115/2.28, allocations: 295.2 MB / 1.434 GB, free: 166.2 MB / 0.6982 GB Notification: Performance of prepare preOptimizeDAE: time 4.012e-05/2.28, allocations: 11.91 kB / 1.434 GB, free: 166.2 MB / 0.6982 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002018/2.282, allocations: 294.1 kB / 1.435 GB, free: 166.2 MB / 0.6982 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001548/2.284, allocations: 0.8568 MB / 1.435 GB, free: 165.9 MB / 0.6982 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.656e-05/2.284, allocations: 32.77 kB / 1.435 GB, free: 165.9 MB / 0.6982 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.337e-05/2.284, allocations: 38.22 kB / 1.435 GB, free: 165.9 MB / 0.6982 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008044/2.285, allocations: 426.5 kB / 1.436 GB, free: 165.9 MB / 0.6982 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009179/2.286, allocations: 0.6213 MB / 1.436 GB, free: 165.7 MB / 0.6982 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.953e-05/2.286, allocations: 11.02 kB / 1.436 GB, free: 165.7 MB / 0.6982 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.02e-05/2.286, allocations: 0 / 1.436 GB, free: 165.7 MB / 0.6982 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.069e-05/2.286, allocations: 25.44 kB / 1.436 GB, free: 165.7 MB / 0.6982 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004274/2.29, allocations: 4.009 MB / 1.44 GB, free: 163.2 MB / 0.6982 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004006/2.29, allocations: 251.7 kB / 1.441 GB, free: 163.2 MB / 0.6982 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000178/2.291, allocations: 118 kB / 1.441 GB, free: 163.2 MB / 0.6982 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003857/2.291, allocations: 377.2 kB / 1.441 GB, free: 162.8 MB / 0.6982 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.914e-05/2.291, allocations: 44.47 kB / 1.441 GB, free: 162.8 MB / 0.6982 GB Notification: Performance of pre-optimization done (n=20): time 1.934e-06/2.291, allocations: 2.812 kB / 1.441 GB, free: 162.8 MB / 0.6982 GB Notification: Performance of matching and sorting (n=20): time 0.0009399/2.292, allocations: 364.6 kB / 1.442 GB, free: 162.7 MB / 0.6982 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.268e-05/2.292, allocations: 105.6 kB / 1.442 GB, free: 162.6 MB / 0.6982 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004978/2.292, allocations: 488.6 kB / 1.442 GB, free: 162.5 MB / 0.6982 GB Notification: Performance of collectPreVariables (initialization): time 3.97e-05/2.293, allocations: 28.94 kB / 1.442 GB, free: 162.4 MB / 0.6982 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001545/2.293, allocations: 330.9 kB / 1.442 GB, free: 162.3 MB / 0.6982 GB Notification: Performance of collectInitialBindings (initialization): time 6.023e-05/2.293, allocations: 75.59 kB / 1.442 GB, free: 162.2 MB / 0.6982 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.313e-05/2.293, allocations: 0 / 1.442 GB, free: 162.2 MB / 0.6982 GB Notification: Performance of setup shared object (initialization): time 9.03e-05/2.293, allocations: 361.7 kB / 1.443 GB, free: 161.9 MB / 0.6982 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001734/2.293, allocations: 120.1 kB / 1.443 GB, free: 161.9 MB / 0.6982 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002257/2.293, allocations: 271.4 kB / 1.443 GB, free: 161.7 MB / 0.6982 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004714/2.294, allocations: 199.2 kB / 1.443 GB, free: 161.7 MB / 0.6982 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/2.294, allocations: 0 / 1.443 GB, free: 161.7 MB / 0.6982 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0009576/2.295, allocations: 0.4975 MB / 1.444 GB, free: 161.7 MB / 0.6982 GB Notification: Performance of prepare postOptimizeDAE: time 1.465e-05/2.295, allocations: 6.188 kB / 1.444 GB, free: 161.7 MB / 0.6982 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.075e-05/2.295, allocations: 6.906 kB / 1.444 GB, free: 161.7 MB / 0.6982 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002029/2.295, allocations: 64.41 kB / 1.444 GB, free: 161.6 MB / 0.6982 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007076/2.296, allocations: 133.2 kB / 1.444 GB, free: 161.6 MB / 0.6982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000377/2.296, allocations: 0.6414 MB / 1.445 GB, free: 161.1 MB / 0.6982 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000894/2.297, allocations: 102.7 kB / 1.445 GB, free: 161.1 MB / 0.6982 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.642e-05/2.297, allocations: 28.39 kB / 1.445 GB, free: 161.1 MB / 0.6982 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.0001184/2.297, allocations: 117.5 kB / 1.445 GB, free: 161 MB / 0.6982 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001024/2.297, allocations: 64.36 kB / 1.445 GB, free: 161 MB / 0.6982 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001054/2.298, allocations: 484.8 kB / 1.445 GB, free: 160.9 MB / 0.6982 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.504e-06/2.298, allocations: 3.969 kB / 1.445 GB, free: 160.9 MB / 0.6982 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/2.298, allocations: 5.5 kB / 1.445 GB, free: 160.9 MB / 0.6982 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007582/2.299, allocations: 0.5773 MB / 1.446 GB, free: 160.6 MB / 0.6982 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001468/2.301, allocations: 1.006 MB / 1.447 GB, free: 160.3 MB / 0.6982 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.986e-06/2.301, allocations: 0 / 1.447 GB, free: 160.3 MB / 0.6982 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005787/2.301, allocations: 87.39 kB / 1.447 GB, free: 160.3 MB / 0.6982 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001341/2.301, allocations: 50.03 kB / 1.447 GB, free: 160.3 MB / 0.6982 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.101e-05/2.301, allocations: 14.3 kB / 1.447 GB, free: 160.3 MB / 0.6982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003515/2.302, allocations: 0.6304 MB / 1.448 GB, free: 159.7 MB / 0.6982 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.434e-06/2.302, allocations: 0 / 1.448 GB, free: 159.7 MB / 0.6982 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001004/2.303, allocations: 0.6698 MB / 1.448 GB, free: 159.5 MB / 0.6982 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001307/2.304, allocations: 1.226 MB / 1.45 GB, free: 159 MB / 0.6982 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002803/2.304, allocations: 205.5 kB / 1.45 GB, free: 158.8 MB / 0.6982 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000106/2.305, allocations: 3.406 kB / 1.45 GB, free: 158.8 MB / 0.6982 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000816/2.305, allocations: 70.83 kB / 1.45 GB, free: 158.8 MB / 0.6982 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.828e-05/2.305, allocations: 14.53 kB / 1.45 GB, free: 158.8 MB / 0.6982 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.966e-05/2.305, allocations: 26.23 kB / 1.45 GB, free: 158.8 MB / 0.6982 GB Notification: Performance of sort global known variables: time 0.0004071/2.306, allocations: 368.1 kB / 1.45 GB, free: 158.8 MB / 0.6982 GB Notification: Performance of remove unused functions: time 0.001805/2.308, allocations: 380.3 kB / 1.451 GB, free: 158.7 MB / 0.6982 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.0008673/2.309, allocations: 473.3 kB / 1.451 GB, free: 158.6 MB / 0.6982 GB Notification: Performance of simCode: created initialization part: time 0.0006288/2.309, allocations: 317.7 kB / 1.451 GB, free: 158.6 MB / 0.6982 GB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/2.309, allocations: 0 / 1.451 GB, free: 158.6 MB / 0.6982 GB Notification: Performance of simCode: created simulation system equations: time 0.0002388/2.309, allocations: 144.4 kB / 1.452 GB, free: 158.6 MB / 0.6982 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001328/2.311, allocations: 286.9 kB / 1.452 GB, free: 158.6 MB / 0.6982 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001571/2.312, allocations: 0.8122 MB / 1.453 GB, free: 158.4 MB / 0.6982 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005149/2.313, allocations: 1.025 MB / 1.454 GB, free: 157.7 MB / 0.6982 GB Notification: Performance of SimCode: time 3.3e-07/2.313, allocations: 0 / 1.454 GB, free: 157.7 MB / 0.6982 GB (rm -f BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Validation.EvaporatorCondenser.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Validation.EvaporatorCondenser.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Validation.EvaporatorCondenser.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Validation.EvaporatorCondenser.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_HeatExchangers_Validation_EvaporatorCondenser_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_HeatExchangers_Validation_EvaporatorCondenser.fmu > BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Validation.EvaporatorCondenser.pipe 2>&1)