Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.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.To_BtuPerHour,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_UnitConversions_Validation_To_BtuPerHour",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_UnitConversions_Validation_To_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.0.0/package.mo): time 2.119/2.119, allocations: 284.8 MB / 292.1 MB, free: 10.68 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.001588/0.001588, allocations: 189.2 kB / 360.3 MB, free: 7.484 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.652/1.652, allocations: 205.1 MB / 0.6187 GB, free: 12.46 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.001248/0.001247, allocations: 92.94 kB / 0.7317 GB, free: 45 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2538/0.2551, allocations: 121.4 MB / 0.8502 GB, free: 3.801 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5576/0.8127, allocations: 115.2 MB / 0.9627 GB, free: 78.38 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2044/1.017, allocations: 136.6 MB / 1.096 GB, free: 4.223 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002972/1.017, allocations: 68.66 kB / 1.096 GB, free: 4.156 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.004406/1.022, allocations: 1.203 MB / 1.097 GB, free: 2.938 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.209e-05/1.022, allocations: 8.656 kB / 1.097 GB, free: 2.93 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.395e-05/1.022, allocations: 11.81 kB / 1.097 GB, free: 2.918 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001965/1.022, allocations: 180.1 kB / 1.098 GB, free: 2.703 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.69e-05/1.022, allocations: 4 kB / 1.098 GB, free: 2.699 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.842e-05/1.022, allocations: 4 kB / 1.098 GB, free: 2.695 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000144/1.022, allocations: 37.73 kB / 1.098 GB, free: 2.66 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001762/1.023, allocations: 83.95 kB / 1.098 GB, free: 2.566 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.167e-06/1.023, allocations: 0 / 1.098 GB, free: 2.566 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.242e-05/1.023, allocations: 0.75 kB / 1.098 GB, free: 2.566 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.436e-06/1.023, allocations: 4 kB / 1.098 GB, free: 2.562 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006958/1.023, allocations: 420.8 kB / 1.098 GB, free: 2.117 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 6.472e-05/1.023, allocations: 38.31 kB / 1.098 GB, free: 2.062 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.106e-05/1.024, allocations: 19.81 kB / 1.098 GB, free: 2.039 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 9.258e-06/1.024, allocations: 1.094 kB / 1.098 GB, free: 2.039 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.807e-05/1.024, allocations: 36.25 kB / 1.098 GB, free: 1.996 MB / 0.698 GB Notification: Performance of pre-optimization done (n=2): time 1.893e-06/1.024, allocations: 0 / 1.098 GB, free: 1.996 MB / 0.698 GB Notification: Performance of matching and sorting (n=2): time 0.0001965/1.024, allocations: 49.53 kB / 1.098 GB, free: 1.941 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.583e-05/1.024, allocations: 78.3 kB / 1.098 GB, free: 1.848 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001574/1.024, allocations: 129.3 kB / 1.098 GB, free: 1.715 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.442e-05/1.024, allocations: 25.7 kB / 1.098 GB, free: 1.684 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 6.828e-05/1.024, allocations: 108.5 kB / 1.099 GB, free: 1.574 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 8.726e-06/1.024, allocations: 3.906 kB / 1.099 GB, free: 1.57 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.937e-06/1.024, allocations: 0.5 kB / 1.099 GB, free: 1.57 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001356/1.024, allocations: 326 kB / 1.099 GB, free: 1.246 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.149e-05/1.024, allocations: 11.28 kB / 1.099 GB, free: 1.238 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.196e-05/1.024, allocations: 19.16 kB / 1.099 GB, free: 1.215 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.573e-05/1.024, allocations: 4 kB / 1.099 GB, free: 1.211 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/1.024, allocations: 1.406 kB / 1.099 GB, free: 1.211 MB / 0.698 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001424/1.025, allocations: 61.53 kB / 1.099 GB, free: 1.145 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.551e-05/1.025, allocations: 8.75 kB / 1.099 GB, free: 1.137 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.453e-06/1.025, allocations: 224 / 1.099 GB, free: 1.137 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.96e-05/1.025, allocations: 0.5938 kB / 1.099 GB, free: 1.137 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001036/1.025, allocations: 11.94 kB / 1.099 GB, free: 1.125 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.839e-06/1.025, allocations: 0.5938 kB / 1.099 GB, free: 1.125 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.198e-05/1.025, allocations: 8.406 kB / 1.099 GB, free: 1.117 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.242e-06/1.025, allocations: 0 / 1.099 GB, free: 1.117 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 8.146e-05/1.025, allocations: 110 kB / 1.099 GB, free: 1.004 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.963e-05/1.025, allocations: 5.266 kB / 1.099 GB, free: 1 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.906e-05/1.025, allocations: 16.23 kB / 1.099 GB, free: 0.9883 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.496e-06/1.025, allocations: 0.625 kB / 1.099 GB, free: 0.9883 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.08e-06/1.025, allocations: 0 / 1.099 GB, free: 0.9883 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.057e-06/1.025, allocations: 4.719 kB / 1.099 GB, free: 0.9844 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005298/1.026, allocations: 454.7 kB / 1.1 GB, free: 0.4922 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.295e-06/1.026, allocations: 0.625 kB / 1.1 GB, free: 0.4922 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.498e-05/1.026, allocations: 4 kB / 1.1 GB, free: 500 kB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.988e-06/1.026, allocations: 0.6875 kB / 1.1 GB, free: 500 kB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.344e-06/1.026, allocations: 0 / 1.1 GB, free: 500 kB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.638e-06/1.026, allocations: 4.531 kB / 1.1 GB, free: 496 kB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/1.026, allocations: 0.5938 kB / 1.1 GB, free: 496 kB / 0.698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001328/1.026, allocations: 91.7 kB / 1.1 GB, free: 376 kB / 0.698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003241/1.026, allocations: 472.1 kB / 1.1 GB, free: 15.88 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 7.729e-05/1.026, allocations: 85.02 kB / 1.1 GB, free: 15.77 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.992e-05/1.026, allocations: 1.969 kB / 1.1 GB, free: 15.77 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.244e-05/1.026, allocations: 0 / 1.1 GB, free: 15.77 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.806e-05/1.027, allocations: 11.84 kB / 1.1 GB, free: 15.76 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.176e-06/1.027, allocations: 6.188 kB / 1.1 GB, free: 15.76 MB / 0.7136 GB Notification: Performance of sort global known variables: time 9.807e-05/1.027, allocations: 100.5 kB / 1.1 GB, free: 15.66 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001063/1.028, allocations: 15.91 kB / 1.1 GB, free: 15.64 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.0001501/1.028, allocations: 99.25 kB / 1.1 GB, free: 15.54 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001142/1.028, allocations: 12 kB / 1.1 GB, free: 15.53 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/1.028, allocations: 0 / 1.1 GB, free: 15.53 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 3.065e-05/1.028, allocations: 19.92 kB / 1.1 GB, free: 15.51 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001436/1.028, allocations: 2.062 kB / 1.1 GB, free: 15.51 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003923/1.029, allocations: 101.2 kB / 1.101 GB, free: 15.38 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003435/1.029, allocations: 0.7194 MB / 1.101 GB, free: 14.64 MB / 0.7136 GB Notification: Performance of SimCode: time 9.32e-07/1.029, allocations: 0 / 1.101 GB, free: 14.64 MB / 0.7136 GB (rm -f Buildings_8.0.0_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Controls_OBC_UnitConversions_Validation_To_BtuPerHour_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Controls_OBC_UnitConversions_Validation_To_BtuPerHour.fmu > Buildings_8.0.0_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe 2>&1)