Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.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_psi,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_To_psi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_psi,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_To_psi",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.856/1.856, allocations: 387.2 MB / 394.5 MB, free: 13.68 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.0009675/0.0009674, allocations: 177.2 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.161/1.161, allocations: 221.3 MB / 0.7819 GB, free: 1.465 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.0008449/0.0008449, allocations: 94.39 kB / 0.9213 GB, free: 2.707 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.4608/0.4617, allocations: 148.5 MB / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1997/0.6615, allocations: 142.4 MB / 1.205 GB, free: 26.18 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5297/1.191, allocations: 148 MB / 1.35 GB, free: 15.8 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001938/1.191, allocations: 67.75 kB / 1.35 GB, free: 15.8 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.002536/1.194, allocations: 1.123 MB / 1.351 GB, free: 15.39 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.426e-05/1.194, allocations: 10.22 kB / 1.351 GB, free: 15.39 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.084e-05/1.194, allocations: 14.31 kB / 1.351 GB, free: 15.39 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001177/1.194, allocations: 178.2 kB / 1.351 GB, free: 15.18 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.224e-05/1.194, allocations: 2.5 kB / 1.351 GB, free: 15.18 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.248e-05/1.194, allocations: 4.469 kB / 1.351 GB, free: 15.18 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.826e-05/1.194, allocations: 34.38 kB / 1.351 GB, free: 15.18 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001004/1.194, allocations: 79.27 kB / 1.351 GB, free: 15.13 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.214e-06/1.194, allocations: 0 / 1.351 GB, free: 15.13 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.327e-06/1.194, allocations: 1.031 kB / 1.351 GB, free: 15.13 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.891e-06/1.194, allocations: 6.062 kB / 1.351 GB, free: 15.12 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004007/1.195, allocations: 412.8 kB / 1.352 GB, free: 14.79 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 3.39e-05/1.195, allocations: 36.47 kB / 1.352 GB, free: 14.74 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.886e-05/1.195, allocations: 19.69 kB / 1.352 GB, free: 14.72 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 7.074e-06/1.195, allocations: 0 / 1.352 GB, free: 14.72 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.392e-05/1.195, allocations: 31.84 kB / 1.352 GB, free: 14.68 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=2): time 8.72e-07/1.195, allocations: 4 kB / 1.352 GB, free: 14.68 MB / 0.8073 GB Notification: Performance of matching and sorting (n=2): time 0.0001324/1.195, allocations: 48.09 kB / 1.352 GB, free: 14.64 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.724e-05/1.195, allocations: 78.67 kB / 1.352 GB, free: 14.55 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.629e-05/1.195, allocations: 112.7 kB / 1.352 GB, free: 14.46 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 5.33e-06/1.195, allocations: 26.52 kB / 1.352 GB, free: 14.43 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 3.151e-05/1.195, allocations: 108.2 kB / 1.352 GB, free: 14.32 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 5.79e-06/1.195, allocations: 9.625 kB / 1.352 GB, free: 14.32 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.996e-06/1.195, allocations: 0 / 1.352 GB, free: 14.32 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 3.958e-05/1.195, allocations: 321.3 kB / 1.352 GB, free: 14 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.399e-05/1.195, allocations: 6.375 kB / 1.352 GB, free: 14 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.651e-05/1.195, allocations: 18.53 kB / 1.353 GB, free: 13.99 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.901e-05/1.195, allocations: 9.141 kB / 1.353 GB, free: 13.98 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.323e-06/1.195, allocations: 3.938 kB / 1.353 GB, free: 13.98 MB / 0.8073 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.651e-05/1.196, allocations: 54.06 kB / 1.353 GB, free: 13.95 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.092e-05/1.196, allocations: 9.562 kB / 1.353 GB, free: 13.94 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.369e-06/1.196, allocations: 0 / 1.353 GB, free: 13.94 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.249e-05/1.196, allocations: 2.688 kB / 1.353 GB, free: 13.94 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.296e-05/1.196, allocations: 8.625 kB / 1.353 GB, free: 13.94 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.348e-06/1.196, allocations: 0.9375 kB / 1.353 GB, free: 13.94 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.539e-05/1.196, allocations: 10.41 kB / 1.353 GB, free: 13.93 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.53e-06/1.196, allocations: 1.375 kB / 1.353 GB, free: 13.93 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 3.752e-05/1.196, allocations: 109 kB / 1.353 GB, free: 13.82 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.211e-05/1.196, allocations: 6.656 kB / 1.353 GB, free: 13.82 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.567e-05/1.196, allocations: 14.3 kB / 1.353 GB, free: 13.82 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.324e-06/1.196, allocations: 1.375 kB / 1.353 GB, free: 13.82 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/1.196, allocations: 0 / 1.353 GB, free: 13.82 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/1.196, allocations: 1.469 kB / 1.353 GB, free: 13.82 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002325/1.196, allocations: 435.9 kB / 1.353 GB, free: 13.39 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/1.196, allocations: 9.297 kB / 1.353 GB, free: 13.38 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.782e-05/1.196, allocations: 2.75 kB / 1.353 GB, free: 13.38 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.414e-06/1.196, allocations: 7.125 kB / 1.353 GB, free: 13.38 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.939e-06/1.196, allocations: 0 / 1.353 GB, free: 13.38 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.744e-06/1.196, allocations: 1.375 kB / 1.353 GB, free: 13.38 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/1.196, allocations: 224 / 1.353 GB, free: 13.38 MB / 0.8073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 5.887e-05/1.196, allocations: 87.12 kB / 1.353 GB, free: 13.28 MB / 0.8073 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 8.557e-05/1.196, allocations: 474.1 kB / 1.354 GB, free: 12.81 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 2.636e-05/1.196, allocations: 86.05 kB / 1.354 GB, free: 12.71 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.307e-05/1.196, allocations: 1.219 kB / 1.354 GB, free: 12.71 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.809e-05/1.196, allocations: 2.438 kB / 1.354 GB, free: 12.71 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.738e-06/1.196, allocations: 5.25 kB / 1.354 GB, free: 12.71 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.645e-06/1.196, allocations: 3.594 kB / 1.354 GB, free: 12.71 MB / 0.8073 GB Notification: Performance of sort global known variables: time 3.813e-05/1.196, allocations: 99.61 kB / 1.354 GB, free: 12.63 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0006945/1.197, allocations: 11.97 kB / 1.354 GB, free: 12.63 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.255e-05/1.197, allocations: 98 kB / 1.354 GB, free: 12.54 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 5.589e-05/1.197, allocations: 12.75 kB / 1.354 GB, free: 12.54 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/1.197, allocations: 0 / 1.354 GB, free: 12.54 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 9.208e-06/1.197, allocations: 12.34 kB / 1.354 GB, free: 12.54 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.743e-05/1.197, allocations: 5.219 kB / 1.354 GB, free: 12.54 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002056/1.198, allocations: 102.3 kB / 1.354 GB, free: 12.45 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001279/1.198, allocations: 0.7069 MB / 1.355 GB, free: 11.74 MB / 0.8073 GB Notification: Performance of SimCode: time 2.6e-07/1.198, allocations: 3.938 kB / 1.355 GB, free: 11.74 MB / 0.8073 GB (rm -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_psi_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_To_psi_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_To_psi.fmu > Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_psi_res.mat does not exist to compare? outputFormat=mat