Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/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 BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_HeatPumps_Compressors_BaseClasses_Validation_TemperatureProtection",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_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/BuildSysPro 3.5.0/package.mo): time 0.7729/0.7729, allocations: 127.4 MB / 134.6 MB, free: 4.07 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001493/0.001493, allocations: 189.2 kB / 164.4 MB, free: 6.871 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.753/1.753, allocations: 205.1 MB / 399.1 MB, free: 6.066 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009556/0.0009556, allocations: 75.38 kB / 476.3 MB, free: 8.832 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.3456/0.3466, allocations: 82.91 MB / 0.5461 GB, free: 42.62 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1868/0.5333, allocations: 76.75 MB / 0.621 GB, free: 13.8 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5652/1.099, allocations: 104.9 MB / 0.7235 GB, free: 7.309 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003183/1.099, allocations: 91.92 kB / 0.7236 GB, free: 7.219 MB / 490.7 MB 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.01046/1.109, allocations: 3.459 MB / 0.727 GB, free: 3.723 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.384e-05/1.109, allocations: 12 kB / 0.727 GB, free: 3.711 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.482e-05/1.11, allocations: 27.72 kB / 0.727 GB, free: 3.684 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003596/1.11, allocations: 236.1 kB / 0.7272 GB, free: 3.41 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.867e-05/1.11, allocations: 8 kB / 0.7272 GB, free: 3.402 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.716e-05/1.11, allocations: 8 kB / 0.7272 GB, free: 3.395 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002764/1.11, allocations: 109 kB / 0.7273 GB, free: 3.289 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003304/1.111, allocations: 193.2 kB / 0.7275 GB, free: 3.086 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.089e-05/1.111, allocations: 4 kB / 0.7275 GB, free: 3.082 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.129e-05/1.111, allocations: 0 / 0.7275 GB, free: 3.082 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.325e-06/1.111, allocations: 4 kB / 0.7275 GB, free: 3.078 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001031/1.112, allocations: 0.5667 MB / 0.7281 GB, free: 2.473 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003437/1.112, allocations: 106.8 kB / 0.7282 GB, free: 2.359 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.058e-05/1.112, allocations: 36.86 kB / 0.7282 GB, free: 2.32 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.333e-05/1.112, allocations: 7.938 kB / 0.7282 GB, free: 2.312 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.045e-05/1.112, allocations: 38.67 kB / 0.7283 GB, free: 2.266 MB / 490.7 MB Notification: Performance of pre-optimization done (n=10): time 1.472e-06/1.112, allocations: 0 / 0.7283 GB, free: 2.266 MB / 490.7 MB Notification: Performance of matching and sorting (n=10): time 0.0003569/1.113, allocations: 105.5 kB / 0.7284 GB, free: 2.156 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.836e-05/1.113, allocations: 140.5 kB / 0.7285 GB, free: 1.988 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001862/1.113, allocations: 158.3 kB / 0.7287 GB, free: 1.828 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.99e-05/1.113, allocations: 29.7 kB / 0.7287 GB, free: 1.793 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001002/1.113, allocations: 128.2 kB / 0.7288 GB, free: 1.664 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.159e-05/1.113, allocations: 31.59 kB / 0.7288 GB, free: 1.633 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.396e-06/1.113, allocations: 0 / 0.7288 GB, free: 1.633 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001715/1.113, allocations: 326.8 kB / 0.7291 GB, free: 1.305 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.93e-05/1.113, allocations: 39.94 kB / 0.7292 GB, free: 1.266 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.707e-05/1.114, allocations: 71.36 kB / 0.7292 GB, free: 1.184 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.959e-05/1.114, allocations: 24 kB / 0.7293 GB, free: 1.16 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/1.114, allocations: 0 / 0.7293 GB, free: 1.16 MB / 490.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002516/1.114, allocations: 127.1 kB / 0.7294 GB, free: 1.031 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.597e-05/1.114, allocations: 4 kB / 0.7294 GB, free: 1.027 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.68e-06/1.114, allocations: 0 / 0.7294 GB, free: 1.027 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.908e-05/1.114, allocations: 4 kB / 0.7294 GB, free: 1.023 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001296/1.114, allocations: 27.83 kB / 0.7294 GB, free: 0.9961 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.111e-06/1.114, allocations: 0 / 0.7294 GB, free: 0.9961 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001636/1.114, allocations: 39.97 kB / 0.7295 GB, free: 0.957 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.385e-05/1.114, allocations: 4 kB / 0.7295 GB, free: 0.9531 MB / 490.7 MB 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 9.461e-05/1.114, allocations: 109 kB / 0.7296 GB, free: 0.8398 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.59e-05/1.114, allocations: 15.81 kB / 0.7296 GB, free: 0.8242 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002762/1.115, allocations: 119 kB / 0.7297 GB, free: 0.7031 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.846e-06/1.115, allocations: 0 / 0.7297 GB, free: 0.7031 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.548e-06/1.115, allocations: 8 kB / 0.7297 GB, free: 0.6953 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.273e-06/1.115, allocations: 7.891 kB / 0.7297 GB, free: 0.6875 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002756/1.115, allocations: 230.1 kB / 0.7299 GB, free: 436 kB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/1.115, allocations: 192 / 0.7299 GB, free: 436 kB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000111/1.115, allocations: 15.98 kB / 0.73 GB, free: 420 kB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.396e-06/1.115, allocations: 3.938 kB / 0.73 GB, free: 416 kB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.675e-05/1.115, allocations: 7.984 kB / 0.73 GB, free: 408 kB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/1.115, allocations: 0 / 0.73 GB, free: 408 kB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.348e-06/1.115, allocations: 3.938 kB / 0.73 GB, free: 404 kB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002663/1.116, allocations: 207.2 kB / 0.7302 GB, free: 180 kB / 490.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003967/1.116, allocations: 0.5739 MB / 0.7307 GB, free: 15.58 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 5.4e-05/1.116, allocations: 92.91 kB / 0.7308 GB, free: 15.47 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.828e-05/1.116, allocations: 4 kB / 0.7308 GB, free: 15.47 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001905/1.116, allocations: 35.97 kB / 0.7309 GB, free: 15.43 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.114e-05/1.116, allocations: 27.95 kB / 0.7309 GB, free: 15.41 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.564e-05/1.116, allocations: 4 kB / 0.7309 GB, free: 15.4 MB / 0.4948 GB Notification: Performance of sort global known variables: time 0.0001188/1.116, allocations: 125.2 kB / 0.731 GB, free: 15.28 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.000885/1.117, allocations: 39.83 kB / 0.731 GB, free: 15.24 MB / 0.4948 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.0001751/1.118, allocations: 107.2 kB / 0.7311 GB, free: 15.12 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.000206/1.118, allocations: 83.98 kB / 0.7312 GB, free: 15.04 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/1.118, allocations: 0 / 0.7312 GB, free: 15.04 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 8.555e-05/1.118, allocations: 51.94 kB / 0.7313 GB, free: 14.99 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002253/1.118, allocations: 23.41 kB / 0.7313 GB, free: 14.97 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005494/1.119, allocations: 204.1 kB / 0.7315 GB, free: 14.75 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005208/1.119, allocations: 0.7586 MB / 0.7322 GB, free: 13.96 MB / 0.4948 GB Notification: Performance of SimCode: time 2.6e-07/1.119, allocations: 0 / 0.7322 GB, free: 13.96 MB / 0.4948 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_HeatPumps_Compressors_BaseClasses_Validation_TemperatureProtection_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_HeatPumps_Compressors_BaseClasses_Validation_TemperatureProtection.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe 2>&1)