Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_psi,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_UnitConversions_Validation_From_psi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_psi,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_UnitConversions_Validation_From_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.1-maint.8.0.x/package.mo): time 1.332/1.332, allocations: 285.5 MB / 292.8 MB, free: 9.762 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.0008948/0.0008948, allocations: 191.5 kB / 361.1 MB, free: 388 kB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.034/1.034, allocations: 205.1 MB / 0.6195 GB, free: 2.961 MB / 442.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007302/0.0007302, allocations: 88.7 kB / 0.7326 GB, free: 1.125 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.3591/0.3599, allocations: 121.4 MB / 0.8512 GB, free: 151.9 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1415/0.5014, allocations: 115.3 MB / 0.9638 GB, free: 56.29 MB / 0.6355 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4069/0.9083, allocations: 136.8 MB / 1.097 GB, free: 44.2 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001458/0.9085, allocations: 64.91 kB / 1.097 GB, free: 44.2 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.002191/0.9107, allocations: 1.199 MB / 1.099 GB, free: 43.8 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 2.902e-05/0.9108, allocations: 7.969 kB / 1.099 GB, free: 43.8 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.732e-05/0.9108, allocations: 15.5 kB / 1.099 GB, free: 43.8 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.772e-05/0.9109, allocations: 170.8 kB / 1.099 GB, free: 43.59 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.736e-06/0.9109, allocations: 3.5 kB / 1.099 GB, free: 43.59 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.167e-06/0.9109, allocations: 8.5 kB / 1.099 GB, free: 43.59 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.269e-05/0.911, allocations: 35.62 kB / 1.099 GB, free: 43.59 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.883e-05/0.9111, allocations: 83.8 kB / 1.099 GB, free: 43.54 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.011e-06/0.9111, allocations: 0 / 1.099 GB, free: 43.54 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.606e-06/0.9111, allocations: 7.906 kB / 1.099 GB, free: 43.53 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.801e-06/0.9111, allocations: 3.781 kB / 1.099 GB, free: 43.53 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003564/0.9115, allocations: 410.4 kB / 1.099 GB, free: 43.2 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 3.272e-05/0.9115, allocations: 45.39 kB / 1.099 GB, free: 43.14 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.105e-05/0.9116, allocations: 13.47 kB / 1.099 GB, free: 43.13 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 7.655e-06/0.9116, allocations: 7 kB / 1.099 GB, free: 43.13 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.14e-05/0.9116, allocations: 34.56 kB / 1.099 GB, free: 43.09 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=2): time 1.032e-06/0.9116, allocations: 0 / 1.099 GB, free: 43.09 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2): time 0.0001381/0.9117, allocations: 48.23 kB / 1.099 GB, free: 43.05 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.604e-05/0.9118, allocations: 77.11 kB / 1.099 GB, free: 42.95 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.791e-05/0.9118, allocations: 121.5 kB / 1.1 GB, free: 42.86 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 5.891e-06/0.9118, allocations: 30.33 kB / 1.1 GB, free: 42.83 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 2.758e-05/0.9119, allocations: 110.2 kB / 1.1 GB, free: 42.73 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 4.98e-06/0.9119, allocations: 7.156 kB / 1.1 GB, free: 42.73 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.466e-06/0.9119, allocations: 4.062 kB / 1.1 GB, free: 42.72 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 3.279e-05/0.9119, allocations: 318.3 kB / 1.1 GB, free: 42.41 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.595e-05/0.912, allocations: 11.14 kB / 1.1 GB, free: 42.41 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.669e-05/0.912, allocations: 18.94 kB / 1.1 GB, free: 42.39 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.844e-05/0.912, allocations: 5.062 kB / 1.1 GB, free: 42.39 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.993e-06/0.912, allocations: 4.531 kB / 1.1 GB, free: 42.39 MB / 0.7136 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.572e-05/0.9121, allocations: 58.45 kB / 1.1 GB, free: 42.36 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 8.236e-06/0.9121, allocations: 7.906 kB / 1.1 GB, free: 42.35 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.296e-06/0.9121, allocations: 0 / 1.1 GB, free: 42.35 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.137e-06/0.9121, allocations: 3.969 kB / 1.1 GB, free: 42.35 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.754e-05/0.9122, allocations: 7.703 kB / 1.1 GB, free: 42.35 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.948e-06/0.9122, allocations: 0 / 1.1 GB, free: 42.35 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.571e-05/0.9122, allocations: 7.875 kB / 1.1 GB, free: 42.34 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.408e-06/0.9122, allocations: 5.562 kB / 1.1 GB, free: 42.34 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 3.46e-05/0.9123, allocations: 104.9 kB / 1.1 GB, free: 42.23 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.088e-05/0.9123, allocations: 7.781 kB / 1.1 GB, free: 42.23 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.529e-05/0.9123, allocations: 21.83 kB / 1.1 GB, free: 42.22 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.9123, allocations: 1.25 kB / 1.1 GB, free: 42.22 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.486e-06/0.9124, allocations: 0 / 1.1 GB, free: 42.22 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.404e-06/0.9124, allocations: 0 / 1.1 GB, free: 42.22 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002643/0.9126, allocations: 448.8 kB / 1.101 GB, free: 57.79 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.31e-07/0.9126, allocations: 0 / 1.101 GB, free: 57.79 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.234e-05/0.9127, allocations: 7.812 kB / 1.101 GB, free: 57.79 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.9127, allocations: 4.062 kB / 1.101 GB, free: 57.78 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.039e-06/0.9127, allocations: 0 / 1.101 GB, free: 57.78 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.9127, allocations: 6.078 kB / 1.101 GB, free: 57.78 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.9127, allocations: 3.984 kB / 1.101 GB, free: 57.78 MB / 0.7292 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 5.518e-05/0.9128, allocations: 86.16 kB / 1.101 GB, free: 57.68 MB / 0.7292 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0001455/0.9129, allocations: 474.7 kB / 1.101 GB, free: 57.21 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 2.524e-05/0.9129, allocations: 84.89 kB / 1.101 GB, free: 57.12 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.293e-05/0.913, allocations: 3.844 kB / 1.101 GB, free: 57.12 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.143e-05/0.913, allocations: 0 / 1.101 GB, free: 57.12 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.019e-05/0.913, allocations: 4.031 kB / 1.101 GB, free: 57.11 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.274e-06/0.913, allocations: 7.781 kB / 1.101 GB, free: 57.11 MB / 0.7292 GB Notification: Performance of sort global known variables: time 4.854e-05/0.9131, allocations: 103.5 kB / 1.101 GB, free: 57.04 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0006811/0.9137, allocations: 7.375 kB / 1.101 GB, free: 57.04 MB / 0.7292 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 6.759e-05/0.9138, allocations: 98.28 kB / 1.102 GB, free: 56.95 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 5.178e-05/0.9139, allocations: 16.69 kB / 1.102 GB, free: 56.95 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.443e-06/0.9139, allocations: 0 / 1.102 GB, free: 56.95 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 1.05e-05/0.9139, allocations: 14.06 kB / 1.102 GB, free: 56.94 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.518e-05/0.914, allocations: 10.59 kB / 1.102 GB, free: 56.93 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001883/0.9142, allocations: 104.4 kB / 1.102 GB, free: 56.84 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002052/0.9144, allocations: 0.7173 MB / 1.102 GB, free: 56.14 MB / 0.7292 GB Notification: Performance of SimCode: time 2.21e-07/0.9144, allocations: 0 / 1.102 GB, free: 56.14 MB / 0.7292 GB (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_OBC_UnitConversions_Validation_From_psi_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_OBC_UnitConversions_Validation_From_psi.fmu > Buildings_maint.8.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.pipe 2>&1)