Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.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.Controls.OBC.UnitConversions.Validation.To_degC,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_UnitConversions_Validation_To_degC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_degC,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_UnitConversions_Validation_To_degC",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.357/1.357, allocations: 289.8 MB / 297.1 MB, free: 6.609 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.0009801/0.0009802, allocations: 169.4 kB / 366.3 MB, free: 1.953 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.06/1.06, allocations: 205.1 MB / 0.6256 GB, free: 5.812 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.0008525/0.0008526, allocations: 80.61 kB / 0.7395 GB, free: 39.64 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2243/0.2252, allocations: 122.4 MB / 0.8591 GB, free: 13.23 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4749/0.7001, allocations: 116.3 MB / 0.9727 GB, free: 68.54 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.144/0.8442, allocations: 137.7 MB / 1.107 GB, free: 10.68 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000269/0.8445, allocations: 64.67 kB / 1.107 GB, free: 10.62 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.003492/0.848, allocations: 1.276 MB / 1.108 GB, free: 9.312 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.153e-05/0.848, allocations: 8 kB / 1.108 GB, free: 9.305 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.383e-05/0.8481, allocations: 12.78 kB / 1.108 GB, free: 9.293 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001618/0.8483, allocations: 188.5 kB / 1.109 GB, free: 9.07 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.122e-05/0.8483, allocations: 0 / 1.109 GB, free: 9.07 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.175e-05/0.8483, allocations: 8 kB / 1.109 GB, free: 9.062 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.574e-05/0.8484, allocations: 39.91 kB / 1.109 GB, free: 9.023 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001185/0.8485, allocations: 79.39 kB / 1.109 GB, free: 8.934 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.263e-06/0.8485, allocations: 0 / 1.109 GB, free: 8.934 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.179e-05/0.8486, allocations: 0 / 1.109 GB, free: 8.934 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.535e-06/0.8486, allocations: 0 / 1.109 GB, free: 8.934 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005386/0.8491, allocations: 426.7 kB / 1.109 GB, free: 8.477 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 4.633e-05/0.8492, allocations: 41.22 kB / 1.109 GB, free: 8.418 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.85e-05/0.8492, allocations: 13.78 kB / 1.109 GB, free: 8.398 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.136e-05/0.8492, allocations: 0 / 1.109 GB, free: 8.398 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.403e-05/0.8493, allocations: 46.48 kB / 1.109 GB, free: 8.344 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=2): time 2.946e-06/0.8493, allocations: 3.984 kB / 1.109 GB, free: 8.34 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2): time 0.0001673/0.8495, allocations: 45.61 kB / 1.109 GB, free: 8.289 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.593e-05/0.8495, allocations: 81.11 kB / 1.109 GB, free: 8.191 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001169/0.8496, allocations: 131.5 kB / 1.11 GB, free: 8.047 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.032e-05/0.8496, allocations: 25.7 kB / 1.11 GB, free: 8.016 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 5.344e-05/0.8497, allocations: 104.4 kB / 1.11 GB, free: 7.91 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 8.916e-06/0.8497, allocations: 11.89 kB / 1.11 GB, free: 7.898 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.09e-06/0.8497, allocations: 0 / 1.11 GB, free: 7.898 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 8.888e-05/0.8498, allocations: 321.4 kB / 1.11 GB, free: 7.578 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.941e-05/0.8499, allocations: 12.06 kB / 1.11 GB, free: 7.566 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.433e-05/0.8499, allocations: 17.72 kB / 1.11 GB, free: 7.543 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.867e-05/0.8499, allocations: 20.77 kB / 1.11 GB, free: 7.523 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.8499, allocations: 0 / 1.11 GB, free: 7.523 MB / 0.7136 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.999e-05/0.85, allocations: 57.55 kB / 1.11 GB, free: 7.461 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.224e-05/0.85, allocations: 6.188 kB / 1.11 GB, free: 7.457 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.783e-06/0.85, allocations: 4.562 kB / 1.11 GB, free: 7.453 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.598e-06/0.8501, allocations: 4.062 kB / 1.11 GB, free: 7.449 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.52e-05/0.8501, allocations: 11.92 kB / 1.11 GB, free: 7.438 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.831e-06/0.8502, allocations: 0.8438 kB / 1.11 GB, free: 7.438 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.482e-05/0.8502, allocations: 4 kB / 1.11 GB, free: 7.434 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.934e-06/0.8502, allocations: 4 kB / 1.11 GB, free: 7.43 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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.726e-05/0.8503, allocations: 101 kB / 1.11 GB, free: 7.324 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.658e-05/0.8503, allocations: 11.81 kB / 1.11 GB, free: 7.312 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.244e-05/0.8504, allocations: 11.59 kB / 1.11 GB, free: 7.301 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.8504, allocations: 0 / 1.11 GB, free: 7.301 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.8504, allocations: 4 kB / 1.11 GB, free: 7.297 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.372e-06/0.8504, allocations: 7.984 kB / 1.11 GB, free: 7.289 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00035/0.8508, allocations: 451.9 kB / 1.111 GB, free: 6.797 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.8508, allocations: 0 / 1.111 GB, free: 6.797 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.527e-05/0.8508, allocations: 4 kB / 1.111 GB, free: 6.793 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.505e-06/0.8508, allocations: 0 / 1.111 GB, free: 6.793 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.41e-06/0.8508, allocations: 0 / 1.111 GB, free: 6.793 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.395e-06/0.8508, allocations: 4.062 kB / 1.111 GB, free: 6.789 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.454e-06/0.8508, allocations: 4.656 kB / 1.111 GB, free: 6.785 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 8.458e-05/0.8509, allocations: 95.45 kB / 1.111 GB, free: 6.664 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0001926/0.8511, allocations: 468 kB / 1.111 GB, free: 6.176 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.009e-05/0.8512, allocations: 88.95 kB / 1.111 GB, free: 6.07 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.889e-05/0.8512, allocations: 7.906 kB / 1.111 GB, free: 6.062 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.483e-05/0.8512, allocations: 0 / 1.111 GB, free: 6.062 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.402e-05/0.8513, allocations: 0 / 1.111 GB, free: 6.062 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.498e-06/0.8513, allocations: 5.391 kB / 1.111 GB, free: 6.059 MB / 0.7136 GB Notification: Performance of sort global known variables: time 6.731e-05/0.8513, allocations: 113.8 kB / 1.111 GB, free: 5.949 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0007699/0.8521, allocations: 11.91 kB / 1.111 GB, free: 5.938 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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.0001298/0.8523, allocations: 99.23 kB / 1.112 GB, free: 5.832 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 7.887e-05/0.8523, allocations: 19.94 kB / 1.112 GB, free: 5.812 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.8524, allocations: 0 / 1.112 GB, free: 5.812 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 1.653e-05/0.8524, allocations: 12 kB / 1.112 GB, free: 5.801 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001067/0.8525, allocations: 0 / 1.112 GB, free: 5.801 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002873/0.8528, allocations: 124.4 kB / 1.112 GB, free: 5.656 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002588/0.853, allocations: 0.711 MB / 1.112 GB, free: 4.922 MB / 0.7136 GB Notification: Performance of SimCode: time 2.3e-07/0.8531, allocations: 0 / 1.112 GB, free: 4.922 MB / 0.7136 GB (rm -f Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_UnitConversions_Validation_To_degC_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_UnitConversions_Validation_To_degC.fmu > Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.pipe 2>&1)