Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower,fileNamePrefix="Buildings_8_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_8_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.1.4-maint.8.1.x/package.mo): time 1.569/1.569, allocations: 289.8 MB / 297.1 MB, free: 6.605 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.002135/0.002135, allocations: 177.3 kB / 366.3 MB, free: 1.914 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.738/1.738, allocations: 205.1 MB / 0.6256 GB, free: 5.766 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.0009941/0.0009936, allocations: 94.88 kB / 0.7395 GB, free: 39.57 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3024/0.3034, allocations: 122.4 MB / 0.8591 GB, free: 13.18 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.802/1.105, allocations: 116.3 MB / 0.9727 GB, free: 68.37 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1969/1.302, allocations: 139.8 MB / 1.109 GB, free: 8.656 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002586/1.303, allocations: 91.92 kB / 1.109 GB, free: 8.566 MB / 0.7136 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.01092/1.314, allocations: 3.591 MB / 1.113 GB, free: 4.953 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.979e-05/1.314, allocations: 8 kB / 1.113 GB, free: 4.945 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.078e-05/1.314, allocations: 7.906 kB / 1.113 GB, free: 4.938 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001649/1.314, allocations: 175.8 kB / 1.113 GB, free: 4.727 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.471e-05/1.314, allocations: 0 / 1.113 GB, free: 4.727 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.575e-05/1.314, allocations: 3.984 kB / 1.113 GB, free: 4.723 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001123/1.314, allocations: 31.98 kB / 1.113 GB, free: 4.691 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.373e-05/1.314, allocations: 53.53 kB / 1.113 GB, free: 4.633 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.948e-06/1.314, allocations: 7.922 kB / 1.113 GB, free: 4.625 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.006e-05/1.314, allocations: 0 / 1.113 GB, free: 4.625 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.362e-06/1.314, allocations: 0 / 1.113 GB, free: 4.625 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002002/1.314, allocations: 154.2 kB / 1.113 GB, free: 4.438 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 8.488e-05/1.315, allocations: 59.11 kB / 1.113 GB, free: 4.371 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.968e-05/1.315, allocations: 20.92 kB / 1.113 GB, free: 4.348 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 5.213e-05/1.315, allocations: 7.984 kB / 1.113 GB, free: 4.34 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.951e-05/1.315, allocations: 34.47 kB / 1.113 GB, free: 4.297 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=2): time 1.172e-06/1.315, allocations: 0 / 1.113 GB, free: 4.297 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2): time 0.0002396/1.315, allocations: 73.61 kB / 1.113 GB, free: 4.219 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.167e-05/1.315, allocations: 56.56 kB / 1.113 GB, free: 4.152 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001302/1.315, allocations: 124.9 kB / 1.114 GB, free: 4.023 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.739e-05/1.315, allocations: 25.7 kB / 1.114 GB, free: 3.992 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.629e-05/1.315, allocations: 88.12 kB / 1.114 GB, free: 3.902 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.954e-05/1.315, allocations: 7.844 kB / 1.114 GB, free: 3.895 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.658e-06/1.315, allocations: 0 / 1.114 GB, free: 3.895 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001368/1.315, allocations: 318.8 kB / 1.114 GB, free: 3.574 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.132e-05/1.315, allocations: 39.97 kB / 1.114 GB, free: 3.535 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.478e-05/1.316, allocations: 35.98 kB / 1.114 GB, free: 3.5 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001073/1.316, allocations: 47.97 kB / 1.114 GB, free: 3.453 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/1.316, allocations: 0 / 1.114 GB, free: 3.453 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002445/1.316, allocations: 135.3 kB / 1.114 GB, free: 3.316 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.21e-05/1.316, allocations: 5.031 kB / 1.114 GB, free: 3.312 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.171e-06/1.316, allocations: 0 / 1.114 GB, free: 3.312 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.348e-05/1.316, allocations: 0 / 1.114 GB, free: 3.312 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.145e-05/1.316, allocations: 11.92 kB / 1.114 GB, free: 3.301 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.579e-06/1.316, allocations: 0 / 1.114 GB, free: 3.301 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.208e-05/1.316, allocations: 3.906 kB / 1.114 GB, free: 3.297 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.182e-05/1.316, allocations: 4 kB / 1.114 GB, free: 3.293 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 7.216e-05/1.316, allocations: 109 kB / 1.114 GB, free: 3.18 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.045e-05/1.316, allocations: 3.906 kB / 1.114 GB, free: 3.176 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001681/1.316, allocations: 89.28 kB / 1.114 GB, free: 3.074 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.423e-06/1.316, allocations: 0 / 1.114 GB, free: 3.074 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/1.316, allocations: 0.8438 kB / 1.114 GB, free: 3.074 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.039e-06/1.316, allocations: 4 kB / 1.114 GB, free: 3.07 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001004/1.316, allocations: 150.1 kB / 1.115 GB, free: 2.887 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/1.316, allocations: 3.938 kB / 1.115 GB, free: 2.883 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.096e-05/1.316, allocations: 8.016 kB / 1.115 GB, free: 2.875 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.393e-06/1.317, allocations: 4 kB / 1.115 GB, free: 2.871 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.258e-06/1.317, allocations: 0 / 1.115 GB, free: 2.871 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.92e-07/1.317, allocations: 3.938 kB / 1.115 GB, free: 2.867 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/1.317, allocations: 0 / 1.115 GB, free: 2.867 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001206/1.317, allocations: 98.61 kB / 1.115 GB, free: 2.754 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002385/1.317, allocations: 477.5 kB / 1.115 GB, free: 2.266 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.681e-05/1.317, allocations: 85.02 kB / 1.115 GB, free: 2.164 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.784e-05/1.317, allocations: 3.984 kB / 1.115 GB, free: 2.16 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.334e-05/1.317, allocations: 0 / 1.115 GB, free: 2.16 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.369e-05/1.317, allocations: 3.906 kB / 1.115 GB, free: 2.156 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.181e-06/1.317, allocations: 4 kB / 1.115 GB, free: 2.152 MB / 0.7136 GB Notification: Performance of sort global known variables: time 6.275e-05/1.317, allocations: 108.5 kB / 1.115 GB, free: 2.047 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0008948/1.318, allocations: 75.86 kB / 1.115 GB, free: 1.973 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.0003785/1.318, allocations: 183.2 kB / 1.116 GB, free: 1.785 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001667/1.319, allocations: 63.97 kB / 1.116 GB, free: 1.723 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/1.319, allocations: 8 kB / 1.116 GB, free: 1.715 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.068e-05/1.319, allocations: 12 kB / 1.116 GB, free: 1.703 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002297/1.319, allocations: 31.86 kB / 1.116 GB, free: 1.676 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002806/1.319, allocations: 102.7 kB / 1.116 GB, free: 1.551 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003307/1.319, allocations: 0.7115 MB / 1.116 GB, free: 0.8125 MB / 0.7136 GB Notification: Performance of SimCode: time 1.774e-06/1.319, allocations: 0 / 1.116 GB, free: 0.8125 MB / 0.7136 GB (rm -f Buildings_8_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_HeatExchangers_CoolingTowers_BaseClasses_Characteristics_Validation_NormalizedPower_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_HeatExchangers_CoolingTowers_BaseClasses_Characteristics_Validation_NormalizedPower.fmu > Buildings_8_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower.pipe 2>&1)