Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.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.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_HeatPumps_Compressors_BaseClasses_Validation_TemperatureProtection",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_HeatPumps_Compressors_BaseClasses_Validation_TemperatureProtection",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.288/1.288, allocations: 249.4 MB / 256.7 MB, free: 7.078 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.0009875/0.0009875, allocations: 185.2 kB / 316 MB, free: 3.578 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.191/1.191, allocations: 205.1 MB / 0.5667 GB, free: 15.64 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.0008325/0.0008327, allocations: 86.28 kB / 0.671 GB, free: 4.773 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3451/0.346, allocations: 112.5 MB / 0.7808 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1616/0.5076, allocations: 106.3 MB / 0.8847 GB, free: 12.55 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4707/0.9783, allocations: 135 MB / 1.017 GB, free: 3.59 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002576/0.9786, allocations: 95.69 kB / 1.017 GB, free: 3.535 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: 42 * Number of variables: 42 Notification: Performance of Generate backend data structure: time 0.008952/0.9875, allocations: 3.461 MB / 1.02 GB, free: 0.5391 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.553e-05/0.9876, allocations: 8 kB / 1.02 GB, free: 0.5312 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.941e-05/0.9876, allocations: 27.72 kB / 1.02 GB, free: 0.5039 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002552/0.9879, allocations: 245.2 kB / 1.02 GB, free: 248 kB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.506e-05/0.9879, allocations: 8 kB / 1.02 GB, free: 240 kB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.433e-05/0.988, allocations: 8 kB / 1.02 GB, free: 232 kB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002174/0.9882, allocations: 104.8 kB / 1.02 GB, free: 168 kB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002669/0.9885, allocations: 186.1 kB / 1.021 GB, free: 8 kB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.554e-06/0.9885, allocations: 0 / 1.021 GB, free: 8 kB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.838e-05/0.9885, allocations: 0 / 1.021 GB, free: 8 kB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.121e-06/0.9885, allocations: 8 kB / 1.021 GB, free: 0 / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007885/0.9893, allocations: 0.5577 MB / 1.021 GB, free: 15.49 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002782/0.9896, allocations: 116.9 kB / 1.021 GB, free: 15.4 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.723e-05/0.9897, allocations: 48.33 kB / 1.021 GB, free: 15.36 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 3.452e-05/0.9897, allocations: 0 / 1.021 GB, free: 15.36 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.081e-05/0.9897, allocations: 30.56 kB / 1.021 GB, free: 15.32 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=10): time 9.52e-07/0.9898, allocations: 4 kB / 1.021 GB, free: 15.32 MB / 0.6511 GB Notification: Performance of matching and sorting (n=10): time 0.0002552/0.99, allocations: 104.4 kB / 1.021 GB, free: 15.23 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.25e-05/0.9901, allocations: 136.5 kB / 1.022 GB, free: 15.07 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001304/0.9902, allocations: 152.7 kB / 1.022 GB, free: 14.94 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.5e-05/0.9903, allocations: 33.58 kB / 1.022 GB, free: 14.9 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 6.89e-05/0.9903, allocations: 131.2 kB / 1.022 GB, free: 14.77 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 3.221e-05/0.9904, allocations: 30.73 kB / 1.022 GB, free: 14.75 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.724e-06/0.9904, allocations: 0 / 1.022 GB, free: 14.75 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001183/0.9905, allocations: 325.6 kB / 1.022 GB, free: 14.43 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.252e-05/0.9906, allocations: 34.19 kB / 1.022 GB, free: 14.41 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.941e-05/0.9907, allocations: 65.23 kB / 1.022 GB, free: 14.36 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.262e-05/0.9908, allocations: 34.73 kB / 1.022 GB, free: 14.33 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.9908, allocations: 3.938 kB / 1.022 GB, free: 14.33 MB / 0.6511 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000207/0.991, allocations: 121.3 kB / 1.022 GB, free: 14.23 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.2e-05/0.991, allocations: 4 kB / 1.022 GB, free: 14.23 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.991, allocations: 3.938 kB / 1.022 GB, free: 14.23 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.089e-05/0.991, allocations: 4 kB / 1.022 GB, free: 14.22 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001117/0.9911, allocations: 15.98 kB / 1.022 GB, free: 14.21 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.777e-06/0.9911, allocations: 4.094 kB / 1.022 GB, free: 14.2 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000154/0.9913, allocations: 43.81 kB / 1.022 GB, free: 14.16 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.829e-05/0.9913, allocations: 4 kB / 1.022 GB, free: 14.16 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 ($PRE.temPro.hysHig.y,temPro.hysHig.y,$PRE.temPro.hysLow.y,temPro.hysLow.y,temPro.on.y,$PRE.temPro.hysdTConEva.y,temPro.hysdTConEva.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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 prepare postOptimizeDAE: time 7.809e-05/0.9914, allocations: 108.5 kB / 1.023 GB, free: 14.05 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.291e-05/0.9915, allocations: 23.78 kB / 1.023 GB, free: 14.03 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000235/0.9917, allocations: 118.5 kB / 1.023 GB, free: 13.93 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.286e-06/0.9917, allocations: 4 kB / 1.023 GB, free: 13.93 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.456e-06/0.9917, allocations: 0 / 1.023 GB, free: 13.93 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.055e-06/0.9917, allocations: 0 / 1.023 GB, free: 13.93 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002191/0.992, allocations: 246.9 kB / 1.023 GB, free: 13.68 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.61e-07/0.992, allocations: 0 / 1.023 GB, free: 13.68 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001106/0.9921, allocations: 19.92 kB / 1.023 GB, free: 13.66 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.864e-06/0.9921, allocations: 0 / 1.023 GB, free: 13.66 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.359e-05/0.9921, allocations: 4 kB / 1.023 GB, free: 13.66 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.9921, allocations: 0.5469 kB / 1.023 GB, free: 13.66 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/0.9921, allocations: 0 / 1.023 GB, free: 13.66 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002091/0.9923, allocations: 204.1 kB / 1.023 GB, free: 13.47 MB / 0.6511 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.000304/0.9926, allocations: 0.578 MB / 1.024 GB, free: 12.89 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 5.362e-05/0.9927, allocations: 88.92 kB / 1.024 GB, free: 12.79 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.566e-05/0.9928, allocations: 7.5 kB / 1.024 GB, free: 12.79 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001824/0.9929, allocations: 39.97 kB / 1.024 GB, free: 12.75 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.443e-05/0.993, allocations: 23.86 kB / 1.024 GB, free: 12.73 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.401e-05/0.993, allocations: 7.984 kB / 1.024 GB, free: 12.72 MB / 0.6511 GB Notification: Performance of sort global known variables: time 8.279e-05/0.9931, allocations: 126.2 kB / 1.024 GB, free: 12.61 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0008796/0.994, allocations: 47.72 kB / 1.024 GB, free: 12.56 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: 4 (temPro.hysHig.y,temPro.hysLow.y,temPro.on.y,temPro.hysdTConEva.y) * Number of discrete states: 3 (temPro.hysdTConEva.y,temPro.hysLow.y,temPro.hysHig.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 10 * 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.0001355/0.9942, allocations: 114.4 kB / 1.024 GB, free: 12.45 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001755/0.9943, allocations: 90.42 kB / 1.024 GB, free: 12.39 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.482e-06/0.9943, allocations: 0 / 1.024 GB, free: 12.39 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 7.657e-05/0.9944, allocations: 37.75 kB / 1.024 GB, free: 12.36 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002092/0.9946, allocations: 23.11 kB / 1.024 GB, free: 12.34 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004537/0.9951, allocations: 201.5 kB / 1.025 GB, free: 12.14 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003381/0.9955, allocations: 0.7508 MB / 1.025 GB, free: 11.37 MB / 0.6511 GB Notification: Performance of SimCode: time 2.61e-07/0.9955, allocations: 0 / 1.025 GB, free: 11.37 MB / 0.6511 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_HeatPumps_Compressors_BaseClasses_Validation_TemperatureProtection_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_HeatPumps_Compressors_BaseClasses_Validation_TemperatureProtection.fmu > Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe 2>&1)