Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_HeatPumps_Compressors_BaseClasses_Validation_TemperatureProtection",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection,fileNamePrefix="IDEAS_dev_IDEAS_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/Complex 4.0.0+maint.om/package.mo): time 0.00505/0.00505, allocations: 180.2 kB / 7.458 MB, free: 2.164 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7023/0.7023, allocations: 133.5 MB / 141.4 MB, free: 15.7 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.478/1.478, allocations: 221.3 MB / 395 MB, free: 10.19 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001018/0.001018, allocations: 102.7 kB / 477.8 MB, free: 10.81 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.4735/0.4746, allocations: 88.44 MB / 0.553 GB, free: 89.14 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1672/0.6418, allocations: 82.3 MB / 0.6333 GB, free: 14.02 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5696/1.211, allocations: 113.5 MB / 0.7442 GB, free: 10.76 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003075/1.212, allocations: 93.27 kB / 0.7443 GB, free: 10.76 MB / 0.4948 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.0098/1.222, allocations: 3.511 MB / 0.7477 GB, free: 26.15 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.323e-05/1.222, allocations: 7.656 kB / 0.7477 GB, free: 26.15 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.113e-05/1.222, allocations: 31.84 kB / 0.7477 GB, free: 26.13 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003114/1.222, allocations: 226.4 kB / 0.7479 GB, free: 25.92 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.853e-05/1.222, allocations: 7.688 kB / 0.7479 GB, free: 25.92 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.557e-05/1.222, allocations: 12.16 kB / 0.748 GB, free: 25.91 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002332/1.222, allocations: 113.7 kB / 0.7481 GB, free: 25.91 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002882/1.223, allocations: 182.2 kB / 0.7482 GB, free: 25.84 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.466e-06/1.223, allocations: 0 / 0.7482 GB, free: 25.84 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.197e-05/1.223, allocations: 4 kB / 0.7482 GB, free: 25.84 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.404e-06/1.223, allocations: 3.844 kB / 0.7482 GB, free: 25.84 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009138/1.224, allocations: 0.5587 MB / 0.7488 GB, free: 25.56 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003156/1.224, allocations: 111.6 kB / 0.7489 GB, free: 25.54 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.457e-05/1.224, allocations: 39.55 kB / 0.7489 GB, free: 25.52 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 4.572e-05/1.224, allocations: 10.98 kB / 0.7489 GB, free: 25.52 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.063e-05/1.224, allocations: 32.58 kB / 0.749 GB, free: 25.48 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=10): time 1.893e-06/1.224, allocations: 3.984 kB / 0.749 GB, free: 25.48 MB / 0.5105 GB Notification: Performance of matching and sorting (n=10): time 0.0002924/1.224, allocations: 106.3 kB / 0.7491 GB, free: 25.44 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.1e-05/1.224, allocations: 132.9 kB / 0.7492 GB, free: 25.28 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001346/1.225, allocations: 169 kB / 0.7494 GB, free: 25.17 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 2.911e-05/1.225, allocations: 30.3 kB / 0.7494 GB, free: 25.14 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 6.645e-05/1.225, allocations: 138.5 kB / 0.7495 GB, free: 25.03 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 2.992e-05/1.225, allocations: 25.38 kB / 0.7496 GB, free: 25.02 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.345e-06/1.225, allocations: 0 / 0.7496 GB, free: 25.02 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001215/1.225, allocations: 325.8 kB / 0.7499 GB, free: 24.7 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.369e-05/1.225, allocations: 32.55 kB / 0.7499 GB, free: 24.7 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.486e-05/1.225, allocations: 69.25 kB / 0.75 GB, free: 24.67 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.433e-05/1.225, allocations: 28 kB / 0.75 GB, free: 24.67 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/1.225, allocations: 0 / 0.75 GB, free: 24.67 MB / 0.5105 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001981/1.225, allocations: 124.4 kB / 0.7501 GB, free: 24.62 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.103e-05/1.225, allocations: 3.906 kB / 0.7501 GB, free: 24.62 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.102e-06/1.225, allocations: 0.5625 kB / 0.7501 GB, free: 24.62 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.147e-05/1.225, allocations: 0 / 0.7501 GB, free: 24.62 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001212/1.226, allocations: 30.86 kB / 0.7501 GB, free: 24.62 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.659e-06/1.226, allocations: 0 / 0.7501 GB, free: 24.62 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001561/1.226, allocations: 38.05 kB / 0.7502 GB, free: 24.61 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.134e-05/1.226, allocations: 8.406 kB / 0.7502 GB, free: 24.61 MB / 0.5105 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 9.02e-05/1.226, allocations: 105.5 kB / 0.7503 GB, free: 24.5 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.964e-05/1.226, allocations: 15.47 kB / 0.7503 GB, free: 24.49 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000257/1.226, allocations: 129.4 kB / 0.7504 GB, free: 24.45 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/1.226, allocations: 0 / 0.7504 GB, free: 24.45 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.237e-06/1.226, allocations: 0 / 0.7504 GB, free: 24.45 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/1.226, allocations: 4.703 kB / 0.7504 GB, free: 24.44 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002468/1.226, allocations: 238.6 kB / 0.7507 GB, free: 24.28 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/1.226, allocations: 0 / 0.7507 GB, free: 24.28 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001064/1.227, allocations: 19.52 kB / 0.7507 GB, free: 24.28 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.904e-06/1.227, allocations: 0 / 0.7507 GB, free: 24.28 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.653e-05/1.227, allocations: 5.906 kB / 0.7507 GB, free: 24.28 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/1.227, allocations: 3.938 kB / 0.7507 GB, free: 24.27 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/1.227, allocations: 0 / 0.7507 GB, free: 24.27 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002138/1.227, allocations: 207.6 kB / 0.7509 GB, free: 24.13 MB / 0.5105 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003171/1.227, allocations: 0.5791 MB / 0.7514 GB, free: 23.61 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 4.653e-05/1.227, allocations: 85.94 kB / 0.7515 GB, free: 23.52 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.714e-05/1.227, allocations: 8.266 kB / 0.7515 GB, free: 23.51 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001807/1.227, allocations: 34.75 kB / 0.7516 GB, free: 23.51 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.074e-05/1.228, allocations: 22.86 kB / 0.7516 GB, free: 23.51 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.194e-05/1.228, allocations: 9.422 kB / 0.7516 GB, free: 23.5 MB / 0.5105 GB Notification: Performance of sort global known variables: time 8.568e-05/1.228, allocations: 127.7 kB / 0.7517 GB, free: 23.43 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0007876/1.228, allocations: 35.66 kB / 0.7518 GB, free: 23.42 MB / 0.5105 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.0001564/1.229, allocations: 107.5 kB / 0.7519 GB, free: 23.33 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0001718/1.229, allocations: 87.36 kB / 0.7519 GB, free: 23.32 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/1.229, allocations: 0 / 0.7519 GB, free: 23.32 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 6.706e-05/1.229, allocations: 39.42 kB / 0.752 GB, free: 23.32 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002/1.229, allocations: 20.52 kB / 0.752 GB, free: 23.32 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005076/1.23, allocations: 198.5 kB / 0.7522 GB, free: 23.21 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005051/1.23, allocations: 0.7628 MB / 0.7529 GB, free: 22.5 MB / 0.5105 GB Notification: Performance of SimCode: time 2.4e-07/1.23, allocations: 0 / 0.7529 GB, free: 22.5 MB / 0.5105 GB (rm -f IDEAS_dev_IDEAS.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_HeatPumps_Compressors_BaseClasses_Validation_TemperatureProtection_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_HeatPumps_Compressors_BaseClasses_Validation_TemperatureProtection.fmu > IDEAS_dev_IDEAS.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe 2>&1)