Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.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.Controls.OBC.UnitConversions.Validation.To_degC,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_UnitConversions_Validation_To_degC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_degC,fileNamePrefix="Buildings_maint_7_0_x_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 7.0.3-maint.7.0.x/package.mo): time 1.167/1.167, allocations: 249.4 MB / 256.7 MB, free: 15.73 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00101/0.00101, allocations: 180.5 kB / 316 MB, free: 7.141 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.36/1.36, allocations: 205.1 MB / 0.5667 GB, free: 23.62 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.0008319/0.0008322, allocations: 83.39 kB / 0.671 GB, free: 0.8125 MB / 0.4948 GB Notification: Performance of FrontEnd - loaded program: time 0.2133/0.2141, allocations: 112.5 MB / 0.7808 GB, free: 228 kB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4029/0.6171, allocations: 106.3 MB / 0.8846 GB, free: 76.15 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1438/0.7609, allocations: 130.6 MB / 1.012 GB, free: 9.348 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002265/0.7612, allocations: 71.95 kB / 1.012 GB, free: 9.277 MB / 0.6667 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.003131/0.7643, allocations: 1.278 MB / 1.014 GB, free: 7.953 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.2e-05/0.7644, allocations: 8 kB / 1.014 GB, free: 7.945 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.844e-05/0.7644, allocations: 15.81 kB / 1.014 GB, free: 7.93 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001559/0.7646, allocations: 182.8 kB / 1.014 GB, free: 7.711 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.261e-05/0.7646, allocations: 0 / 1.014 GB, free: 7.711 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.564e-05/0.7646, allocations: 8 kB / 1.014 GB, free: 7.703 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.878e-05/0.7647, allocations: 36.22 kB / 1.014 GB, free: 7.668 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000128/0.7648, allocations: 87.3 kB / 1.014 GB, free: 7.57 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.376e-06/0.7649, allocations: 7.875 kB / 1.014 GB, free: 7.562 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.024e-05/0.7649, allocations: 0 / 1.014 GB, free: 7.562 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.04e-06/0.7649, allocations: 0 / 1.014 GB, free: 7.562 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005008/0.7654, allocations: 425.2 kB / 1.014 GB, free: 7.105 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 5.149e-05/0.7655, allocations: 41.22 kB / 1.014 GB, free: 7.047 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.899e-05/0.7655, allocations: 17.81 kB / 1.014 GB, free: 7.023 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 7.434e-06/0.7655, allocations: 0 / 1.014 GB, free: 7.023 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.996e-05/0.7655, allocations: 34.56 kB / 1.014 GB, free: 6.98 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=2): time 2.054e-06/0.7655, allocations: 3.984 kB / 1.014 GB, free: 6.977 MB / 0.6667 GB Notification: Performance of matching and sorting (n=2): time 0.0001496/0.7657, allocations: 41.61 kB / 1.014 GB, free: 6.93 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.06e-05/0.7657, allocations: 89.11 kB / 1.014 GB, free: 6.824 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001161/0.7659, allocations: 132.8 kB / 1.015 GB, free: 6.68 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 9.438e-06/0.7659, allocations: 25.7 kB / 1.015 GB, free: 6.648 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 5.164e-05/0.7659, allocations: 115.6 kB / 1.015 GB, free: 6.531 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 7.013e-06/0.7659, allocations: 7.906 kB / 1.015 GB, free: 6.523 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.176e-06/0.766, allocations: 0 / 1.015 GB, free: 6.523 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 9.016e-05/0.766, allocations: 321.4 kB / 1.015 GB, free: 6.203 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.904e-05/0.7661, allocations: 8 kB / 1.015 GB, free: 6.195 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.258e-05/0.7662, allocations: 21.72 kB / 1.015 GB, free: 6.168 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.452e-05/0.7662, allocations: 8 kB / 1.015 GB, free: 6.16 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.7662, allocations: 0 / 1.015 GB, free: 6.16 MB / 0.6667 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.383e-05/0.7663, allocations: 65.53 kB / 1.015 GB, free: 6.09 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.168e-05/0.7663, allocations: 6.5 kB / 1.015 GB, free: 6.086 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.967e-06/0.7663, allocations: 0 / 1.015 GB, free: 6.086 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.191e-05/0.7663, allocations: 8 kB / 1.015 GB, free: 6.078 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.114e-05/0.7664, allocations: 4.062 kB / 1.015 GB, free: 6.074 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.471e-06/0.7664, allocations: 7.984 kB / 1.015 GB, free: 6.066 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.404e-05/0.7665, allocations: 3.906 kB / 1.015 GB, free: 6.062 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.902e-06/0.7665, allocations: 4 kB / 1.015 GB, free: 6.059 MB / 0.6667 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 5.255e-05/0.7665, allocations: 101 kB / 1.015 GB, free: 5.953 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.584e-05/0.7666, allocations: 7.906 kB / 1.015 GB, free: 5.945 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.053e-05/0.7666, allocations: 19.53 kB / 1.015 GB, free: 5.93 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.354e-06/0.7666, allocations: 0 / 1.015 GB, free: 5.93 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/0.7666, allocations: 3.938 kB / 1.015 GB, free: 5.926 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.947e-06/0.7666, allocations: 0 / 1.015 GB, free: 5.926 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003384/0.767, allocations: 459.3 kB / 1.016 GB, free: 5.426 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.767, allocations: 3.938 kB / 1.016 GB, free: 5.422 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.428e-05/0.767, allocations: 4 kB / 1.016 GB, free: 5.418 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.767, allocations: 0 / 1.016 GB, free: 5.418 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.318e-06/0.7671, allocations: 7.891 kB / 1.016 GB, free: 5.41 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.7671, allocations: 0 / 1.016 GB, free: 5.41 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.7671, allocations: 0 / 1.016 GB, free: 5.41 MB / 0.6667 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 8.313e-05/0.7672, allocations: 95.62 kB / 1.016 GB, free: 5.289 MB / 0.6667 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.000184/0.7673, allocations: 472 kB / 1.016 GB, free: 4.797 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 5.275e-05/0.7674, allocations: 92.94 kB / 1.016 GB, free: 4.688 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.456e-05/0.7674, allocations: 0 / 1.016 GB, free: 4.688 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.451e-05/0.7675, allocations: 0 / 1.016 GB, free: 4.688 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.286e-05/0.7675, allocations: 4 kB / 1.016 GB, free: 4.684 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.064e-06/0.7675, allocations: 0 / 1.016 GB, free: 4.684 MB / 0.6667 GB Notification: Performance of sort global known variables: time 6.705e-05/0.7676, allocations: 112.4 kB / 1.016 GB, free: 4.574 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.0007202/0.7683, allocations: 11.91 kB / 1.016 GB, free: 4.562 MB / 0.6667 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.0001239/0.7684, allocations: 103.2 kB / 1.017 GB, free: 4.453 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 8.16e-05/0.7685, allocations: 16 kB / 1.017 GB, free: 4.438 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.7685, allocations: 0 / 1.017 GB, free: 4.438 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 1.331e-05/0.7685, allocations: 8 kB / 1.017 GB, free: 4.43 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001236/0.7687, allocations: 9.797 kB / 1.017 GB, free: 4.422 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003411/0.769, allocations: 116.4 kB / 1.017 GB, free: 4.285 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003639/0.7694, allocations: 0.7149 MB / 1.017 GB, free: 3.547 MB / 0.6667 GB Notification: Performance of SimCode: time 2.31e-07/0.7694, allocations: 0 / 1.017 GB, free: 3.547 MB / 0.6667 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_UnitConversions_Validation_To_degC_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_UnitConversions_Validation_To_degC.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.pipe 2>&1)