Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.conf.json 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 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_psi,fileNamePrefix="Buildings_7_0_0_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 7.0.1/package.mo): time 2.474/2.474, allocations: 248.6 MB / 255.9 MB, free: 7.105 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001598/0.001597, allocations: 184.3 kB / 315.1 MB, free: 4.246 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.164/2.164, allocations: 205.1 MB / 0.5658 GB, free: 344 kB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001426/0.001426, allocations: 75.41 kB / 0.67 GB, free: 5.555 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.49/0.4914, allocations: 112.4 MB / 0.7797 GB, free: 103.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2325/0.724, allocations: 106.2 MB / 0.8835 GB, free: 13.3 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6747/1.399, allocations: 131.5 MB / 1.012 GB, free: 8.68 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002532/1.399, allocations: 67.41 kB / 1.012 GB, free: 8.645 MB / 0.6355 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.004345/1.403, allocations: 1.212 MB / 1.013 GB, free: 7.543 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.452e-05/1.404, allocations: 8 kB / 1.013 GB, free: 7.535 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.978e-05/1.404, allocations: 11.89 kB / 1.013 GB, free: 7.523 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001908/1.404, allocations: 178.9 kB / 1.013 GB, free: 7.309 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.004e-05/1.404, allocations: 4 kB / 1.013 GB, free: 7.305 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.582e-05/1.404, allocations: 4 kB / 1.013 GB, free: 7.301 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001505/1.404, allocations: 40.28 kB / 1.013 GB, free: 7.277 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001782/1.404, allocations: 81.08 kB / 1.013 GB, free: 7.195 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.037e-06/1.404, allocations: 0 / 1.013 GB, free: 7.195 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.308e-05/1.404, allocations: 0 / 1.013 GB, free: 7.195 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.456e-06/1.404, allocations: 0 / 1.013 GB, free: 7.195 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007004/1.405, allocations: 418.4 kB / 1.014 GB, free: 6.777 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 6.382e-05/1.405, allocations: 33.16 kB / 1.014 GB, free: 6.727 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.323e-05/1.405, allocations: 17.28 kB / 1.014 GB, free: 6.707 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.418e-05/1.405, allocations: 8.016 kB / 1.014 GB, free: 6.699 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.715e-05/1.405, allocations: 34.56 kB / 1.014 GB, free: 6.656 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 2.996e-06/1.405, allocations: 0 / 1.014 GB, free: 6.656 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0002217/1.405, allocations: 47.05 kB / 1.014 GB, free: 6.609 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.582e-05/1.405, allocations: 80.42 kB / 1.014 GB, free: 6.516 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000155/1.406, allocations: 127.5 kB / 1.014 GB, free: 6.391 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.974e-05/1.406, allocations: 25.7 kB / 1.014 GB, free: 6.359 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.915e-05/1.406, allocations: 112 kB / 1.014 GB, free: 6.25 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.068e-05/1.406, allocations: 3.906 kB / 1.014 GB, free: 6.246 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.927e-06/1.406, allocations: 0 / 1.014 GB, free: 6.246 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001277/1.406, allocations: 318 kB / 1.015 GB, free: 5.93 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.131e-05/1.406, allocations: 9.5 kB / 1.015 GB, free: 5.926 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.077e-05/1.406, allocations: 21.66 kB / 1.015 GB, free: 5.902 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.91e-05/1.406, allocations: 7.75 kB / 1.015 GB, free: 5.898 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/1.406, allocations: 4 kB / 1.015 GB, free: 5.895 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001458/1.406, allocations: 60.28 kB / 1.015 GB, free: 5.836 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.866e-05/1.406, allocations: 8 kB / 1.015 GB, free: 5.828 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.833e-06/1.406, allocations: 0 / 1.015 GB, free: 5.828 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.622e-05/1.406, allocations: 0 / 1.015 GB, free: 5.828 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001278/1.406, allocations: 8.656 kB / 1.015 GB, free: 5.82 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.494e-06/1.406, allocations: 4 kB / 1.015 GB, free: 5.816 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.375e-05/1.407, allocations: 7.922 kB / 1.015 GB, free: 5.809 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.524e-06/1.407, allocations: 0 / 1.015 GB, free: 5.809 MB / 0.6355 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 9.123e-05/1.407, allocations: 105 kB / 1.015 GB, free: 5.699 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.355e-05/1.407, allocations: 7.906 kB / 1.015 GB, free: 5.691 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.312e-05/1.407, allocations: 14.8 kB / 1.015 GB, free: 5.68 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.238e-06/1.407, allocations: 0 / 1.015 GB, free: 5.68 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/1.407, allocations: 4.156 kB / 1.015 GB, free: 5.676 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.055e-05/1.407, allocations: 3.906 kB / 1.015 GB, free: 5.672 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006141/1.407, allocations: 459.3 kB / 1.015 GB, free: 5.191 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/1.407, allocations: 4.062 kB / 1.015 GB, free: 5.188 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.073e-05/1.408, allocations: 3.906 kB / 1.015 GB, free: 5.184 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.56e-06/1.408, allocations: 4 kB / 1.015 GB, free: 5.18 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.737e-06/1.408, allocations: 0 / 1.015 GB, free: 5.18 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.709e-06/1.408, allocations: 3.984 kB / 1.015 GB, free: 5.176 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.18e-06/1.408, allocations: 0.875 kB / 1.015 GB, free: 5.176 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001366/1.408, allocations: 87.12 kB / 1.015 GB, free: 5.066 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002586/1.408, allocations: 473.4 kB / 1.016 GB, free: 4.582 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 6.847e-05/1.408, allocations: 81.11 kB / 1.016 GB, free: 4.484 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.245e-05/1.408, allocations: 7.984 kB / 1.016 GB, free: 4.477 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.995e-05/1.408, allocations: 8.047 kB / 1.016 GB, free: 4.469 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.367e-05/1.408, allocations: 0 / 1.016 GB, free: 4.469 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.112e-06/1.408, allocations: 3.75 kB / 1.016 GB, free: 4.469 MB / 0.6355 GB Notification: Performance of sort global known variables: time 0.0001172/1.408, allocations: 103.2 kB / 1.016 GB, free: 4.379 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.002313/1.411, allocations: 15.89 kB / 1.016 GB, free: 4.363 MB / 0.6355 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.0002567/1.411, allocations: 95.25 kB / 1.016 GB, free: 4.262 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002076/1.411, allocations: 23.31 kB / 1.016 GB, free: 4.246 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 5.28e-06/1.411, allocations: 4.125 kB / 1.016 GB, free: 4.242 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 3.61e-05/1.411, allocations: 4 kB / 1.016 GB, free: 4.238 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002576/1.412, allocations: 10.17 kB / 1.016 GB, free: 4.234 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006326/1.412, allocations: 115.7 kB / 1.016 GB, free: 4.098 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005984/1.413, allocations: 0.7076 MB / 1.017 GB, free: 3.363 MB / 0.6355 GB Notification: Performance of SimCode: time 2.935e-06/1.413, allocations: 4 kB / 1.017 GB, free: 3.359 MB / 0.6355 GB