Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.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_psi,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_UnitConversions_Validation_From_psi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_psi,fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.334/1.334, allocations: 289.8 MB / 297.1 MB, free: 6.684 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.0009647/0.0009648, allocations: 177.3 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.051/1.051, allocations: 205.1 MB / 0.6256 GB, free: 7.477 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.0007954/0.0007954, allocations: 92.14 kB / 0.7395 GB, free: 39.9 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2071/0.2079, allocations: 122.4 MB / 0.8591 GB, free: 13.52 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.504/0.712, allocations: 116.3 MB / 0.9727 GB, free: 76.2 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1392/0.8512, allocations: 137.7 MB / 1.107 GB, free: 12.73 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001798/0.8514, allocations: 65.95 kB / 1.107 GB, free: 12.66 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.002773/0.8542, allocations: 1.202 MB / 1.108 GB, free: 11.44 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.939e-05/0.8542, allocations: 8 kB / 1.108 GB, free: 11.43 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.515e-05/0.8543, allocations: 12.91 kB / 1.108 GB, free: 11.42 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001374/0.8544, allocations: 179.4 kB / 1.109 GB, free: 11.21 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.122e-05/0.8544, allocations: 4 kB / 1.109 GB, free: 11.2 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.173e-05/0.8545, allocations: 4.531 kB / 1.109 GB, free: 11.2 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.674e-05/0.8546, allocations: 32.94 kB / 1.109 GB, free: 11.17 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001184/0.8547, allocations: 84.73 kB / 1.109 GB, free: 11.07 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.678e-06/0.8547, allocations: 4.641 kB / 1.109 GB, free: 11.07 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.638e-06/0.8547, allocations: 0.6562 kB / 1.109 GB, free: 11.07 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.599e-06/0.8547, allocations: 1.469 kB / 1.109 GB, free: 11.07 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004935/0.8552, allocations: 421 kB / 1.109 GB, free: 10.62 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 4.833e-05/0.8553, allocations: 40.62 kB / 1.109 GB, free: 10.57 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.528e-05/0.8553, allocations: 20.66 kB / 1.109 GB, free: 10.54 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.16e-05/0.8553, allocations: 1.25 kB / 1.109 GB, free: 10.54 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.219e-05/0.8554, allocations: 30.56 kB / 1.109 GB, free: 10.5 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=2): time 1.042e-06/0.8554, allocations: 0.7812 kB / 1.109 GB, free: 10.5 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2): time 0.0001461/0.8555, allocations: 46.39 kB / 1.109 GB, free: 10.45 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.62e-05/0.8556, allocations: 81.73 kB / 1.109 GB, free: 10.36 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.481e-05/0.8557, allocations: 125.6 kB / 1.109 GB, free: 10.23 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.062e-05/0.8557, allocations: 25.7 kB / 1.109 GB, free: 10.2 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.849e-05/0.8557, allocations: 116.5 kB / 1.11 GB, free: 10.08 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 6.011e-06/0.8558, allocations: 4.594 kB / 1.11 GB, free: 10.07 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.835e-06/0.8558, allocations: 0 / 1.11 GB, free: 10.07 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 8.019e-05/0.8559, allocations: 322 kB / 1.11 GB, free: 9.754 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.624e-05/0.8559, allocations: 4.656 kB / 1.11 GB, free: 9.75 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.132e-05/0.8559, allocations: 26.33 kB / 1.11 GB, free: 9.719 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.203e-05/0.8559, allocations: 9.594 kB / 1.11 GB, free: 9.711 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.462e-06/0.8559, allocations: 0 / 1.11 GB, free: 9.711 MB / 0.7136 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.762e-05/0.856, allocations: 54.14 kB / 1.11 GB, free: 9.652 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.267e-05/0.856, allocations: 8.625 kB / 1.11 GB, free: 9.645 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.617e-06/0.856, allocations: 224 / 1.11 GB, free: 9.645 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.293e-05/0.8561, allocations: 10.09 kB / 1.11 GB, free: 9.637 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.1e-05/0.8561, allocations: 7.938 kB / 1.11 GB, free: 9.629 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.921e-06/0.8561, allocations: 4.688 kB / 1.11 GB, free: 9.625 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.973e-05/0.8562, allocations: 8.844 kB / 1.11 GB, free: 9.617 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.488e-06/0.8562, allocations: 1.219 kB / 1.11 GB, free: 9.617 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.886e-05/0.8562, allocations: 105.7 kB / 1.11 GB, free: 9.508 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.374e-05/0.8563, allocations: 4.594 kB / 1.11 GB, free: 9.504 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.64e-05/0.8563, allocations: 11.59 kB / 1.11 GB, free: 9.492 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.152e-06/0.8563, allocations: 0.5 kB / 1.11 GB, free: 9.492 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.99e-06/0.8563, allocations: 4.516 kB / 1.11 GB, free: 9.488 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-06/0.8564, allocations: 4 kB / 1.11 GB, free: 9.484 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003102/0.8567, allocations: 456.2 kB / 1.111 GB, free: 8.988 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.21e-07/0.8567, allocations: 0 / 1.111 GB, free: 8.988 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.504e-05/0.8567, allocations: 6.375 kB / 1.111 GB, free: 8.984 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.8567, allocations: 0 / 1.111 GB, free: 8.984 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.119e-06/0.8567, allocations: 0 / 1.111 GB, free: 8.984 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.8567, allocations: 0 / 1.111 GB, free: 8.984 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.8567, allocations: 1.219 kB / 1.111 GB, free: 8.984 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 7.793e-05/0.8568, allocations: 91.53 kB / 1.111 GB, free: 8.867 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0001619/0.857, allocations: 468 kB / 1.111 GB, free: 8.379 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.256e-05/0.857, allocations: 93.06 kB / 1.111 GB, free: 8.27 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.479e-05/0.8571, allocations: 4 kB / 1.111 GB, free: 8.266 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.248e-05/0.8571, allocations: 0 / 1.111 GB, free: 8.266 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.082e-05/0.8571, allocations: 3.906 kB / 1.111 GB, free: 8.262 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.114e-06/0.8571, allocations: 0 / 1.111 GB, free: 8.262 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5.7e-05/0.8572, allocations: 104 kB / 1.111 GB, free: 8.16 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0007899/0.858, allocations: 11.91 kB / 1.111 GB, free: 8.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 0.0001049/0.8581, allocations: 103.2 kB / 1.111 GB, free: 8.039 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 6.944e-05/0.8582, allocations: 16 kB / 1.111 GB, free: 8.023 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.587e-06/0.8582, allocations: 4 kB / 1.111 GB, free: 8.02 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 1.262e-05/0.8582, allocations: 9.031 kB / 1.111 GB, free: 8.012 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001033/0.8583, allocations: 0.5156 kB / 1.111 GB, free: 8.012 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002537/0.8586, allocations: 112.3 kB / 1.112 GB, free: 7.875 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002397/0.8588, allocations: 0.7194 MB / 1.112 GB, free: 7.129 MB / 0.7136 GB Notification: Performance of SimCode: time 3.01e-07/0.8588, allocations: 0 / 1.112 GB, free: 7.129 MB / 0.7136 GB (rm -f Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_UnitConversions_Validation_From_psi_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_UnitConversions_Validation_From_psi.fmu > Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.pipe 2>&1)