Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower.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.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower,fileNamePrefix="Buildings_maint_8_0_x_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_maint_8_0_x_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 8.0.1-maint.8.0.x/package.mo): time 1.445/1.445, allocations: 285.5 MB / 292.8 MB, free: 10.45 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.00117/0.00117, allocations: 195.1 kB / 361.1 MB, free: 7.105 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.255/1.255, allocations: 205.1 MB / 0.6195 GB, free: 10.3 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008357/0.0008358, allocations: 96.83 kB / 0.7326 GB, free: 44.23 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2189/0.2198, allocations: 121.5 MB / 0.8512 GB, free: 2.832 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5018/0.7216, allocations: 115.3 MB / 0.9638 GB, free: 78.13 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1522/0.8739, allocations: 138.8 MB / 1.099 GB, free: 1.203 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002443/0.8742, allocations: 92.58 kB / 1.099 GB, free: 1.113 MB / 0.698 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.01106/0.8852, allocations: 3.595 MB / 1.103 GB, free: 13.55 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.364e-05/0.8853, allocations: 8.5 kB / 1.103 GB, free: 13.55 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.273e-05/0.8853, allocations: 7.906 kB / 1.103 GB, free: 13.54 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001298/0.8855, allocations: 171 kB / 1.103 GB, free: 13.33 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.406e-05/0.8855, allocations: 0.5625 kB / 1.103 GB, free: 13.33 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.348e-05/0.8855, allocations: 0 / 1.103 GB, free: 13.33 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.776e-05/0.8856, allocations: 39.91 kB / 1.103 GB, free: 13.29 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.526e-05/0.8857, allocations: 49.59 kB / 1.103 GB, free: 13.24 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.435e-06/0.8857, allocations: 0 / 1.103 GB, free: 13.24 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.161e-05/0.8857, allocations: 2.766 kB / 1.103 GB, free: 13.24 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.09e-06/0.8858, allocations: 4 kB / 1.103 GB, free: 13.23 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001984/0.886, allocations: 154.2 kB / 1.103 GB, free: 13.05 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 8.117e-05/0.886, allocations: 58.55 kB / 1.103 GB, free: 12.98 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.614e-05/0.8861, allocations: 26.36 kB / 1.103 GB, free: 12.95 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 5.139e-05/0.8861, allocations: 7.984 kB / 1.103 GB, free: 12.95 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.352e-05/0.8862, allocations: 34.47 kB / 1.103 GB, free: 12.9 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=2): time 1.283e-06/0.8862, allocations: 4 kB / 1.103 GB, free: 12.9 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2): time 0.0002034/0.8864, allocations: 70.28 kB / 1.104 GB, free: 12.82 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.257e-05/0.8864, allocations: 51.41 kB / 1.104 GB, free: 12.76 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001101/0.8866, allocations: 127.6 kB / 1.104 GB, free: 12.63 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.491e-05/0.8866, allocations: 25.7 kB / 1.104 GB, free: 12.6 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.826e-05/0.8866, allocations: 88.12 kB / 1.104 GB, free: 12.51 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.743e-05/0.8866, allocations: 7.844 kB / 1.104 GB, free: 12.5 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.177e-06/0.8867, allocations: 0 / 1.104 GB, free: 12.5 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001112/0.8868, allocations: 322.9 kB / 1.104 GB, free: 12.18 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.593e-05/0.8868, allocations: 39.97 kB / 1.104 GB, free: 12.14 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.372e-05/0.8869, allocations: 39.97 kB / 1.104 GB, free: 12.1 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001162/0.887, allocations: 47.91 kB / 1.104 GB, free: 12.05 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.887, allocations: 0 / 1.104 GB, free: 12.05 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002093/0.8872, allocations: 123.5 kB / 1.104 GB, free: 11.93 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.387e-05/0.8873, allocations: 11.98 kB / 1.104 GB, free: 11.92 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.164e-06/0.8873, allocations: 0 / 1.104 GB, free: 11.92 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.073e-05/0.8873, allocations: 0 / 1.104 GB, free: 11.92 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.036e-05/0.8873, allocations: 4 kB / 1.104 GB, free: 11.91 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.979e-06/0.8874, allocations: 4 kB / 1.104 GB, free: 11.91 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.196e-05/0.8874, allocations: 3.906 kB / 1.104 GB, free: 11.91 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.253e-05/0.8874, allocations: 4.859 kB / 1.104 GB, free: 11.9 MB / 0.7136 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 6.851e-05/0.8875, allocations: 105 kB / 1.104 GB, free: 11.79 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.271e-05/0.8875, allocations: 3.906 kB / 1.104 GB, free: 11.79 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001727/0.8877, allocations: 91.2 kB / 1.105 GB, free: 11.7 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.864e-06/0.8877, allocations: 0 / 1.105 GB, free: 11.7 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.5e-06/0.8877, allocations: 0 / 1.105 GB, free: 11.7 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-06/0.8877, allocations: 7.969 kB / 1.105 GB, free: 11.69 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001061/0.8878, allocations: 159.3 kB / 1.105 GB, free: 11.5 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.41e-07/0.8878, allocations: 0 / 1.105 GB, free: 11.5 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.416e-05/0.8879, allocations: 4 kB / 1.105 GB, free: 11.49 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.8879, allocations: 0 / 1.105 GB, free: 11.49 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.761e-06/0.8879, allocations: 0 / 1.105 GB, free: 11.49 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.8879, allocations: 0 / 1.105 GB, free: 11.49 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.8879, allocations: 0 / 1.105 GB, free: 11.49 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001333/0.888, allocations: 103 kB / 1.105 GB, free: 11.38 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002573/0.8883, allocations: 483.6 kB / 1.105 GB, free: 10.88 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.273e-05/0.8884, allocations: 93.08 kB / 1.105 GB, free: 10.77 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.537e-05/0.8884, allocations: 0 / 1.105 GB, free: 10.77 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.312e-05/0.8884, allocations: 0 / 1.105 GB, free: 10.77 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.507e-05/0.8884, allocations: 3.906 kB / 1.105 GB, free: 10.77 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.251e-06/0.8884, allocations: 4.062 kB / 1.105 GB, free: 10.77 MB / 0.7136 GB Notification: Performance of sort global known variables: time 7.274e-05/0.8885, allocations: 103.3 kB / 1.105 GB, free: 10.66 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0009163/0.8894, allocations: 75.86 kB / 1.106 GB, free: 10.59 MB / 0.7136 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.0003988/0.8898, allocations: 189.5 kB / 1.106 GB, free: 10.4 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001361/0.89, allocations: 59.97 kB / 1.106 GB, free: 10.34 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 5.209e-06/0.89, allocations: 4 kB / 1.106 GB, free: 10.34 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 1.956e-05/0.89, allocations: 19.94 kB / 1.106 GB, free: 10.32 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002031/0.8902, allocations: 25.09 kB / 1.106 GB, free: 10.29 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002464/0.8905, allocations: 104.7 kB / 1.106 GB, free: 10.16 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003069/0.8908, allocations: 0.7121 MB / 1.107 GB, free: 9.426 MB / 0.7136 GB Notification: Performance of SimCode: time 2.61e-07/0.8908, allocations: 1.781 kB / 1.107 GB, free: 9.426 MB / 0.7136 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_HeatExchangers_CoolingTowers_BaseClasses_Characteristics_Validation_NormalizedPower_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_HeatExchangers_CoolingTowers_BaseClasses_Characteristics_Validation_NormalizedPower.fmu > Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower.pipe 2>&1)