Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.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_bar,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_UnitConversions_Validation_From_bar",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_bar,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_UnitConversions_Validation_From_bar",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.369/1.369, allocations: 289.8 MB / 297.1 MB, free: 6.727 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.000933/0.0009329, allocations: 173.3 kB / 366.3 MB, free: 1.996 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.065/1.065, allocations: 205.1 MB / 0.6256 GB, free: 5.805 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.0008244/0.0008244, allocations: 88.17 kB / 0.7395 GB, free: 39.67 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2004/0.2013, allocations: 122.4 MB / 0.8591 GB, free: 13.28 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5041/0.7054, allocations: 116.3 MB / 0.9727 GB, free: 68.2 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.141/0.8464, allocations: 137.7 MB / 1.107 GB, free: 10.75 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001512/0.8466, allocations: 64.53 kB / 1.107 GB, free: 10.69 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.00258/0.8492, allocations: 1.213 MB / 1.108 GB, free: 9.445 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.372e-05/0.8492, allocations: 12.61 kB / 1.108 GB, free: 9.434 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.834e-05/0.8493, allocations: 11.81 kB / 1.108 GB, free: 9.422 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001114/0.8494, allocations: 175.8 kB / 1.109 GB, free: 9.211 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.428e-06/0.8494, allocations: 4 kB / 1.109 GB, free: 9.207 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.188e-05/0.8494, allocations: 8.5 kB / 1.109 GB, free: 9.199 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.794e-05/0.8495, allocations: 33.62 kB / 1.109 GB, free: 9.168 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001113/0.8496, allocations: 85.23 kB / 1.109 GB, free: 9.074 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.299e-06/0.8496, allocations: 0 / 1.109 GB, free: 9.074 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.837e-06/0.8497, allocations: 0 / 1.109 GB, free: 9.074 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.31e-06/0.8497, allocations: 4.781 kB / 1.109 GB, free: 9.07 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004178/0.8501, allocations: 420 kB / 1.109 GB, free: 8.621 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 4.086e-05/0.8501, allocations: 41.14 kB / 1.109 GB, free: 8.562 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.332e-05/0.8502, allocations: 13.84 kB / 1.109 GB, free: 8.543 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 5.931e-06/0.8502, allocations: 0 / 1.109 GB, free: 8.543 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.923e-05/0.8502, allocations: 47.28 kB / 1.109 GB, free: 8.488 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=2): time 7.91e-07/0.8502, allocations: 0.75 kB / 1.109 GB, free: 8.488 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2): time 0.0001262/0.8504, allocations: 37.61 kB / 1.109 GB, free: 8.445 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.97e-05/0.8504, allocations: 77.11 kB / 1.109 GB, free: 8.352 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.016e-05/0.8505, allocations: 127.5 kB / 1.109 GB, free: 8.219 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.075e-05/0.8505, allocations: 25.7 kB / 1.109 GB, free: 8.188 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.566e-05/0.8506, allocations: 108 kB / 1.11 GB, free: 8.078 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 7.835e-06/0.8506, allocations: 11.89 kB / 1.11 GB, free: 8.066 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.354e-06/0.8506, allocations: 4.062 kB / 1.11 GB, free: 8.062 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 8.838e-05/0.8507, allocations: 318.7 kB / 1.11 GB, free: 7.746 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.869e-05/0.8507, allocations: 8 kB / 1.11 GB, free: 7.738 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.24e-05/0.8507, allocations: 21.66 kB / 1.11 GB, free: 7.711 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.331e-05/0.8508, allocations: 11.98 kB / 1.11 GB, free: 7.699 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-06/0.8508, allocations: 0 / 1.11 GB, free: 7.699 MB / 0.7136 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.259e-05/0.8508, allocations: 53.67 kB / 1.11 GB, free: 7.641 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 9.047e-06/0.8509, allocations: 8 kB / 1.11 GB, free: 7.633 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.617e-06/0.8509, allocations: 0 / 1.11 GB, free: 7.633 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.095e-06/0.8509, allocations: 224 / 1.11 GB, free: 7.633 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.106e-05/0.8509, allocations: 11.94 kB / 1.11 GB, free: 7.621 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.008e-06/0.851, allocations: 7.922 kB / 1.11 GB, free: 7.613 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.023e-05/0.851, allocations: 11.84 kB / 1.11 GB, free: 7.602 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.027e-06/0.851, allocations: 0 / 1.11 GB, free: 7.602 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 4.957e-05/0.8511, allocations: 109.5 kB / 1.11 GB, free: 7.488 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.4e-05/0.8511, allocations: 7.906 kB / 1.11 GB, free: 7.48 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.178e-05/0.8511, allocations: 7.594 kB / 1.11 GB, free: 7.473 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.372e-06/0.8511, allocations: 0 / 1.11 GB, free: 7.473 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.8512, allocations: 4 kB / 1.11 GB, free: 7.469 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.333e-06/0.8512, allocations: 0 / 1.11 GB, free: 7.469 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003149/0.8515, allocations: 452 kB / 1.111 GB, free: 6.977 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.8515, allocations: 96 / 1.111 GB, free: 6.977 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.582e-05/0.8515, allocations: 4 kB / 1.111 GB, free: 6.973 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.785e-06/0.8515, allocations: 8.047 kB / 1.111 GB, free: 6.965 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.42e-06/0.8515, allocations: 3.984 kB / 1.111 GB, free: 6.961 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.8515, allocations: 0 / 1.111 GB, free: 6.961 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.53e-06/0.8516, allocations: 4 kB / 1.111 GB, free: 6.957 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 7.326e-05/0.8516, allocations: 88.56 kB / 1.111 GB, free: 6.844 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0001514/0.8518, allocations: 468 kB / 1.111 GB, free: 6.355 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.141e-05/0.8518, allocations: 93 kB / 1.111 GB, free: 6.246 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.144e-05/0.8519, allocations: 0 / 1.111 GB, free: 6.246 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.319e-05/0.8519, allocations: 0 / 1.111 GB, free: 6.246 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.169e-05/0.8519, allocations: 3.938 kB / 1.111 GB, free: 6.242 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.437e-06/0.8519, allocations: 8 kB / 1.111 GB, free: 6.234 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5.212e-05/0.852, allocations: 101.9 kB / 1.111 GB, free: 6.137 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0007627/0.8527, allocations: 15.91 kB / 1.111 GB, free: 6.121 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 8.474e-05/0.8528, allocations: 95.25 kB / 1.111 GB, free: 6.02 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 6.104e-05/0.8529, allocations: 23.94 kB / 1.111 GB, free: 5.996 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.383e-06/0.8529, allocations: 0.75 kB / 1.111 GB, free: 5.996 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 1.1e-05/0.8529, allocations: 4.188 kB / 1.111 GB, free: 5.992 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.89e-05/0.853, allocations: 4.062 kB / 1.111 GB, free: 5.988 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002151/0.8532, allocations: 111.7 kB / 1.112 GB, free: 5.855 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002211/0.8535, allocations: 0.7152 MB / 1.112 GB, free: 5.113 MB / 0.7136 GB Notification: Performance of SimCode: time 2.61e-07/0.8535, allocations: 1.688 kB / 1.112 GB, free: 5.113 MB / 0.7136 GB (rm -f Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_UnitConversions_Validation_From_bar_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_UnitConversions_Validation_From_bar.fmu > Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe 2>&1)