Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.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_Btu,fileNamePrefix="Buildings_8_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_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.1.4-maint.8.1.x/package.mo): time 1.37/1.37, allocations: 289.8 MB / 297.1 MB, free: 6.688 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.001043/0.001043, allocations: 189.2 kB / 366.3 MB, free: 2.004 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.061/1.061, allocations: 205.1 MB / 0.6256 GB, free: 5.848 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.0008945/0.0008946, allocations: 85.56 kB / 0.7395 GB, free: 39.7 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2117/0.2126, allocations: 122.4 MB / 0.8591 GB, free: 13.31 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4532/0.6658, allocations: 116.3 MB / 0.9727 GB, free: 68.15 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.139/0.8049, allocations: 137.7 MB / 1.107 GB, free: 10.76 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001892/0.8052, allocations: 67.72 kB / 1.107 GB, free: 10.7 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.002786/0.8079, allocations: 1.196 MB / 1.108 GB, free: 9.469 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.825e-05/0.808, allocations: 12 kB / 1.108 GB, free: 9.457 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.687e-05/0.808, allocations: 11.81 kB / 1.108 GB, free: 9.445 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001513/0.8082, allocations: 186.8 kB / 1.109 GB, free: 9.223 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.117e-05/0.8082, allocations: 0 / 1.109 GB, free: 9.223 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.311e-05/0.8082, allocations: 6.156 kB / 1.109 GB, free: 9.219 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.704e-05/0.8083, allocations: 32 kB / 1.109 GB, free: 9.188 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001178/0.8085, allocations: 83.31 kB / 1.109 GB, free: 9.094 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.456e-06/0.8085, allocations: 0 / 1.109 GB, free: 9.094 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.07e-05/0.8085, allocations: 4 kB / 1.109 GB, free: 9.09 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.05e-06/0.8085, allocations: 0 / 1.109 GB, free: 9.09 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004744/0.809, allocations: 421.2 kB / 1.109 GB, free: 8.637 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 4.907e-05/0.809, allocations: 37.22 kB / 1.109 GB, free: 8.582 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.133e-05/0.8091, allocations: 17.77 kB / 1.109 GB, free: 8.559 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 9.909e-06/0.8091, allocations: 4.094 kB / 1.109 GB, free: 8.555 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.477e-05/0.8091, allocations: 34.5 kB / 1.109 GB, free: 8.512 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=2): time 1.052e-06/0.8091, allocations: 0.75 kB / 1.109 GB, free: 8.512 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2): time 0.0001397/0.8093, allocations: 49.59 kB / 1.109 GB, free: 8.457 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.722e-05/0.8093, allocations: 77.11 kB / 1.109 GB, free: 8.363 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.465e-05/0.8094, allocations: 125.5 kB / 1.109 GB, free: 8.234 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.007e-05/0.8094, allocations: 25.7 kB / 1.109 GB, free: 8.203 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.39e-05/0.8095, allocations: 116 kB / 1.11 GB, free: 8.086 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 6.432e-06/0.8095, allocations: 7.906 kB / 1.11 GB, free: 8.078 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.886e-06/0.8095, allocations: 0 / 1.11 GB, free: 8.078 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 9.216e-05/0.8096, allocations: 322 kB / 1.11 GB, free: 7.758 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.77e-05/0.8096, allocations: 8 kB / 1.11 GB, free: 7.75 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.994e-05/0.8096, allocations: 17.72 kB / 1.11 GB, free: 7.727 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.156e-05/0.8097, allocations: 12 kB / 1.11 GB, free: 7.715 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.242e-06/0.8097, allocations: 4 kB / 1.11 GB, free: 7.711 MB / 0.7136 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.509e-05/0.8097, allocations: 53.59 kB / 1.11 GB, free: 7.652 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 9.979e-06/0.8098, allocations: 4.656 kB / 1.11 GB, free: 7.648 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.747e-06/0.8098, allocations: 3.938 kB / 1.11 GB, free: 7.645 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.294e-05/0.8098, allocations: 4.781 kB / 1.11 GB, free: 7.641 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.221e-05/0.8099, allocations: 4 kB / 1.11 GB, free: 7.637 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.457e-06/0.8099, allocations: 3.938 kB / 1.11 GB, free: 7.633 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.978e-05/0.8099, allocations: 11.84 kB / 1.11 GB, free: 7.621 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.879e-06/0.8099, allocations: 0.5 kB / 1.11 GB, free: 7.621 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.641e-05/0.81, allocations: 105.8 kB / 1.11 GB, free: 7.512 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.624e-05/0.81, allocations: 7.906 kB / 1.11 GB, free: 7.504 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.565e-05/0.81, allocations: 15.58 kB / 1.11 GB, free: 7.488 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.202e-06/0.8101, allocations: 0 / 1.11 GB, free: 7.488 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.367e-06/0.8101, allocations: 0 / 1.11 GB, free: 7.488 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/0.8101, allocations: 0 / 1.11 GB, free: 7.488 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003039/0.8104, allocations: 456 kB / 1.111 GB, free: 6.992 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.8104, allocations: 0 / 1.111 GB, free: 6.992 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.204e-05/0.8104, allocations: 4.656 kB / 1.111 GB, free: 6.988 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.8104, allocations: 0 / 1.111 GB, free: 6.988 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.49e-06/0.8104, allocations: 4.5 kB / 1.111 GB, free: 6.984 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.91e-07/0.8104, allocations: 0 / 1.111 GB, free: 6.984 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.8104, allocations: 0 / 1.111 GB, free: 6.984 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 7.791e-05/0.8105, allocations: 98.5 kB / 1.111 GB, free: 6.863 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0001444/0.8107, allocations: 464 kB / 1.111 GB, free: 6.379 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.876e-05/0.8107, allocations: 89.67 kB / 1.111 GB, free: 6.273 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.278e-05/0.8107, allocations: 4.062 kB / 1.111 GB, free: 6.27 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.564e-05/0.8108, allocations: 4.562 kB / 1.111 GB, free: 6.266 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.53e-05/0.8108, allocations: 7.891 kB / 1.111 GB, free: 6.258 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.033e-06/0.8108, allocations: 0 / 1.111 GB, free: 6.258 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5.469e-05/0.8109, allocations: 99.28 kB / 1.111 GB, free: 6.16 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0007727/0.8116, allocations: 11.91 kB / 1.111 GB, free: 6.148 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.593e-05/0.8117, allocations: 95.81 kB / 1.111 GB, free: 6.047 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 6.503e-05/0.8118, allocations: 27.92 kB / 1.111 GB, free: 6.02 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.8118, allocations: 0 / 1.111 GB, free: 6.02 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 1.226e-05/0.8118, allocations: 8 kB / 1.111 GB, free: 6.012 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.262e-05/0.8119, allocations: 5.031 kB / 1.111 GB, free: 6.008 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002281/0.8122, allocations: 112.3 kB / 1.112 GB, free: 5.871 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002058/0.8124, allocations: 0.7155 MB / 1.112 GB, free: 5.129 MB / 0.7136 GB Notification: Performance of SimCode: time 2.61e-07/0.8124, allocations: 0 / 1.112 GB, free: 5.129 MB / 0.7136 GB (rm -f Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_UnitConversions_Validation_From_Btu_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_UnitConversions_Validation_From_Btu.fmu > Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe 2>&1)