Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Validation.EvaporatorCondenser.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Validation.EvaporatorCondenser,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_Validation_EvaporatorCondenser",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Validation.EvaporatorCondenser,fileNamePrefix="Buildings_maint_7_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 7.0.3-maint.7.0.x/package.mo): time 1.266/1.266, allocations: 249.4 MB / 256.7 MB, free: 7.062 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001169/0.001169, allocations: 180.4 kB / 316 MB, free: 3.562 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.218/1.218, allocations: 205.1 MB / 0.5667 GB, free: 15.62 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000996/0.000996, allocations: 80.53 kB / 0.671 GB, free: 4.758 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3525/0.3535, allocations: 112.5 MB / 0.7808 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1847/0.5382, allocations: 106.3 MB / 0.8846 GB, free: 12.57 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.072/1.61, allocations: 420.6 MB / 1.295 GB, free: 324.7 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002139/1.61, allocations: 93.16 kB / 1.295 GB, free: 324.7 MB / 0.8698 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.4858/2.096, allocations: 282.7 MB / 1.572 GB, free: 40.93 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.657e-05/2.096, allocations: 8 kB / 1.572 GB, free: 40.92 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002177/2.098, allocations: 298.6 kB / 1.572 GB, free: 40.63 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001642/2.1, allocations: 0.8585 MB / 1.573 GB, free: 39.73 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.578e-05/2.1, allocations: 19.98 kB / 1.573 GB, free: 39.71 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.909e-05/2.1, allocations: 36 kB / 1.573 GB, free: 39.67 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000769/2.101, allocations: 422.5 kB / 1.573 GB, free: 39.26 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008545/2.102, allocations: 0.6245 MB / 1.574 GB, free: 38.58 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.781e-05/2.102, allocations: 0 / 1.574 GB, free: 38.58 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.647e-05/2.102, allocations: 4 kB / 1.574 GB, free: 38.57 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.448e-05/2.102, allocations: 16 kB / 1.574 GB, free: 38.56 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004078/2.106, allocations: 4.003 MB / 1.578 GB, free: 34.31 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003946/2.106, allocations: 250.7 kB / 1.578 GB, free: 34.06 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001641/2.107, allocations: 124.8 kB / 1.578 GB, free: 33.93 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003623/2.107, allocations: 368.4 kB / 1.578 GB, free: 33.5 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.748e-05/2.107, allocations: 34.56 kB / 1.578 GB, free: 33.46 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=20): time 1.864e-06/2.107, allocations: 0 / 1.578 GB, free: 33.46 MB / 0.8698 GB Notification: Performance of matching and sorting (n=20): time 0.0008949/2.108, allocations: 365.9 kB / 1.579 GB, free: 33.09 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.177e-05/2.108, allocations: 110.8 kB / 1.579 GB, free: 32.96 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004859/2.108, allocations: 490.3 kB / 1.579 GB, free: 32.47 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 4.338e-05/2.108, allocations: 29.7 kB / 1.579 GB, free: 32.44 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001507/2.109, allocations: 331.1 kB / 1.58 GB, free: 32.11 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 5.904e-05/2.109, allocations: 78.94 kB / 1.58 GB, free: 32.03 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.385e-05/2.109, allocations: 0 / 1.58 GB, free: 32.03 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 7.376e-05/2.109, allocations: 362.8 kB / 1.58 GB, free: 31.66 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001745/2.109, allocations: 120.8 kB / 1.58 GB, free: 31.55 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002198/2.109, allocations: 267.2 kB / 1.58 GB, free: 31.21 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004811/2.11, allocations: 195.8 kB / 1.581 GB, free: 31.02 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.397e-06/2.11, allocations: 0 / 1.581 GB, free: 31.02 MB / 0.8698 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0009434/2.111, allocations: 0.5096 MB / 1.581 GB, free: 30.5 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.212e-05/2.111, allocations: 7.906 kB / 1.581 GB, free: 30.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.847e-06/2.111, allocations: 7.984 kB / 1.581 GB, free: 30.49 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001821/2.111, allocations: 56.83 kB / 1.581 GB, free: 30.43 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006794/2.112, allocations: 135.8 kB / 1.581 GB, free: 30.3 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003719/2.112, allocations: 0.6304 MB / 1.582 GB, free: 29.64 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009108/2.113, allocations: 103.6 kB / 1.582 GB, free: 29.54 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.872e-05/2.113, allocations: 28.03 kB / 1.582 GB, free: 29.51 MB / 0.8698 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.0001143/2.113, allocations: 127 kB / 1.582 GB, free: 29.38 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001021/2.113, allocations: 59.38 kB / 1.582 GB, free: 29.32 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001007/2.114, allocations: 481.7 kB / 1.583 GB, free: 28.84 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.924e-06/2.114, allocations: 7.906 kB / 1.583 GB, free: 28.84 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.92e-06/2.114, allocations: 0 / 1.583 GB, free: 28.84 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006999/2.115, allocations: 0.5856 MB / 1.583 GB, free: 28.18 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00141/2.116, allocations: 0.9995 MB / 1.584 GB, free: 27.13 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.494e-06/2.116, allocations: 0 / 1.584 GB, free: 27.13 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005658/2.117, allocations: 83.88 kB / 1.584 GB, free: 27.05 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001238/2.117, allocations: 48.83 kB / 1.584 GB, free: 27 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.844e-05/2.117, allocations: 11.97 kB / 1.584 GB, free: 26.99 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003135/2.117, allocations: 0.6344 MB / 1.585 GB, free: 26.33 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/2.117, allocations: 0 / 1.585 GB, free: 26.33 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0009621/2.118, allocations: 0.6635 MB / 1.586 GB, free: 25.64 MB / 0.8698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001288/2.12, allocations: 1.233 MB / 1.587 GB, free: 24.37 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002716/2.12, allocations: 196.3 kB / 1.587 GB, free: 24.16 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001228/2.12, allocations: 7.922 kB / 1.587 GB, free: 24.15 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008308/2.121, allocations: 71.84 kB / 1.587 GB, free: 24.08 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.882e-05/2.121, allocations: 16.03 kB / 1.587 GB, free: 24.07 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.533e-05/2.121, allocations: 23.97 kB / 1.587 GB, free: 24.04 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.0003567/2.121, allocations: 370.9 kB / 1.588 GB, free: 23.68 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001639/2.123, allocations: 371.3 kB / 1.588 GB, free: 23.32 MB / 0.8698 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.0009086/2.124, allocations: 466 kB / 1.588 GB, free: 22.86 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.000574/2.125, allocations: 319.5 kB / 1.589 GB, free: 22.55 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 5.29e-06/2.125, allocations: 4 kB / 1.589 GB, free: 22.54 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002395/2.125, allocations: 147.8 kB / 1.589 GB, free: 22.4 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00129/2.126, allocations: 281.7 kB / 1.589 GB, free: 22.12 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001566/2.128, allocations: 0.8054 MB / 1.59 GB, free: 21.3 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005307/2.128, allocations: 1.026 MB / 1.591 GB, free: 20.24 MB / 0.8698 GB Notification: Performance of SimCode: time 3e-07/2.128, allocations: 4 kB / 1.591 GB, free: 20.23 MB / 0.8698 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Validation.EvaporatorCondenser.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Validation.EvaporatorCondenser.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Validation.EvaporatorCondenser.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Validation.EvaporatorCondenser.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_Validation_EvaporatorCondenser_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_Validation_EvaporatorCondenser.fmu > Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Validation.EvaporatorCondenser.pipe 2>&1)