Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_To_BtuPerHour",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour,fileNamePrefix="Buildings_9_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 9.1.1-maint.9.1.x/package.mo): time 1.785/1.785, allocations: 387.2 MB / 394.5 MB, free: 13.64 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009357/0.0009356, allocations: 188.8 kB / 487 MB, free: 5.375 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.17/1.17, allocations: 221.3 MB / 0.7819 GB, free: 1.359 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000855/0.0008547, allocations: 100.8 kB / 0.9213 GB, free: 2.617 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.453/0.4538, allocations: 148.5 MB / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1999/0.6538, allocations: 142.3 MB / 1.205 GB, free: 26.12 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5381/1.192, allocations: 148 MB / 1.35 GB, free: 15.51 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001746/1.192, allocations: 62.53 kB / 1.35 GB, free: 15.51 MB / 0.8073 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.002373/1.195, allocations: 1.123 MB / 1.351 GB, free: 15.11 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 4.695e-05/1.195, allocations: 9.781 kB / 1.351 GB, free: 15.11 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.097e-05/1.195, allocations: 14.38 kB / 1.351 GB, free: 15.1 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001586/1.195, allocations: 182 kB / 1.351 GB, free: 14.89 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.553e-05/1.195, allocations: 2.875 kB / 1.351 GB, free: 14.89 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.582e-05/1.195, allocations: 4.438 kB / 1.351 GB, free: 14.89 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000102/1.195, allocations: 33.16 kB / 1.351 GB, free: 14.89 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001321/1.195, allocations: 81.36 kB / 1.351 GB, free: 14.84 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.377e-06/1.195, allocations: 0 / 1.351 GB, free: 14.84 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.463e-05/1.195, allocations: 3.984 kB / 1.351 GB, free: 14.83 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.277e-06/1.195, allocations: 2.406 kB / 1.351 GB, free: 14.83 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005089/1.196, allocations: 408.9 kB / 1.352 GB, free: 14.5 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 4.331e-05/1.196, allocations: 41.25 kB / 1.352 GB, free: 14.44 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.28e-05/1.196, allocations: 18.03 kB / 1.352 GB, free: 14.43 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 8.876e-06/1.196, allocations: 2.891 kB / 1.352 GB, free: 14.43 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.617e-05/1.196, allocations: 31.53 kB / 1.352 GB, free: 14.39 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=2): time 1.182e-06/1.196, allocations: 0.75 kB / 1.352 GB, free: 14.39 MB / 0.8073 GB Notification: Performance of matching and sorting (n=2): time 0.0001865/1.196, allocations: 51.89 kB / 1.352 GB, free: 14.34 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.998e-05/1.196, allocations: 78.48 kB / 1.352 GB, free: 14.25 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.865e-05/1.196, allocations: 113.9 kB / 1.352 GB, free: 14.16 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 7.534e-06/1.196, allocations: 29.33 kB / 1.352 GB, free: 14.13 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 4.707e-05/1.196, allocations: 108.9 kB / 1.352 GB, free: 14.03 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 6.793e-06/1.196, allocations: 3.906 kB / 1.352 GB, free: 14.02 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.715e-06/1.196, allocations: 2.906 kB / 1.352 GB, free: 14.02 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 5.619e-05/1.196, allocations: 326.2 kB / 1.352 GB, free: 13.7 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.44e-05/1.196, allocations: 2.75 kB / 1.352 GB, free: 13.7 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.942e-05/1.196, allocations: 18.97 kB / 1.353 GB, free: 13.69 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.096e-05/1.196, allocations: 8.5 kB / 1.353 GB, free: 13.69 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.372e-06/1.196, allocations: 0 / 1.353 GB, free: 13.69 MB / 0.8073 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.282e-05/1.196, allocations: 55.16 kB / 1.353 GB, free: 13.65 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.374e-05/1.196, allocations: 5.375 kB / 1.353 GB, free: 13.65 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/1.196, allocations: 4.969 kB / 1.353 GB, free: 13.64 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.181e-05/1.196, allocations: 1.094 kB / 1.353 GB, free: 13.64 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.927e-05/1.197, allocations: 9.656 kB / 1.353 GB, free: 13.64 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.29e-06/1.197, allocations: 1.312 kB / 1.353 GB, free: 13.64 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.644e-05/1.197, allocations: 8.969 kB / 1.353 GB, free: 13.64 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.681e-06/1.197, allocations: 2.344 kB / 1.353 GB, free: 13.64 MB / 0.8073 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.81e-05/1.197, allocations: 107.6 kB / 1.353 GB, free: 13.53 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.274e-05/1.197, allocations: 6.219 kB / 1.353 GB, free: 13.53 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.772e-05/1.197, allocations: 10.16 kB / 1.353 GB, free: 13.53 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.383e-06/1.197, allocations: 5.375 kB / 1.353 GB, free: 13.52 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/1.197, allocations: 2.391 kB / 1.353 GB, free: 13.52 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.856e-06/1.197, allocations: 0 / 1.353 GB, free: 13.52 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00025/1.197, allocations: 444.2 kB / 1.353 GB, free: 13.09 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/1.197, allocations: 1.25 kB / 1.353 GB, free: 13.09 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.916e-05/1.197, allocations: 4.297 kB / 1.353 GB, free: 13.09 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.883e-06/1.197, allocations: 0.8438 kB / 1.353 GB, free: 13.09 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.502e-06/1.197, allocations: 1 kB / 1.353 GB, free: 13.09 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/1.197, allocations: 4.219 kB / 1.353 GB, free: 13.09 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/1.197, allocations: 5.312 kB / 1.353 GB, free: 13.08 MB / 0.8073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 6.188e-05/1.197, allocations: 88.89 kB / 1.353 GB, free: 12.98 MB / 0.8073 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 9.975e-05/1.197, allocations: 465.7 kB / 1.354 GB, free: 12.52 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 2.71e-05/1.197, allocations: 85.5 kB / 1.354 GB, free: 12.42 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.43e-05/1.197, allocations: 1.375 kB / 1.354 GB, free: 12.42 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.81e-05/1.197, allocations: 1.5 kB / 1.354 GB, free: 12.42 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.515e-05/1.197, allocations: 5.312 kB / 1.354 GB, free: 12.42 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.565e-06/1.197, allocations: 1.375 kB / 1.354 GB, free: 12.42 MB / 0.8073 GB Notification: Performance of sort global known variables: time 4.431e-05/1.197, allocations: 105.6 kB / 1.354 GB, free: 12.34 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0007083/1.198, allocations: 11.84 kB / 1.354 GB, free: 12.34 MB / 0.8073 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.321e-05/1.198, allocations: 97.98 kB / 1.354 GB, free: 12.25 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 6.201e-05/1.198, allocations: 14.62 kB / 1.354 GB, free: 12.25 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/1.198, allocations: 0 / 1.354 GB, free: 12.25 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 9.268e-06/1.198, allocations: 7.281 kB / 1.354 GB, free: 12.25 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.642e-05/1.198, allocations: 6.438 kB / 1.354 GB, free: 12.24 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002211/1.199, allocations: 106.9 kB / 1.354 GB, free: 12.15 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002443/1.199, allocations: 0.7061 MB / 1.355 GB, free: 27.45 MB / 0.823 GB Notification: Performance of SimCode: time 2.41e-07/1.199, allocations: 0 / 1.355 GB, free: 27.45 MB / 0.823 GB (rm -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_To_BtuPerHour_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_To_BtuPerHour.fmu > Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour_res.mat does not exist to compare? outputFormat=mat