Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.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.From_inH2O,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_UnitConversions_Validation_From_inH2O",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_UnitConversions_Validation_From_inH2O",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.392/1.392, allocations: 289.8 MB / 297 MB, free: 6.723 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.001115/0.001115, allocations: 177.3 kB / 366.3 MB, free: 2.012 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.083/1.083, allocations: 205.1 MB / 0.6256 GB, free: 5.859 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.0007924/0.0007924, allocations: 93.03 kB / 0.7395 GB, free: 39.69 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.1982/0.199, allocations: 122.4 MB / 0.8591 GB, free: 13.28 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4809/0.68, allocations: 116.3 MB / 0.9726 GB, free: 68.82 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1447/0.8247, allocations: 137.7 MB / 1.107 GB, free: 10.82 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002273/0.825, allocations: 67.95 kB / 1.107 GB, free: 10.76 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.002739/0.8278, allocations: 1.203 MB / 1.108 GB, free: 9.523 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.274e-05/0.8278, allocations: 8 kB / 1.108 GB, free: 9.516 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.267e-05/0.8279, allocations: 15.81 kB / 1.108 GB, free: 9.5 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001265/0.828, allocations: 182.8 kB / 1.109 GB, free: 9.281 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.154e-05/0.828, allocations: 4 kB / 1.109 GB, free: 9.277 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.139e-05/0.828, allocations: 4.562 kB / 1.109 GB, free: 9.273 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.431e-05/0.8281, allocations: 32 kB / 1.109 GB, free: 9.242 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001078/0.8282, allocations: 87.23 kB / 1.109 GB, free: 9.145 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.023e-06/0.8283, allocations: 4 kB / 1.109 GB, free: 9.141 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.698e-06/0.8283, allocations: 0 / 1.109 GB, free: 9.141 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.468e-06/0.8283, allocations: 0 / 1.109 GB, free: 9.141 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004369/0.8287, allocations: 414.6 kB / 1.109 GB, free: 8.695 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 4.076e-05/0.8288, allocations: 37.19 kB / 1.109 GB, free: 8.641 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.588e-05/0.8288, allocations: 17.84 kB / 1.109 GB, free: 8.617 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 6.452e-06/0.8288, allocations: 0 / 1.109 GB, free: 8.617 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.779e-05/0.8288, allocations: 38.55 kB / 1.109 GB, free: 8.57 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=2): time 9.42e-07/0.8289, allocations: 0 / 1.109 GB, free: 8.57 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2): time 0.0001333/0.829, allocations: 49.55 kB / 1.109 GB, free: 8.516 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.667e-05/0.829, allocations: 77.11 kB / 1.109 GB, free: 8.422 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.178e-05/0.8291, allocations: 123.7 kB / 1.109 GB, free: 8.293 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.053e-05/0.8291, allocations: 25.7 kB / 1.109 GB, free: 8.262 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.293e-05/0.8292, allocations: 112 kB / 1.11 GB, free: 8.148 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 5.991e-06/0.8292, allocations: 3.906 kB / 1.11 GB, free: 8.145 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.016e-06/0.8292, allocations: 4.062 kB / 1.11 GB, free: 8.141 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 8.067e-05/0.8293, allocations: 321.4 kB / 1.11 GB, free: 7.82 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.552e-05/0.8293, allocations: 8 kB / 1.11 GB, free: 7.812 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.035e-05/0.8293, allocations: 23.41 kB / 1.11 GB, free: 7.785 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.046e-05/0.8294, allocations: 4 kB / 1.11 GB, free: 7.781 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.202e-06/0.8294, allocations: 0 / 1.11 GB, free: 7.781 MB / 0.7136 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.164e-05/0.8295, allocations: 61.69 kB / 1.11 GB, free: 7.715 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 9.699e-06/0.8295, allocations: 14.25 kB / 1.11 GB, free: 7.703 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.8295, allocations: 0 / 1.11 GB, free: 7.703 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.317e-06/0.8295, allocations: 7.922 kB / 1.11 GB, free: 7.695 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.963e-05/0.8296, allocations: 4 kB / 1.11 GB, free: 7.691 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.582e-06/0.8296, allocations: 4 kB / 1.11 GB, free: 7.688 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.911e-05/0.8296, allocations: 7.844 kB / 1.11 GB, free: 7.68 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.34e-06/0.8296, allocations: 3.984 kB / 1.11 GB, free: 7.676 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 5.081e-05/0.8297, allocations: 105 kB / 1.11 GB, free: 7.566 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.264e-05/0.8297, allocations: 3.906 kB / 1.11 GB, free: 7.562 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.352e-05/0.8298, allocations: 15.59 kB / 1.11 GB, free: 7.547 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.172e-06/0.8298, allocations: 0 / 1.11 GB, free: 7.547 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.347e-06/0.8298, allocations: 0 / 1.11 GB, free: 7.547 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.478e-06/0.8298, allocations: 4 kB / 1.11 GB, free: 7.543 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003141/0.8301, allocations: 451.3 kB / 1.111 GB, free: 7.051 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.8301, allocations: 0.5625 kB / 1.111 GB, free: 7.051 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.375e-05/0.8301, allocations: 4 kB / 1.111 GB, free: 7.047 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.8301, allocations: 4.062 kB / 1.111 GB, free: 7.043 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.773e-06/0.8302, allocations: 4 kB / 1.111 GB, free: 7.039 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.32e-07/0.8302, allocations: 0 / 1.111 GB, free: 7.039 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.907e-06/0.8302, allocations: 7.922 kB / 1.111 GB, free: 7.031 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 7.083e-05/0.8302, allocations: 88.38 kB / 1.111 GB, free: 6.918 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0001437/0.8304, allocations: 472 kB / 1.111 GB, free: 6.426 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.346e-05/0.8304, allocations: 81.02 kB / 1.111 GB, free: 6.328 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.453e-05/0.8305, allocations: 7.984 kB / 1.111 GB, free: 6.32 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.262e-05/0.8305, allocations: 0 / 1.111 GB, free: 6.32 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.231e-05/0.8305, allocations: 11.88 kB / 1.111 GB, free: 6.309 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.226e-06/0.8305, allocations: 4 kB / 1.111 GB, free: 6.305 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.749e-05/0.8306, allocations: 99.28 kB / 1.111 GB, free: 6.207 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0007631/0.8313, allocations: 11.91 kB / 1.111 GB, free: 6.195 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 9.132e-05/0.8314, allocations: 104 kB / 1.111 GB, free: 6.086 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 6.185e-05/0.8315, allocations: 12 kB / 1.111 GB, free: 6.074 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.8315, allocations: 4 kB / 1.111 GB, free: 6.07 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 1.392e-05/0.8315, allocations: 12.12 kB / 1.111 GB, free: 6.059 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.148e-05/0.8316, allocations: 4 kB / 1.111 GB, free: 6.055 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002293/0.8319, allocations: 109.3 kB / 1.112 GB, free: 5.922 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002069/0.8321, allocations: 0.7075 MB / 1.112 GB, free: 5.188 MB / 0.7136 GB Notification: Performance of SimCode: time 2.2e-07/0.8321, allocations: 0 / 1.112 GB, free: 5.188 MB / 0.7136 GB (rm -f Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_UnitConversions_Validation_From_inH2O_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_UnitConversions_Validation_From_inH2O.fmu > Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.pipe 2>&1)