Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.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 Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_quad,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_UnitConversions_Validation_From_quad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_quad,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_UnitConversions_Validation_From_quad",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.0.0/package.mo): time 2.12/2.12, allocations: 284.8 MB / 292.1 MB, free: 10.77 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.001602/0.001602, allocations: 193.2 kB / 360.3 MB, free: 7.52 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.62/1.62, allocations: 205.1 MB / 0.6187 GB, free: 13.29 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.001214/0.001213, allocations: 89.22 kB / 0.7317 GB, free: 45.12 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2394/0.2407, allocations: 121.4 MB / 0.8502 GB, free: 3.926 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5582/0.7989, allocations: 115.2 MB / 0.9627 GB, free: 78.53 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.205/1.004, allocations: 136.6 MB / 1.096 GB, free: 4.273 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002506/1.004, allocations: 66.7 kB / 1.096 GB, free: 4.211 MB / 0.698 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.004326/1.009, allocations: 1.204 MB / 1.097 GB, free: 2.988 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.16e-05/1.009, allocations: 8.5 kB / 1.097 GB, free: 2.98 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.237e-05/1.009, allocations: 13.72 kB / 1.097 GB, free: 2.969 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001853/1.009, allocations: 174.9 kB / 1.098 GB, free: 2.758 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.727e-05/1.009, allocations: 4.844 kB / 1.098 GB, free: 2.754 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.527e-05/1.009, allocations: 4 kB / 1.098 GB, free: 2.75 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001394/1.009, allocations: 32 kB / 1.098 GB, free: 2.719 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001871/1.009, allocations: 89.36 kB / 1.098 GB, free: 2.621 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.718e-06/1.009, allocations: 0.5 kB / 1.098 GB, free: 2.621 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.265e-05/1.009, allocations: 0 / 1.098 GB, free: 2.621 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.961e-06/1.009, allocations: 0.8438 kB / 1.098 GB, free: 2.621 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006928/1.01, allocations: 417.5 kB / 1.098 GB, free: 2.176 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 6.499e-05/1.01, allocations: 43.41 kB / 1.098 GB, free: 2.117 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.542e-05/1.01, allocations: 13.84 kB / 1.098 GB, free: 2.098 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 8.957e-06/1.01, allocations: 2.719 kB / 1.098 GB, free: 2.098 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.105e-05/1.01, allocations: 33.28 kB / 1.098 GB, free: 2.059 MB / 0.698 GB Notification: Performance of pre-optimization done (n=2): time 1.563e-06/1.01, allocations: 4.688 kB / 1.098 GB, free: 2.055 MB / 0.698 GB Notification: Performance of matching and sorting (n=2): time 0.0002083/1.01, allocations: 46.36 kB / 1.098 GB, free: 2.004 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.064e-05/1.011, allocations: 81.58 kB / 1.098 GB, free: 1.91 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001494/1.011, allocations: 123.7 kB / 1.098 GB, free: 1.781 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.091e-05/1.011, allocations: 30.58 kB / 1.098 GB, free: 1.746 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 7.215e-05/1.011, allocations: 112 kB / 1.099 GB, free: 1.633 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 8.897e-06/1.011, allocations: 4.531 kB / 1.099 GB, free: 1.629 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.998e-06/1.011, allocations: 0.5938 kB / 1.099 GB, free: 1.629 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001353/1.011, allocations: 322.3 kB / 1.099 GB, free: 1.309 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.051e-05/1.011, allocations: 8 kB / 1.099 GB, free: 1.301 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.368e-05/1.011, allocations: 22.36 kB / 1.099 GB, free: 1.273 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.553e-05/1.011, allocations: 5.469 kB / 1.099 GB, free: 1.27 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/1.011, allocations: 0 / 1.099 GB, free: 1.27 MB / 0.698 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001301/1.011, allocations: 58.14 kB / 1.099 GB, free: 1.207 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.503e-05/1.011, allocations: 9.562 kB / 1.099 GB, free: 1.199 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.15e-06/1.011, allocations: 0 / 1.099 GB, free: 1.199 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.452e-05/1.011, allocations: 4.703 kB / 1.099 GB, free: 1.195 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.384e-05/1.011, allocations: 5.703 kB / 1.099 GB, free: 1.191 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.498e-06/1.011, allocations: 7.938 kB / 1.099 GB, free: 1.184 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.974e-05/1.012, allocations: 8.344 kB / 1.099 GB, free: 1.176 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.294e-06/1.012, allocations: 1.312 kB / 1.099 GB, free: 1.176 MB / 0.698 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 7.748e-05/1.012, allocations: 108.8 kB / 1.099 GB, free: 1.062 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.881e-05/1.012, allocations: 3.906 kB / 1.099 GB, free: 1.059 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.35e-05/1.012, allocations: 12.09 kB / 1.099 GB, free: 1.051 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/1.012, allocations: 4.562 kB / 1.099 GB, free: 1.047 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.224e-06/1.012, allocations: 4.516 kB / 1.099 GB, free: 1.043 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.911e-06/1.012, allocations: 4 kB / 1.099 GB, free: 1.039 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005017/1.012, allocations: 457.8 kB / 1.1 GB, free: 0.543 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/1.012, allocations: 0 / 1.1 GB, free: 0.543 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.414e-05/1.012, allocations: 4 kB / 1.1 GB, free: 0.5391 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.477e-06/1.012, allocations: 4.688 kB / 1.1 GB, free: 0.5352 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.943e-06/1.012, allocations: 0 / 1.1 GB, free: 0.5352 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/1.012, allocations: 0 / 1.1 GB, free: 0.5352 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/1.012, allocations: 0 / 1.1 GB, free: 0.5352 MB / 0.698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001225/1.013, allocations: 88.45 kB / 1.1 GB, free: 432 kB / 0.698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003076/1.013, allocations: 472 kB / 1.1 GB, free: 15.93 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 6.986e-05/1.013, allocations: 97.06 kB / 1.1 GB, free: 15.82 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.744e-05/1.013, allocations: 0 / 1.1 GB, free: 15.82 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.689e-05/1.013, allocations: 1.938 kB / 1.1 GB, free: 15.82 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.411e-05/1.013, allocations: 3.906 kB / 1.1 GB, free: 15.81 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.382e-06/1.013, allocations: 4 kB / 1.1 GB, free: 15.81 MB / 0.7136 GB Notification: Performance of sort global known variables: time 9.051e-05/1.013, allocations: 100.7 kB / 1.1 GB, free: 15.71 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001047/1.014, allocations: 12.84 kB / 1.1 GB, free: 15.7 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.000142/1.014, allocations: 95.25 kB / 1.1 GB, free: 15.6 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 9.399e-05/1.014, allocations: 20 kB / 1.1 GB, free: 15.58 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/1.015, allocations: 0 / 1.1 GB, free: 15.58 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.558e-05/1.015, allocations: 11.94 kB / 1.1 GB, free: 15.57 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001298/1.015, allocations: 6.062 kB / 1.1 GB, free: 15.56 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003428/1.015, allocations: 109.1 kB / 1.101 GB, free: 15.43 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003776/1.015, allocations: 0.7194 MB / 1.101 GB, free: 14.68 MB / 0.7136 GB Notification: Performance of SimCode: time 6.72e-07/1.015, allocations: 0.8438 kB / 1.101 GB, free: 14.68 MB / 0.7136 GB (rm -f Buildings_8.0.0_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Controls_OBC_UnitConversions_Validation_From_quad_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Controls_OBC_UnitConversions_Validation_From_quad.fmu > Buildings_8.0.0_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe 2>&1)