Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.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: translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_cfm,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_cfm,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm") [: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.355/1.355, allocations: 289.8 MB / 297.1 MB, free: 6.66 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.0009082/0.000908, allocations: 177.3 kB / 366.3 MB, free: 1.973 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.059/1.059, allocations: 205.1 MB / 0.6256 GB, free: 5.797 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.0008257/0.0008259, allocations: 89.69 kB / 0.7395 GB, free: 39.65 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 7.835e-06/7.944e-06, allocations: 4 kB / 0.859 GB, free: 13.35 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3865/0.3866, allocations: 116.3 MB / 0.9726 GB, free: 68.84 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1307/0.5173, allocations: 137.7 MB / 1.107 GB, free: 10.73 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001736/0.5175, allocations: 67.95 kB / 1.107 GB, free: 10.67 MB / 0.7136 GB Notification: Performance of FrontEnd: time 0.002349/0.5199, allocations: 0.8408 MB / 1.108 GB, free: 9.844 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 6.072e-06/0.5199, allocations: 4 kB / 1.108 GB, free: 9.84 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.000262/0.5201, allocations: 362.9 kB / 1.108 GB, free: 9.441 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.161e-05/0.5202, allocations: 8.031 kB / 1.108 GB, free: 9.434 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.302e-05/0.5202, allocations: 11.81 kB / 1.108 GB, free: 9.422 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001322/0.5204, allocations: 188 kB / 1.108 GB, free: 9.199 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.09e-05/0.5204, allocations: 4 kB / 1.109 GB, free: 9.195 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.26e-05/0.5204, allocations: 7.938 kB / 1.109 GB, free: 9.188 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.459e-05/0.5205, allocations: 32 kB / 1.109 GB, free: 9.156 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001071/0.5206, allocations: 83.31 kB / 1.109 GB, free: 9.062 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.695e-06/0.5206, allocations: 0.5 kB / 1.109 GB, free: 9.062 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.087e-06/0.5206, allocations: 0 / 1.109 GB, free: 9.062 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.101e-06/0.5206, allocations: 0 / 1.109 GB, free: 9.062 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004458/0.5211, allocations: 421.2 kB / 1.109 GB, free: 8.609 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 5.052e-05/0.5212, allocations: 33.16 kB / 1.109 GB, free: 8.559 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.655e-05/0.5212, allocations: 17.84 kB / 1.109 GB, free: 8.535 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 6.492e-06/0.5212, allocations: 4 kB / 1.109 GB, free: 8.531 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.812e-05/0.5212, allocations: 37.06 kB / 1.109 GB, free: 8.488 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=2): time 9.82e-07/0.5212, allocations: 0 / 1.109 GB, free: 8.488 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2): time 0.0001389/0.5214, allocations: 49.59 kB / 1.109 GB, free: 8.434 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.514e-05/0.5214, allocations: 77.11 kB / 1.109 GB, free: 8.34 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.825e-05/0.5215, allocations: 123.7 kB / 1.109 GB, free: 8.211 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.095e-05/0.5215, allocations: 33.77 kB / 1.109 GB, free: 8.172 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.916e-05/0.5216, allocations: 108 kB / 1.109 GB, free: 8.062 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 5.391e-06/0.5216, allocations: 3.906 kB / 1.109 GB, free: 8.059 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.474e-06/0.5216, allocations: 0 / 1.109 GB, free: 8.059 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 8.862e-05/0.5217, allocations: 322.8 kB / 1.11 GB, free: 7.734 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.552e-05/0.5217, allocations: 4 kB / 1.11 GB, free: 7.73 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.127e-05/0.5217, allocations: 21.66 kB / 1.11 GB, free: 7.703 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.198e-05/0.5218, allocations: 12 kB / 1.11 GB, free: 7.691 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.5218, allocations: 0 / 1.11 GB, free: 7.691 MB / 0.7136 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.694e-05/0.5219, allocations: 57.81 kB / 1.11 GB, free: 7.629 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.163e-05/0.5219, allocations: 8 kB / 1.11 GB, free: 7.621 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.987e-06/0.5219, allocations: 3.938 kB / 1.11 GB, free: 7.617 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.215e-06/0.5219, allocations: 0 / 1.11 GB, free: 7.617 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.032e-05/0.522, allocations: 7.938 kB / 1.11 GB, free: 7.609 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.779e-06/0.522, allocations: 4.656 kB / 1.11 GB, free: 7.605 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.985e-05/0.522, allocations: 14.31 kB / 1.11 GB, free: 7.594 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.378e-06/0.522, allocations: 64 / 1.11 GB, free: 7.594 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.947e-05/0.5221, allocations: 109 kB / 1.11 GB, free: 7.48 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.192e-05/0.5221, allocations: 3.906 kB / 1.11 GB, free: 7.477 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.668e-05/0.5222, allocations: 15.58 kB / 1.11 GB, free: 7.461 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.795e-06/0.5222, allocations: 4.078 kB / 1.11 GB, free: 7.457 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.115e-06/0.5222, allocations: 0.5625 kB / 1.11 GB, free: 7.457 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.556e-06/0.5222, allocations: 4 kB / 1.11 GB, free: 7.453 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003253/0.5225, allocations: 451.3 kB / 1.11 GB, free: 6.961 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.5225, allocations: 0 / 1.11 GB, free: 6.961 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.411e-05/0.5226, allocations: 4 kB / 1.11 GB, free: 6.957 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.5226, allocations: 0 / 1.11 GB, free: 6.957 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.27e-06/0.5226, allocations: 1.125 kB / 1.11 GB, free: 6.957 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.5226, allocations: 0 / 1.11 GB, free: 6.957 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.5226, allocations: 0 / 1.11 GB, free: 6.957 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 8.169e-05/0.5227, allocations: 95.58 kB / 1.111 GB, free: 6.836 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.75e-05/0.5227, allocations: 85.02 kB / 1.111 GB, free: 6.734 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.528e-05/0.5227, allocations: 3.984 kB / 1.111 GB, free: 6.73 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.253e-05/0.5228, allocations: 7.938 kB / 1.111 GB, free: 6.723 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.736e-06/0.5228, allocations: 0 / 1.111 GB, free: 6.723 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.014e-06/0.5228, allocations: 0 / 1.111 GB, free: 6.723 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5.868e-05/0.5228, allocations: 105.6 kB / 1.111 GB, free: 6.621 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.000169/0.523, allocations: 11.91 kB / 1.111 GB, free: 6.609 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 9.149e-05/0.5231, allocations: 103.3 kB / 1.111 GB, free: 6.5 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 5.941e-05/0.5232, allocations: 16.66 kB / 1.111 GB, free: 6.484 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.272e-06/0.5232, allocations: 0 / 1.111 GB, free: 6.484 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 1.177e-05/0.5232, allocations: 7.938 kB / 1.111 GB, free: 6.477 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.16e-05/0.5233, allocations: 8 kB / 1.111 GB, free: 6.469 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002252/0.5235, allocations: 113.1 kB / 1.111 GB, free: 6.332 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002254/0.5238, allocations: 0.7102 MB / 1.112 GB, free: 5.598 MB / 0.7136 GB Notification: Performance of SimCode: time 2.2e-07/0.5238, allocations: 4 kB / 1.112 GB, free: 5.594 MB / 0.7136 GB Notification: Performance of Templates: time 0.001724/0.5255, allocations: 380 kB / 1.112 GB, free: 5.25 MB / 0.7136 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.makefile (rm -f Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.sim & ./Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.pipe 2>&1)