Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower.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.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower,fileNamePrefix="Buildings_maint_7_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_7_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 7.0.3-maint.7.0.x/package.mo): time 1.31/1.31, allocations: 249.4 MB / 256.7 MB, free: 7.035 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.001207/0.001207, allocations: 169.3 kB / 316 MB, free: 3.559 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.268/1.268, allocations: 205.1 MB / 0.5667 GB, free: 15.71 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.0008477/0.0008477, allocations: 89.45 kB / 0.671 GB, free: 4.844 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3467/0.3476, allocations: 112.5 MB / 0.7808 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1748/0.5225, allocations: 106.3 MB / 0.8847 GB, free: 12.55 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4623/0.9849, allocations: 133.5 MB / 1.015 GB, free: 5.039 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001903/0.9851, allocations: 90.8 kB / 1.015 GB, free: 4.984 MB / 0.6355 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.01011/0.9952, allocations: 3.601 MB / 1.019 GB, free: 1.812 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.388e-05/0.9952, allocations: 8 kB / 1.019 GB, free: 1.805 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.881e-05/0.9953, allocations: 3.906 kB / 1.019 GB, free: 1.801 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001159/0.9954, allocations: 179.8 kB / 1.019 GB, free: 1.586 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.879e-06/0.9954, allocations: 3.984 kB / 1.019 GB, free: 1.582 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.859e-06/0.9954, allocations: 0 / 1.019 GB, free: 1.582 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.992e-05/0.9955, allocations: 35.11 kB / 1.019 GB, free: 1.551 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.72e-05/0.9956, allocations: 45 kB / 1.019 GB, free: 1.504 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.94e-06/0.9956, allocations: 4 kB / 1.019 GB, free: 1.5 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.454e-06/0.9956, allocations: 0 / 1.019 GB, free: 1.5 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.959e-06/0.9956, allocations: 3.984 kB / 1.019 GB, free: 1.496 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001511/0.9958, allocations: 162 kB / 1.019 GB, free: 1.309 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 6.861e-05/0.9959, allocations: 54.12 kB / 1.019 GB, free: 1.25 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.371e-05/0.9959, allocations: 24.34 kB / 1.019 GB, free: 1.227 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 3.778e-05/0.9959, allocations: 7.984 kB / 1.019 GB, free: 1.219 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.09e-05/0.996, allocations: 38.5 kB / 1.019 GB, free: 1.172 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 1.162e-06/0.996, allocations: 0 / 1.019 GB, free: 1.172 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0001639/0.9961, allocations: 69.02 kB / 1.019 GB, free: 1.102 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.41e-05/0.9962, allocations: 59.34 kB / 1.019 GB, free: 1.035 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.175e-05/0.9963, allocations: 124.1 kB / 1.019 GB, free: 0.918 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.275e-05/0.9963, allocations: 25.7 kB / 1.02 GB, free: 0.8867 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.099e-05/0.9963, allocations: 91.19 kB / 1.02 GB, free: 0.7969 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.712e-05/0.9964, allocations: 7.844 kB / 1.02 GB, free: 0.7891 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.188e-06/0.9964, allocations: 4.031 kB / 1.02 GB, free: 0.7852 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 9.833e-05/0.9965, allocations: 314.2 kB / 1.02 GB, free: 484 kB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.419e-05/0.9966, allocations: 42.53 kB / 1.02 GB, free: 448 kB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.816e-05/0.9966, allocations: 37.05 kB / 1.02 GB, free: 420 kB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.839e-05/0.9967, allocations: 47.25 kB / 1.02 GB, free: 380 kB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.342e-06/0.9967, allocations: 0 / 1.02 GB, free: 380 kB / 0.6355 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001911/0.9969, allocations: 127.6 kB / 1.02 GB, free: 260 kB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.085e-05/0.9969, allocations: 8 kB / 1.02 GB, free: 252 kB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.9969, allocations: 0 / 1.02 GB, free: 252 kB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.378e-06/0.997, allocations: 7.906 kB / 1.02 GB, free: 244 kB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.308e-05/0.997, allocations: 8.672 kB / 1.02 GB, free: 236 kB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.066e-06/0.997, allocations: 0 / 1.02 GB, free: 236 kB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.84e-05/0.997, allocations: 0 / 1.02 GB, free: 236 kB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.796e-05/0.9971, allocations: 4 kB / 1.02 GB, free: 232 kB / 0.6355 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 5.595e-05/0.9971, allocations: 108.1 kB / 1.02 GB, free: 120 kB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.147e-06/0.9971, allocations: 4 kB / 1.02 GB, free: 116 kB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001488/0.9973, allocations: 90.09 kB / 1.02 GB, free: 28 kB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.286e-06/0.9973, allocations: 12.03 kB / 1.02 GB, free: 16 kB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.9973, allocations: 0 / 1.02 GB, free: 16 kB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-06/0.9973, allocations: 3.938 kB / 1.02 GB, free: 12 kB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001431/0.9975, allocations: 145.2 kB / 1.021 GB, free: 15.84 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.92e-07/0.9975, allocations: 0 / 1.021 GB, free: 15.84 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.202e-05/0.9975, allocations: 7.984 kB / 1.021 GB, free: 15.83 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.372e-06/0.9975, allocations: 0 / 1.021 GB, free: 15.83 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.249e-06/0.9975, allocations: 0 / 1.021 GB, free: 15.83 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.92e-07/0.9975, allocations: 0 / 1.021 GB, free: 15.83 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/0.9975, allocations: 3.906 kB / 1.021 GB, free: 15.82 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001078/0.9976, allocations: 99.52 kB / 1.021 GB, free: 15.71 MB / 0.6511 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002203/0.9979, allocations: 480 kB / 1.021 GB, free: 15.23 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 3.936e-05/0.9979, allocations: 81.02 kB / 1.021 GB, free: 15.14 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.594e-05/0.9979, allocations: 7.984 kB / 1.021 GB, free: 15.13 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.369e-05/0.998, allocations: 3.938 kB / 1.021 GB, free: 15.12 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.003e-05/0.998, allocations: 8 kB / 1.021 GB, free: 15.12 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.847e-06/0.998, allocations: 0 / 1.021 GB, free: 15.12 MB / 0.6511 GB Notification: Performance of sort global known variables: time 5.101e-05/0.998, allocations: 102 kB / 1.021 GB, free: 15.02 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0008294/0.9989, allocations: 82.55 kB / 1.021 GB, free: 14.95 MB / 0.6511 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.0003242/0.9992, allocations: 182.3 kB / 1.022 GB, free: 14.77 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001282/0.9993, allocations: 62.22 kB / 1.022 GB, free: 14.71 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.442e-06/0.9994, allocations: 0 / 1.022 GB, free: 14.71 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 2.278e-05/0.9994, allocations: 23.88 kB / 1.022 GB, free: 14.7 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001995/0.9996, allocations: 28.11 kB / 1.022 GB, free: 14.67 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002041/0.9998, allocations: 99.2 kB / 1.022 GB, free: 14.55 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002608/1, allocations: 0.7069 MB / 1.022 GB, free: 13.82 MB / 0.6511 GB Notification: Performance of SimCode: time 2.6e-07/1, allocations: 0 / 1.022 GB, free: 13.82 MB / 0.6511 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_CoolingTowers_BaseClasses_Characteristics_Validation_NormalizedPower_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_CoolingTowers_BaseClasses_Characteristics_Validation_NormalizedPower.fmu > Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower.pipe 2>&1)