Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.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_psi,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_UnitConversions_Validation_To_psi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_psi,fileNamePrefix="Buildings_8_0_0_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 8.0.0/package.mo): time 2.141/2.141, allocations: 284.8 MB / 292.1 MB, free: 10.77 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.001621/0.00162, allocations: 185.2 kB / 360.3 MB, free: 7.559 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.688/1.688, allocations: 205.1 MB / 0.6187 GB, free: 13.23 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.001205/0.001204, allocations: 93.42 kB / 0.7317 GB, free: 45.11 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2548/0.256, allocations: 121.4 MB / 0.8502 GB, free: 3.922 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5652/0.8212, allocations: 115.2 MB / 0.9627 GB, free: 78.59 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2165/1.038, allocations: 136.6 MB / 1.096 GB, free: 4.301 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002316/1.038, allocations: 61.05 kB / 1.096 GB, free: 4.242 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.004372/1.043, allocations: 1.204 MB / 1.097 GB, free: 3.023 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.551e-05/1.043, allocations: 8.5 kB / 1.097 GB, free: 3.016 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.139e-05/1.043, allocations: 24.89 kB / 1.097 GB, free: 2.992 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001966/1.043, allocations: 179.2 kB / 1.098 GB, free: 2.781 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.392e-05/1.043, allocations: 4 kB / 1.098 GB, free: 2.777 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.935e-05/1.043, allocations: 6.906 kB / 1.098 GB, free: 2.773 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001339/1.043, allocations: 32 kB / 1.098 GB, free: 2.742 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001912/1.043, allocations: 92.17 kB / 1.098 GB, free: 2.641 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.046e-05/1.043, allocations: 0.7969 kB / 1.098 GB, free: 2.641 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.258e-05/1.043, allocations: 0 / 1.098 GB, free: 2.641 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.047e-06/1.043, allocations: 4 kB / 1.098 GB, free: 2.637 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006604/1.044, allocations: 405.5 kB / 1.098 GB, free: 2.203 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 6.938e-05/1.044, allocations: 42.38 kB / 1.098 GB, free: 2.145 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.852e-05/1.044, allocations: 18.77 kB / 1.098 GB, free: 2.121 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 7.825e-06/1.044, allocations: 1.969 kB / 1.098 GB, free: 2.121 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.35e-05/1.044, allocations: 42.23 kB / 1.098 GB, free: 2.074 MB / 0.698 GB Notification: Performance of pre-optimization done (n=2): time 1.542e-06/1.044, allocations: 0 / 1.098 GB, free: 2.074 MB / 0.698 GB Notification: Performance of matching and sorting (n=2): time 0.0001907/1.044, allocations: 42.23 kB / 1.098 GB, free: 2.027 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.388e-05/1.044, allocations: 87.52 kB / 1.098 GB, free: 1.926 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00014/1.045, allocations: 119.7 kB / 1.098 GB, free: 1.801 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.699e-05/1.045, allocations: 25.7 kB / 1.098 GB, free: 1.77 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 6.42e-05/1.045, allocations: 108 kB / 1.099 GB, free: 1.66 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.046e-05/1.045, allocations: 9.094 kB / 1.099 GB, free: 1.652 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.927e-06/1.045, allocations: 0 / 1.099 GB, free: 1.652 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001188/1.045, allocations: 321.4 kB / 1.099 GB, free: 1.332 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.042e-05/1.045, allocations: 8.594 kB / 1.099 GB, free: 1.324 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.111e-05/1.045, allocations: 18.41 kB / 1.099 GB, free: 1.301 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.971e-05/1.045, allocations: 13.27 kB / 1.099 GB, free: 1.289 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/1.045, allocations: 0 / 1.099 GB, free: 1.289 MB / 0.698 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001287/1.045, allocations: 59.05 kB / 1.099 GB, free: 1.227 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.347e-05/1.045, allocations: 4.781 kB / 1.099 GB, free: 1.223 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/1.045, allocations: 0 / 1.099 GB, free: 1.223 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.215e-05/1.045, allocations: 1 kB / 1.099 GB, free: 1.223 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.535e-05/1.045, allocations: 8 kB / 1.099 GB, free: 1.215 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.046e-06/1.045, allocations: 8.797 kB / 1.099 GB, free: 1.207 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.414e-05/1.045, allocations: 7.844 kB / 1.099 GB, free: 1.199 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.336e-06/1.045, allocations: 4.656 kB / 1.099 GB, free: 1.195 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.376e-05/1.046, allocations: 109.5 kB / 1.099 GB, free: 1.082 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.282e-05/1.046, allocations: 9.156 kB / 1.099 GB, free: 1.074 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.11e-05/1.046, allocations: 3.594 kB / 1.099 GB, free: 1.074 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.899e-06/1.046, allocations: 4.5 kB / 1.099 GB, free: 1.07 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.131e-06/1.046, allocations: 4.125 kB / 1.099 GB, free: 1.066 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/1.046, allocations: 3.938 kB / 1.099 GB, free: 1.062 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004661/1.046, allocations: 449.8 kB / 1.1 GB, free: 0.5742 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.576e-06/1.046, allocations: 0.6094 kB / 1.1 GB, free: 0.5742 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.237e-05/1.046, allocations: 4 kB / 1.1 GB, free: 0.5703 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/1.046, allocations: 0 / 1.1 GB, free: 0.5703 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.659e-06/1.046, allocations: 0 / 1.1 GB, free: 0.5703 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.933e-06/1.046, allocations: 11.92 kB / 1.1 GB, free: 0.5586 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.415e-06/1.046, allocations: 4.062 kB / 1.1 GB, free: 0.5547 MB / 0.698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001171/1.046, allocations: 87.53 kB / 1.1 GB, free: 452 kB / 0.698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003149/1.047, allocations: 468 kB / 1.1 GB, free: 15.95 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 6.399e-05/1.047, allocations: 87.08 kB / 1.1 GB, free: 15.85 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.081e-05/1.047, allocations: 7.922 kB / 1.1 GB, free: 15.84 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.72e-05/1.047, allocations: 1.938 kB / 1.1 GB, free: 15.84 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.238e-05/1.047, allocations: 8.422 kB / 1.1 GB, free: 15.84 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.386e-06/1.047, allocations: 0 / 1.1 GB, free: 15.84 MB / 0.7136 GB Notification: Performance of sort global known variables: time 9.076e-05/1.047, allocations: 104.9 kB / 1.1 GB, free: 15.73 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001056/1.048, allocations: 15.89 kB / 1.1 GB, free: 15.72 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.0001342/1.048, allocations: 95.25 kB / 1.1 GB, free: 15.62 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001103/1.048, allocations: 16 kB / 1.1 GB, free: 15.6 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/1.048, allocations: 4 kB / 1.1 GB, free: 15.6 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.357e-05/1.048, allocations: 7.938 kB / 1.1 GB, free: 15.59 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001429/1.049, allocations: 6.062 kB / 1.1 GB, free: 15.59 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004105/1.049, allocations: 109.4 kB / 1.101 GB, free: 15.45 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003427/1.049, allocations: 0.7113 MB / 1.101 GB, free: 14.71 MB / 0.7136 GB Notification: Performance of SimCode: time 1.112e-06/1.049, allocations: 0 / 1.101 GB, free: 14.71 MB / 0.7136 GB (rm -f Buildings_8.0.0_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Controls_OBC_UnitConversions_Validation_To_psi_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Controls_OBC_UnitConversions_Validation_To_psi.fmu > Buildings_8.0.0_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.pipe 2>&1)