Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Dampers.Examples.Damper.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: translateModel(Buildings.Fluid.Actuators.Dampers.Examples.Damper,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Dampers.Examples.Damper") translateModel(Buildings.Fluid.Actuators.Dampers.Examples.Damper,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Dampers.Examples.Damper") [: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.426/1.426, allocations: 285.5 MB / 292.8 MB, free: 10.43 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.0009828/0.0009827, allocations: 181.3 kB / 361.1 MB, free: 7.051 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.244/1.244, allocations: 205.1 MB / 0.6195 GB, free: 11.95 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.0009149/0.0009147, allocations: 93.45 kB / 0.7326 GB, free: 44.43 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 8.797e-06/9.187e-06, allocations: 4 kB / 0.8511 GB, free: 3.184 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6147/0.6148, allocations: 115.3 MB / 0.9637 GB, free: 77.54 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.916/4.53, allocations: 2.085 GB / 3.048 GB, free: 69.33 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002448/4.531, allocations: 95.94 kB / 3.049 GB, free: 69.23 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.035/6.565, allocations: 0.5768 GB / 3.625 GB, free: 218.9 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001222/6.566, allocations: 43.41 kB / 3.625 GB, free: 218.9 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 163 * Number of variables: 163 Notification: Performance of Generate backend data structure: time 0.004542/6.57, allocations: 1.818 MB / 3.627 GB, free: 217.7 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.628e-05/6.57, allocations: 7.844 kB / 3.627 GB, free: 217.7 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004036/6.574, allocations: 0.5394 MB / 3.628 GB, free: 217.4 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004013/6.578, allocations: 2.08 MB / 3.63 GB, free: 216.2 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.542e-05/6.578, allocations: 20 kB / 3.63 GB, free: 216.2 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002/6.579, allocations: 75.72 kB / 3.63 GB, free: 216.2 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002319/6.581, allocations: 1.495 MB / 3.631 GB, free: 215.6 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00184/6.583, allocations: 1.249 MB / 3.633 GB, free: 214.8 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.788e-05/6.583, allocations: 6.312 kB / 3.633 GB, free: 214.8 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.357e-05/6.583, allocations: 9.938 kB / 3.633 GB, free: 214.8 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.063e-05/6.583, allocations: 18.25 kB / 3.633 GB, free: 214.8 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01053/6.593, allocations: 5.607 MB / 3.638 GB, free: 210.4 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002224/6.596, allocations: 1.457 MB / 3.639 GB, free: 209.8 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000974/6.597, allocations: 0.6998 MB / 3.64 GB, free: 209.5 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004672/6.597, allocations: 457.8 kB / 3.641 GB, free: 209 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.972e-05/6.597, allocations: 40.44 kB / 3.641 GB, free: 208.9 MB / 0.948 GB Notification: Performance of pre-optimization done (n=57): time 2.775e-06/6.597, allocations: 0 / 3.641 GB, free: 208.9 MB / 0.948 GB Notification: Performance of matching and sorting (n=57): time 0.006464/6.604, allocations: 2.147 MB / 3.643 GB, free: 207.9 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.729e-05/6.604, allocations: 57.72 kB / 3.643 GB, free: 207.9 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005148/6.609, allocations: 2.453 MB / 3.645 GB, free: 206.6 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.000393/6.609, allocations: 26.45 kB / 3.645 GB, free: 206.6 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006384/6.61, allocations: 481.4 kB / 3.646 GB, free: 206.2 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003209/6.61, allocations: 185.1 kB / 3.646 GB, free: 206 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002222/6.611, allocations: 0 / 3.646 GB, free: 206 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.000173/6.611, allocations: 379.8 kB / 3.646 GB, free: 205.7 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00225/6.613, allocations: 1.637 MB / 3.648 GB, free: 204.7 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002221/6.615, allocations: 2.088 MB / 3.65 GB, free: 202.4 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00504/6.62, allocations: 2.281 MB / 3.652 GB, free: 200.2 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.555e-05/6.62, allocations: 6.594 kB / 3.652 GB, free: 200.2 MB / 0.948 GB Notification: Performance of matching and sorting (n=235) (initialization): time 0.009302/6.63, allocations: 4.561 MB / 3.657 GB, free: 195.6 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004277/6.63, allocations: 2.056 MB / 3.659 GB, free: 193.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.32e-05/6.63, allocations: 4 kB / 3.659 GB, free: 193.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000509/6.631, allocations: 123.8 kB / 3.659 GB, free: 193.3 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001925/6.633, allocations: 414.2 kB / 3.659 GB, free: 192.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001413/6.634, allocations: 1.34 MB / 3.66 GB, free: 191.5 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003424/6.637, allocations: 331.8 kB / 3.661 GB, free: 191.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000385/6.638, allocations: 136 kB / 3.661 GB, free: 191.1 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.192e-05/6.638, allocations: 4 kB / 3.661 GB, free: 191.1 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007668/6.646, allocations: 4.32 MB / 3.665 GB, free: 186.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.559e-05/6.646, allocations: 7.938 kB / 3.665 GB, free: 186.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.989e-05/6.646, allocations: 15.69 kB / 3.665 GB, free: 186.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001702/6.647, allocations: 422.8 kB / 3.665 GB, free: 186.3 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.031e-05/6.647, allocations: 15.98 kB / 3.665 GB, free: 186.3 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003014/6.65, allocations: 264.7 kB / 3.666 GB, free: 186.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002808/6.651, allocations: 136 kB / 3.666 GB, free: 186 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * Number of states: 0 () * Number of discrete variables: 39 (preIndDpFixed_nominal.idx_sorted[1],preIndDpFixed_nominal.idx_sorted[2],preIndDpFixed_nominal.idx_sorted[3],preIndDpFixed_nominal.idx_sorted[4],preIndDpFixed_nominal.idx_sorted[5],preIndDpFixed_nominal.idx_sorted[6],preIndDpFixed_nominal.idx_sorted[7],preIndDpFixed_nominal.idx_sorted[8],preIndDpFixed_nominal.idx_sorted[9],preIndDpFixed_nominal.idx_sorted[10],preIndDpFixed_nominal.idx_sorted[11],preIndDpFixed_nominal.idx_sorted[12],preIndDpFixed_nominal.idx_sorted[13],preIndFrom_dp.idx_sorted[1],preIndFrom_dp.idx_sorted[2],preIndFrom_dp.idx_sorted[3],preIndFrom_dp.idx_sorted[4],preIndFrom_dp.idx_sorted[5],preIndFrom_dp.idx_sorted[6],preIndFrom_dp.idx_sorted[7],preIndFrom_dp.idx_sorted[8],preIndFrom_dp.idx_sorted[9],preIndFrom_dp.idx_sorted[10],preIndFrom_dp.idx_sorted[11],preIndFrom_dp.idx_sorted[12],preIndFrom_dp.idx_sorted[13],preInd.idx_sorted[1],preInd.idx_sorted[2],preInd.idx_sorted[3],preInd.idx_sorted[4],preInd.idx_sorted[5],preInd.idx_sorted[6],preInd.idx_sorted[7],preInd.idx_sorted[8],preInd.idx_sorted[9],preInd.idx_sorted[10],preInd.idx_sorted[11],preInd.idx_sorted[12],preInd.idx_sorted[13]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (195): * Single equations (assignments): 190 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of prepare postOptimizeDAE: time 0.0004657/6.651, allocations: 169.1 kB / 3.666 GB, free: 185.8 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009302/6.652, allocations: 161.7 kB / 3.666 GB, free: 185.6 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005992/6.658, allocations: 2.417 MB / 3.669 GB, free: 183.2 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.05e-05/6.658, allocations: 4 kB / 3.669 GB, free: 183.2 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.532e-06/6.658, allocations: 0 / 3.669 GB, free: 183.2 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.296e-06/6.658, allocations: 3.984 kB / 3.669 GB, free: 183.2 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01034/6.669, allocations: 4.199 MB / 3.673 GB, free: 179 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.985e-06/6.669, allocations: 4 kB / 3.673 GB, free: 179 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00105/6.67, allocations: 211.4 kB / 3.673 GB, free: 178.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000384/6.67, allocations: 127.5 kB / 3.673 GB, free: 178.6 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001037/6.67, allocations: 31.98 kB / 3.673 GB, free: 178.6 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001144/6.671, allocations: 1.308 MB / 3.674 GB, free: 177.3 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.652e-06/6.671, allocations: 7.75 kB / 3.674 GB, free: 177.2 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005607/6.677, allocations: 2.491 MB / 3.677 GB, free: 174.7 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001543/6.679, allocations: 0.5804 MB / 3.677 GB, free: 174.1 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008612/6.679, allocations: 2.438 kB / 3.677 GB, free: 174.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00218/6.682, allocations: 121.8 kB / 3.677 GB, free: 173.9 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001162/6.682, allocations: 48.42 kB / 3.677 GB, free: 173.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001131/6.682, allocations: 79.97 kB / 3.678 GB, free: 173.8 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.002916/6.685, allocations: 1.829 MB / 3.679 GB, free: 172 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.004108/6.689, allocations: 0.9596 MB / 3.68 GB, free: 171 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (62): * Single equations (assignments): 60 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.003348/6.692, allocations: 1.782 MB / 3.682 GB, free: 169.5 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.006257/6.699, allocations: 5.097 MB / 3.687 GB, free: 164.5 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 7.594e-06/6.699, allocations: 0 / 3.687 GB, free: 164.5 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.001147/6.7, allocations: 0.6532 MB / 3.688 GB, free: 163.8 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003073/6.703, allocations: 357.9 kB / 3.688 GB, free: 163.5 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006233/6.709, allocations: 2.385 MB / 3.69 GB, free: 161 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001913/6.711, allocations: 1.544 MB / 3.692 GB, free: 159.5 MB / 0.948 GB Notification: Performance of SimCode: time 1.062e-06/6.711, allocations: 0 / 3.692 GB, free: 159.5 MB / 0.948 GB Notification: Performance of Templates: time 0.0694/6.78, allocations: 47.74 MB / 3.738 GB, free: 112.4 MB / 0.948 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Dampers.Examples.Damper.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Dampers.Examples.Damper.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Dampers.Examples.Damper.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Dampers.Examples.Damper.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Dampers.Examples.Damper.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Dampers.Examples.Damper -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Dampers.Examples.Damper.pipe 2>&1)