Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.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_Btu,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_UnitConversions_Validation_From_Btu",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_Btu,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_UnitConversions_Validation_From_Btu",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.14/2.14, allocations: 284.8 MB / 292.1 MB, free: 10.74 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.001635/0.001635, allocations: 181.3 kB / 360.3 MB, free: 7.539 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.671/1.671, allocations: 205.1 MB / 0.6187 GB, free: 13.21 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.001217/0.001217, allocations: 90.47 kB / 0.7317 GB, free: 45.13 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.248/0.2493, allocations: 121.4 MB / 0.8502 GB, free: 3.938 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.563/0.8123, allocations: 115.2 MB / 0.9628 GB, free: 78.62 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2047/1.017, allocations: 136.6 MB / 1.096 GB, free: 4.281 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002486/1.017, allocations: 60.77 kB / 1.096 GB, free: 4.223 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.004146/1.022, allocations: 1.21 MB / 1.097 GB, free: 3 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.354e-05/1.022, allocations: 8.5 kB / 1.097 GB, free: 2.992 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.332e-05/1.022, allocations: 19.8 kB / 1.097 GB, free: 2.973 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001734/1.022, allocations: 170.9 kB / 1.098 GB, free: 2.766 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.483e-05/1.022, allocations: 4 kB / 1.098 GB, free: 2.762 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.684e-05/1.022, allocations: 4.844 kB / 1.098 GB, free: 2.758 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001306/1.022, allocations: 32 kB / 1.098 GB, free: 2.727 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001756/1.022, allocations: 91.89 kB / 1.098 GB, free: 2.629 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.013e-05/1.022, allocations: 0.9844 kB / 1.098 GB, free: 2.629 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.169e-05/1.022, allocations: 0 / 1.098 GB, free: 2.629 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.29e-05/1.022, allocations: 5.5 kB / 1.098 GB, free: 2.625 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006179/1.023, allocations: 412.7 kB / 1.098 GB, free: 2.184 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 6.365e-05/1.023, allocations: 41.28 kB / 1.098 GB, free: 2.125 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.649e-05/1.023, allocations: 14.56 kB / 1.098 GB, free: 2.105 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.106e-05/1.023, allocations: 7.656 kB / 1.098 GB, free: 2.102 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.486e-05/1.023, allocations: 35.56 kB / 1.098 GB, free: 2.059 MB / 0.698 GB Notification: Performance of pre-optimization done (n=2): time 1.333e-06/1.023, allocations: 0 / 1.098 GB, free: 2.059 MB / 0.698 GB Notification: Performance of matching and sorting (n=2): time 0.0001757/1.023, allocations: 46.36 kB / 1.098 GB, free: 2.008 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.925e-05/1.023, allocations: 77.61 kB / 1.098 GB, free: 1.914 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001329/1.023, allocations: 128.5 kB / 1.098 GB, free: 1.781 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.375e-05/1.023, allocations: 25.7 kB / 1.098 GB, free: 1.75 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 6.37e-05/1.024, allocations: 108.5 kB / 1.099 GB, free: 1.641 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 8.727e-06/1.024, allocations: 3.906 kB / 1.099 GB, free: 1.637 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.677e-06/1.024, allocations: 0.5938 kB / 1.099 GB, free: 1.637 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001306/1.024, allocations: 327.5 kB / 1.099 GB, free: 1.312 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.863e-05/1.024, allocations: 8 kB / 1.099 GB, free: 1.305 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.623e-05/1.024, allocations: 18.62 kB / 1.099 GB, free: 1.281 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.455e-05/1.024, allocations: 8.594 kB / 1.099 GB, free: 1.273 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.781e-06/1.024, allocations: 4.922 kB / 1.099 GB, free: 1.27 MB / 0.698 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001308/1.024, allocations: 59.67 kB / 1.099 GB, free: 1.207 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.421e-05/1.024, allocations: 5.25 kB / 1.099 GB, free: 1.203 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.032e-06/1.024, allocations: 0.5 kB / 1.099 GB, free: 1.203 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.267e-05/1.024, allocations: 1.062 kB / 1.099 GB, free: 1.203 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.778e-05/1.024, allocations: 8 kB / 1.099 GB, free: 1.195 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.358e-06/1.024, allocations: 5.938 kB / 1.099 GB, free: 1.191 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.179e-05/1.024, allocations: 11.83 kB / 1.099 GB, free: 1.18 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.382e-06/1.024, allocations: 1.562 kB / 1.099 GB, free: 1.18 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.369e-05/1.024, allocations: 112.7 kB / 1.099 GB, free: 1.062 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.016e-05/1.024, allocations: 7.906 kB / 1.099 GB, free: 1.055 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.222e-05/1.024, allocations: 8.219 kB / 1.099 GB, free: 1.051 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.384e-06/1.024, allocations: 4.125 kB / 1.099 GB, free: 1.047 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.066e-06/1.025, allocations: 5.562 kB / 1.099 GB, free: 1.043 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/1.025, allocations: 0 / 1.099 GB, free: 1.043 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005318/1.025, allocations: 447.4 kB / 1.1 GB, free: 0.5547 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.469e-06/1.025, allocations: 0 / 1.1 GB, free: 0.5547 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.336e-05/1.025, allocations: 7.938 kB / 1.1 GB, free: 0.5469 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.965e-06/1.025, allocations: 0 / 1.1 GB, free: 0.5469 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.753e-06/1.025, allocations: 0 / 1.1 GB, free: 0.5469 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.647e-06/1.025, allocations: 10.67 kB / 1.1 GB, free: 0.5391 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.38e-06/1.025, allocations: 4 kB / 1.1 GB, free: 0.5352 MB / 0.698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001157/1.025, allocations: 83.53 kB / 1.1 GB, free: 436 kB / 0.698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002685/1.026, allocations: 474.5 kB / 1.1 GB, free: 15.93 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 6.714e-05/1.026, allocations: 89.02 kB / 1.1 GB, free: 15.83 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.069e-05/1.026, allocations: 3.984 kB / 1.1 GB, free: 15.82 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.742e-05/1.026, allocations: 0 / 1.1 GB, free: 15.82 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.914e-05/1.026, allocations: 4.422 kB / 1.1 GB, free: 15.82 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.188e-06/1.026, allocations: 4 kB / 1.1 GB, free: 15.82 MB / 0.7136 GB Notification: Performance of sort global known variables: time 9.108e-05/1.026, allocations: 106.1 kB / 1.1 GB, free: 15.71 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001023/1.027, allocations: 15.89 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.0001265/1.027, allocations: 95.25 kB / 1.1 GB, free: 15.6 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 9.869e-05/1.027, allocations: 12 kB / 1.1 GB, free: 15.59 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/1.027, allocations: 0 / 1.1 GB, free: 15.59 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.447e-05/1.027, allocations: 15.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.0001362/1.027, allocations: 1.203 kB / 1.1 GB, free: 15.57 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003553/1.028, allocations: 113.4 kB / 1.101 GB, free: 15.43 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000323/1.028, allocations: 0.7122 MB / 1.101 GB, free: 14.7 MB / 0.7136 GB Notification: Performance of SimCode: time 6.91e-07/1.028, allocations: 0 / 1.101 GB, free: 14.7 MB / 0.7136 GB (rm -f Buildings_8.0.0_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Controls_OBC_UnitConversions_Validation_From_Btu_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Controls_OBC_UnitConversions_Validation_From_Btu.fmu > Buildings_8.0.0_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe 2>&1)