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: translateModel(IDEAS.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection") translateModel(IDEAS.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection") [: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.002207/0.002207, allocations: 186.5 kB / 7.46 MB, free: 2.516 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.5979/0.5979, allocations: 133.5 MB / 141.4 MB, free: 15.69 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.131/1.131, allocations: 221.3 MB / 395 MB, free: 10.2 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.0009515/0.0009515, allocations: 102.3 kB / 477.8 MB, free: 10.8 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 6.061e-06/6.091e-06, allocations: 2.688 kB / 0.5529 GB, free: 89.15 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1095/0.1096, allocations: 82.3 MB / 0.6332 GB, free: 14.07 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3118/0.4214, allocations: 113.5 MB / 0.7441 GB, free: 10.78 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001681/0.4216, allocations: 85.58 kB / 0.7442 GB, free: 10.78 MB / 0.4948 GB Notification: Performance of FrontEnd: time 0.007333/0.4289, allocations: 3.02 MB / 0.7471 GB, free: 10.57 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 1.48e-05/0.429, allocations: 11.97 kB / 0.7471 GB, free: 10.57 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.0005604/0.4295, allocations: 480.7 kB / 0.7476 GB, free: 26.17 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.036e-05/0.4296, allocations: 8.344 kB / 0.7476 GB, free: 26.17 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.253e-05/0.4296, allocations: 35.12 kB / 0.7476 GB, free: 26.16 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002198/0.4299, allocations: 222.7 kB / 0.7478 GB, free: 25.95 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.314e-05/0.4299, allocations: 11.75 kB / 0.7478 GB, free: 25.94 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.342e-05/0.4299, allocations: 11.5 kB / 0.7479 GB, free: 25.94 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001935/0.4301, allocations: 112.2 kB / 0.748 GB, free: 25.93 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000248/0.4304, allocations: 180.4 kB / 0.7481 GB, free: 25.87 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.556e-06/0.4304, allocations: 0 / 0.7481 GB, free: 25.87 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.825e-05/0.4304, allocations: 0 / 0.7481 GB, free: 25.87 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.51e-06/0.4304, allocations: 7.906 kB / 0.7481 GB, free: 25.86 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007269/0.4311, allocations: 0.5698 MB / 0.7487 GB, free: 25.58 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002424/0.4314, allocations: 107.8 kB / 0.7488 GB, free: 25.55 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.795e-05/0.4315, allocations: 41.27 kB / 0.7488 GB, free: 25.54 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 3.174e-05/0.4315, allocations: 7.906 kB / 0.7488 GB, free: 25.54 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.113e-05/0.4315, allocations: 34.45 kB / 0.7489 GB, free: 25.5 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=10): time 1.172e-06/0.4315, allocations: 0 / 0.7489 GB, free: 25.5 MB / 0.5105 GB Notification: Performance of matching and sorting (n=10): time 0.0002311/0.4318, allocations: 104.3 kB / 0.749 GB, free: 25.46 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.128e-05/0.4318, allocations: 133.1 kB / 0.7491 GB, free: 25.3 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001099/0.4319, allocations: 162.5 kB / 0.7493 GB, free: 25.2 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 2.606e-05/0.432, allocations: 37.08 kB / 0.7493 GB, free: 25.16 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 5.095e-05/0.432, allocations: 130.2 kB / 0.7494 GB, free: 25.06 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 2.761e-05/0.4321, allocations: 28.86 kB / 0.7494 GB, free: 25.04 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.644e-06/0.4321, allocations: 0 / 0.7494 GB, free: 25.04 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 7.96e-05/0.4322, allocations: 327 kB / 0.7498 GB, free: 24.73 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.593e-05/0.4322, allocations: 33.98 kB / 0.7498 GB, free: 24.73 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.615e-05/0.4323, allocations: 66.81 kB / 0.7499 GB, free: 24.7 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.354e-05/0.4324, allocations: 36.11 kB / 0.7499 GB, free: 24.7 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.293e-06/0.4324, allocations: 0 / 0.7499 GB, free: 24.7 MB / 0.5105 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001768/0.4325, allocations: 122.3 kB / 0.75 GB, free: 24.65 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 7.614e-06/0.4326, allocations: 11.47 kB / 0.75 GB, free: 24.65 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.568e-06/0.4326, allocations: 0 / 0.75 GB, free: 24.65 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.568e-06/0.4326, allocations: 3.938 kB / 0.75 GB, free: 24.64 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001074/0.4327, allocations: 19.52 kB / 0.75 GB, free: 24.64 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.599e-06/0.4327, allocations: 3.984 kB / 0.75 GB, free: 24.64 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001429/0.4329, allocations: 38.28 kB / 0.7501 GB, free: 24.63 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.847e-05/0.4329, allocations: 12.39 kB / 0.7501 GB, free: 24.62 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 6.998e-05/0.433, allocations: 105.4 kB / 0.7502 GB, free: 24.52 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.693e-05/0.433, allocations: 15.59 kB / 0.7502 GB, free: 24.51 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002313/0.4332, allocations: 124.9 kB / 0.7503 GB, free: 24.47 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.784e-06/0.4332, allocations: 0 / 0.7503 GB, free: 24.47 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.176e-06/0.4333, allocations: 0 / 0.7503 GB, free: 24.47 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.788e-06/0.4333, allocations: 4.609 kB / 0.7503 GB, free: 24.46 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001959/0.4335, allocations: 240.2 kB / 0.7506 GB, free: 24.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.432e-06/0.4335, allocations: 4 kB / 0.7506 GB, free: 24.3 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001014/0.4336, allocations: 23.33 kB / 0.7506 GB, free: 24.29 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.804e-06/0.4336, allocations: 0 / 0.7506 GB, free: 24.29 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.29e-05/0.4336, allocations: 5.25 kB / 0.7506 GB, free: 24.29 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.4336, allocations: 0 / 0.7506 GB, free: 24.29 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.4336, allocations: 0.7969 kB / 0.7506 GB, free: 24.29 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000182/0.4338, allocations: 206.8 kB / 0.7508 GB, free: 24.15 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 3.77e-05/0.4339, allocations: 90.3 kB / 0.7509 GB, free: 24.05 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.195e-05/0.4339, allocations: 3.938 kB / 0.7509 GB, free: 24.05 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001726/0.4341, allocations: 34.86 kB / 0.7509 GB, free: 24.04 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.307e-05/0.4341, allocations: 27.41 kB / 0.7509 GB, free: 24.04 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.144e-05/0.4342, allocations: 1.172 kB / 0.7509 GB, free: 24.04 MB / 0.5105 GB Notification: Performance of sort global known variables: time 7.077e-05/0.4342, allocations: 130.1 kB / 0.7511 GB, free: 23.96 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0002271/0.4345, allocations: 31.8 kB / 0.7511 GB, free: 23.96 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.0001142/0.4346, allocations: 111.8 kB / 0.7512 GB, free: 23.86 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0001511/0.4347, allocations: 89.19 kB / 0.7513 GB, free: 23.86 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.4347, allocations: 0.75 kB / 0.7513 GB, free: 23.86 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 6.158e-05/0.4348, allocations: 42.09 kB / 0.7513 GB, free: 23.86 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001722/0.435, allocations: 20.64 kB / 0.7513 GB, free: 23.85 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004017/0.4354, allocations: 197 kB / 0.7515 GB, free: 23.74 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002875/0.4357, allocations: 0.7622 MB / 0.7523 GB, free: 23.03 MB / 0.5105 GB Notification: Performance of SimCode: time 2.51e-07/0.4357, allocations: 0 / 0.7523 GB, free: 23.03 MB / 0.5105 GB Notification: Performance of Templates: time 0.004942/0.4407, allocations: 1.85 MB / 0.7541 GB, free: 22.91 MB / 0.5105 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.makefile (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 & ./IDEAS_dev_IDEAS.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe 2>&1)