Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.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) 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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatExchangers_CoolingTowers_BaseClasses_Characteristics_Validation_NormalizedPower",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatExchangers_CoolingTowers_BaseClasses_Characteristics_Validation_NormalizedPower",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 10.0.0-master/package.mo): time 2.174/2.174, allocations: 390.4 MB / 397.7 MB, free: 10.64 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001145/0.001145, allocations: 184.1 kB / 490.8 MB, free: 11.19 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.653/1.653, allocations: 221.4 MB / 0.7863 GB, free: 13.57 MB / 0.5886 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001303/0.001303, allocations: 97.39 kB / 0.9264 GB, free: 4.559 MB / 0.6667 GB Notification: Performance of FrontEnd - loaded program: time 0.4291/0.4305, allocations: 149.2 MB / 1.072 GB, free: 15.47 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.061/1.492, allocations: 143 MB / 1.212 GB, free: 155.9 MB / 0.8855 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2176/1.709, allocations: 150.8 MB / 1.359 GB, free: 40.86 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002422/1.71, allocations: 91.94 kB / 1.359 GB, free: 40.77 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.01051/1.72, allocations: 3.63 MB / 1.363 GB, free: 37.15 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.102e-05/1.72, allocations: 9.719 kB / 1.363 GB, free: 37.14 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.761e-05/1.72, allocations: 3.906 kB / 1.363 GB, free: 37.14 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001184/1.72, allocations: 174.9 kB / 1.363 GB, free: 36.93 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.347e-05/1.721, allocations: 7.938 kB / 1.363 GB, free: 36.92 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.249e-05/1.721, allocations: 0 / 1.363 GB, free: 36.92 MB / 0.8855 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.174e-05/1.721, allocations: 32.56 kB / 1.363 GB, free: 36.89 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.638e-05/1.721, allocations: 46.38 kB / 1.363 GB, free: 36.84 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.745e-06/1.721, allocations: 1 kB / 1.363 GB, free: 36.84 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.163e-05/1.721, allocations: 3.906 kB / 1.363 GB, free: 36.83 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.114e-06/1.721, allocations: 2.188 kB / 1.363 GB, free: 36.83 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001801/1.721, allocations: 159 kB / 1.363 GB, free: 36.64 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 7.123e-05/1.721, allocations: 51.92 kB / 1.363 GB, free: 36.59 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.566e-05/1.721, allocations: 28.91 kB / 1.363 GB, free: 36.55 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 5.155e-05/1.721, allocations: 4 kB / 1.363 GB, free: 36.55 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.045e-05/1.721, allocations: 35.62 kB / 1.363 GB, free: 36.51 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=2): time 1.102e-06/1.721, allocations: 0.9062 kB / 1.363 GB, free: 36.51 MB / 0.8855 GB Notification: Performance of matching and sorting (n=2): time 0.0002285/1.721, allocations: 73.58 kB / 1.363 GB, free: 36.43 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.108e-05/1.721, allocations: 52.34 kB / 1.363 GB, free: 36.37 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.4e-05/1.722, allocations: 136.1 kB / 1.363 GB, free: 36.23 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 1.099e-05/1.722, allocations: 30.38 kB / 1.363 GB, free: 36.2 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 2.159e-05/1.722, allocations: 80.7 kB / 1.363 GB, free: 36.11 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 1.882e-05/1.722, allocations: 17.34 kB / 1.364 GB, free: 36.1 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.799e-06/1.722, allocations: 0 / 1.364 GB, free: 36.1 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 6.738e-05/1.722, allocations: 314.8 kB / 1.364 GB, free: 35.78 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.148e-05/1.722, allocations: 41.48 kB / 1.364 GB, free: 35.74 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.174e-05/1.722, allocations: 39.97 kB / 1.364 GB, free: 35.7 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000124/1.722, allocations: 43.97 kB / 1.364 GB, free: 35.66 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/1.722, allocations: 0 / 1.364 GB, free: 35.66 MB / 0.8855 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000207/1.722, allocations: 136.5 kB / 1.364 GB, free: 35.52 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.665e-05/1.722, allocations: 8 kB / 1.364 GB, free: 35.52 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.073e-06/1.722, allocations: 0 / 1.364 GB, free: 35.52 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.376e-05/1.722, allocations: 1.125 kB / 1.364 GB, free: 35.52 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.316e-05/1.722, allocations: 4 kB / 1.364 GB, free: 35.51 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.37e-06/1.722, allocations: 0 / 1.364 GB, free: 35.51 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.544e-05/1.722, allocations: 8.609 kB / 1.364 GB, free: 35.5 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.489e-05/1.722, allocations: 4 kB / 1.364 GB, free: 35.5 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 2 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.221e-05/1.722, allocations: 102 kB / 1.364 GB, free: 35.39 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.443e-05/1.722, allocations: 8.438 kB / 1.364 GB, free: 35.39 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001881/1.723, allocations: 87.25 kB / 1.364 GB, free: 35.3 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.806e-06/1.723, allocations: 0.5625 kB / 1.364 GB, free: 35.3 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/1.723, allocations: 4 kB / 1.364 GB, free: 35.3 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.029e-06/1.723, allocations: 0.5312 kB / 1.364 GB, free: 35.3 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.277e-05/1.723, allocations: 154.6 kB / 1.364 GB, free: 35.11 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/1.723, allocations: 0.5625 kB / 1.364 GB, free: 35.11 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.397e-05/1.723, allocations: 5.875 kB / 1.364 GB, free: 35.1 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.457e-06/1.723, allocations: 0.5938 kB / 1.364 GB, free: 35.1 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.273e-06/1.723, allocations: 0.7812 kB / 1.364 GB, free: 35.1 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/1.723, allocations: 3.562 kB / 1.364 GB, free: 35.1 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.386e-06/1.723, allocations: 0.5 kB / 1.364 GB, free: 35.1 MB / 0.8855 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001235/1.723, allocations: 98.42 kB / 1.365 GB, free: 34.99 MB / 0.8855 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0001691/1.723, allocations: 483.4 kB / 1.365 GB, free: 34.5 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 2.737e-05/1.723, allocations: 81.02 kB / 1.365 GB, free: 34.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.909e-05/1.723, allocations: 5.219 kB / 1.365 GB, free: 34.39 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.341e-05/1.723, allocations: 0 / 1.365 GB, free: 34.39 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.979e-05/1.723, allocations: 0 / 1.365 GB, free: 34.39 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.48e-06/1.723, allocations: 0.5625 kB / 1.365 GB, free: 34.39 MB / 0.8855 GB Notification: Performance of sort global known variables: time 4.845e-05/1.723, allocations: 103.8 kB / 1.365 GB, free: 34.29 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0009477/1.724, allocations: 88.42 kB / 1.365 GB, free: 34.21 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003894/1.725, allocations: 182.5 kB / 1.365 GB, free: 34.02 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0001509/1.725, allocations: 63.97 kB / 1.365 GB, free: 33.96 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/1.725, allocations: 0.625 kB / 1.365 GB, free: 33.96 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 2.063e-05/1.725, allocations: 24.45 kB / 1.366 GB, free: 33.94 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000225/1.725, allocations: 21.7 kB / 1.366 GB, free: 33.92 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002507/1.725, allocations: 104.8 kB / 1.366 GB, free: 33.79 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001893/1.726, allocations: 0.7023 MB / 1.366 GB, free: 33.06 MB / 0.8855 GB Notification: Performance of SimCode: time 2.71e-07/1.726, allocations: 0 / 1.366 GB, free: 33.06 MB / 0.8855 GB (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_HeatExchangers_CoolingTowers_BaseClasses_Characteristics_Validation_NormalizedPower_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_HeatExchangers_CoolingTowers_BaseClasses_Characteristics_Validation_NormalizedPower.fmu > Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower.pipe 2>&1)