Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.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_BtuPerHour,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_UnitConversions_Validation_From_BtuPerHour",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_UnitConversions_Validation_From_BtuPerHour",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.399/1.399, allocations: 289.8 MB / 297.1 MB, free: 6.641 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.001011/0.001011, 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.067/1.067, allocations: 205.1 MB / 0.6256 GB, free: 5.844 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.0008358/0.0008358, allocations: 97.23 kB / 0.7396 GB, free: 39.7 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.1992/0.2001, allocations: 122.4 MB / 0.8591 GB, free: 13.31 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4626/0.6627, allocations: 116.3 MB / 0.9727 GB, free: 68.46 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.144/0.8068, allocations: 137.7 MB / 1.107 GB, free: 10.76 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001834/0.807, allocations: 74.31 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.002677/0.8097, allocations: 1.204 MB / 1.108 GB, free: 9.453 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.638e-05/0.8098, allocations: 8 kB / 1.108 GB, free: 9.445 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.483e-05/0.8098, allocations: 15.81 kB / 1.108 GB, free: 9.43 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001405/0.8099, allocations: 179.7 kB / 1.109 GB, free: 9.215 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.352e-05/0.81, allocations: 4 kB / 1.109 GB, free: 9.211 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.218e-05/0.81, allocations: 4 kB / 1.109 GB, free: 9.207 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.776e-05/0.8101, allocations: 32 kB / 1.109 GB, free: 9.176 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001192/0.8102, allocations: 87.3 kB / 1.109 GB, free: 9.078 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.764e-06/0.8102, allocations: 0 / 1.109 GB, free: 9.078 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.04e-05/0.8102, allocations: 0.75 kB / 1.109 GB, free: 9.078 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.763e-06/0.8102, allocations: 0 / 1.109 GB, free: 9.078 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000485/0.8107, allocations: 421.1 kB / 1.109 GB, free: 8.625 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 4.85e-05/0.8108, allocations: 41.16 kB / 1.109 GB, free: 8.566 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.531e-05/0.8108, allocations: 13.84 kB / 1.109 GB, free: 8.547 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 7.063e-06/0.8108, allocations: 0 / 1.109 GB, free: 8.547 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.003e-05/0.8109, allocations: 38.59 kB / 1.109 GB, free: 8.5 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=2): time 7.61e-07/0.8109, allocations: 0 / 1.109 GB, free: 8.5 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2): time 0.0001483/0.811, allocations: 51.5 kB / 1.109 GB, free: 8.445 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.182e-05/0.8111, allocations: 81.11 kB / 1.109 GB, free: 8.348 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.19e-05/0.8112, allocations: 121.7 kB / 1.109 GB, free: 8.223 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.117e-05/0.8112, allocations: 25.7 kB / 1.109 GB, free: 8.191 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.5e-05/0.8112, allocations: 116 kB / 1.11 GB, free: 8.074 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 8.055e-06/0.8112, allocations: 7.906 kB / 1.11 GB, free: 8.066 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.675e-06/0.8113, allocations: 3.938 kB / 1.11 GB, free: 8.062 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 7.954e-05/0.8113, allocations: 313.4 kB / 1.11 GB, free: 7.75 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.636e-05/0.8114, allocations: 12.03 kB / 1.11 GB, free: 7.738 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.289e-05/0.8114, allocations: 25.7 kB / 1.11 GB, free: 7.707 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.2e-05/0.8114, allocations: 8 kB / 1.11 GB, free: 7.699 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.162e-06/0.8114, allocations: 0 / 1.11 GB, free: 7.699 MB / 0.7136 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.645e-05/0.8115, allocations: 49.61 kB / 1.11 GB, free: 7.645 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.015e-05/0.8115, allocations: 8 kB / 1.11 GB, free: 7.637 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.029e-06/0.8115, allocations: 4 kB / 1.11 GB, free: 7.633 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.165e-05/0.8115, allocations: 8.047 kB / 1.11 GB, free: 7.625 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.277e-05/0.8116, allocations: 8.156 kB / 1.11 GB, free: 7.617 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.352e-06/0.8116, allocations: 4 kB / 1.11 GB, free: 7.613 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.147e-05/0.8117, allocations: 11.78 kB / 1.11 GB, free: 7.602 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.11e-06/0.8117, 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 5.351e-05/0.8117, allocations: 109.7 kB / 1.11 GB, free: 7.488 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.269e-05/0.8118, allocations: 3.906 kB / 1.11 GB, free: 7.484 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.516e-05/0.8118, allocations: 7.594 kB / 1.11 GB, free: 7.477 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.222e-06/0.8118, allocations: 0 / 1.11 GB, free: 7.477 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.359e-06/0.8118, allocations: 7.984 kB / 1.11 GB, free: 7.469 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.8118, allocations: 4 kB / 1.11 GB, free: 7.465 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003056/0.8121, allocations: 447.3 kB / 1.111 GB, free: 6.977 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.354e-06/0.8122, allocations: 3.984 kB / 1.111 GB, free: 6.973 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.38e-05/0.8122, allocations: 4.562 kB / 1.111 GB, free: 6.969 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.8122, allocations: 0 / 1.111 GB, free: 6.969 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.21e-06/0.8122, allocations: 0 / 1.111 GB, free: 6.969 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.22e-07/0.8122, allocations: 0 / 1.111 GB, free: 6.969 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.8122, allocations: 4.062 kB / 1.111 GB, free: 6.965 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 7.937e-05/0.8123, allocations: 91.47 kB / 1.111 GB, free: 6.848 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0001697/0.8125, allocations: 472.8 kB / 1.111 GB, free: 6.355 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.128e-05/0.8125, allocations: 85 kB / 1.111 GB, free: 6.254 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.324e-05/0.8126, allocations: 4 kB / 1.111 GB, free: 6.25 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.204e-05/0.8126, allocations: 0 / 1.111 GB, free: 6.25 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.284e-05/0.8126, allocations: 3.906 kB / 1.111 GB, free: 6.246 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.164e-06/0.8126, allocations: 0 / 1.111 GB, free: 6.246 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5.459e-05/0.8127, allocations: 103.3 kB / 1.111 GB, free: 6.145 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.000765/0.8134, allocations: 15.94 kB / 1.111 GB, free: 6.129 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.506e-05/0.8135, allocations: 99.91 kB / 1.111 GB, free: 6.023 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 6.724e-05/0.8136, allocations: 23.94 kB / 1.111 GB, free: 6 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.292e-06/0.8136, allocations: 0 / 1.111 GB, free: 6 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 1.096e-05/0.8136, allocations: 4 kB / 1.111 GB, free: 5.996 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.833e-05/0.8137, allocations: 4.844 kB / 1.111 GB, free: 5.992 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002389/0.814, allocations: 112.5 kB / 1.112 GB, free: 5.855 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002233/0.8142, allocations: 0.7102 MB / 1.112 GB, free: 5.121 MB / 0.7136 GB Notification: Performance of SimCode: time 2.2e-07/0.8142, allocations: 3.938 kB / 1.112 GB, free: 5.117 MB / 0.7136 GB (rm -f Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_UnitConversions_Validation_From_BtuPerHour_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_UnitConversions_Validation_From_BtuPerHour.fmu > Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe 2>&1)