Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Actuators.Dampers.Examples.Damper.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.Fluid.Actuators.Dampers.Examples.Damper,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Actuators.Dampers.Examples.Damper") translateModel(Buildings.Fluid.Actuators.Dampers.Examples.Damper,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.446/1.446, allocations: 289.8 MB / 297.1 MB, free: 6.68 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.001185/0.001185, allocations: 183.9 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.333/1.333, allocations: 205.1 MB / 0.6256 GB, free: 5.828 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.0008879/0.000888, allocations: 95.66 kB / 0.7396 GB, free: 39.68 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.089e-05/1.092e-05, allocations: 4 kB / 0.859 GB, free: 13.38 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6274/0.6275, allocations: 116.3 MB / 0.9726 GB, free: 68.22 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.332/4.959, allocations: 2.086 GB / 3.058 GB, free: 347.9 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002405/4.96, allocations: 93.97 kB / 3.058 GB, free: 347.9 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.519/6.479, allocations: 0.5768 GB / 3.635 GB, free: 155.1 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001132/6.479, allocations: 38.66 kB / 3.635 GB, free: 155.1 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.004092/6.483, allocations: 1.831 MB / 3.637 GB, free: 153.2 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.672e-05/6.483, allocations: 12.03 kB / 3.637 GB, free: 153.2 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003622/6.487, allocations: 0.5283 MB / 3.638 GB, free: 152.7 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003506/6.49, allocations: 2.076 MB / 3.64 GB, free: 150.6 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.437e-05/6.49, allocations: 23.94 kB / 3.64 GB, free: 150.6 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001785/6.49, allocations: 79.91 kB / 3.64 GB, free: 150.5 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001923/6.492, allocations: 1.498 MB / 3.641 GB, free: 149 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001488/6.494, allocations: 1.255 MB / 3.642 GB, free: 147.7 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.166e-05/6.494, allocations: 3.938 kB / 3.642 GB, free: 147.6 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.628e-05/6.494, allocations: 4 kB / 3.642 GB, free: 147.6 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.361e-05/6.494, allocations: 16 kB / 3.642 GB, free: 147.6 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007438/6.501, allocations: 5.61 MB / 3.648 GB, free: 141.9 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002015/6.503, allocations: 1.459 MB / 3.649 GB, free: 140.4 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007717/6.504, allocations: 0.7087 MB / 3.65 GB, free: 139.7 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004343/6.505, allocations: 452.4 kB / 3.65 GB, free: 139.2 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.699e-05/6.505, allocations: 39.06 kB / 3.65 GB, free: 139.1 MB / 0.948 GB Notification: Performance of pre-optimization done (n=57): time 3.116e-06/6.505, allocations: 0 / 3.65 GB, free: 139.1 MB / 0.948 GB Notification: Performance of matching and sorting (n=57): time 0.005682/6.51, allocations: 2.154 MB / 3.653 GB, free: 137 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.326e-05/6.51, allocations: 55.91 kB / 3.653 GB, free: 136.9 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003247/6.514, allocations: 2.45 MB / 3.655 GB, free: 134.4 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002815/6.514, allocations: 29.7 kB / 3.655 GB, free: 134.4 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003009/6.514, allocations: 476.2 kB / 3.656 GB, free: 133.9 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001517/6.514, allocations: 181.1 kB / 3.656 GB, free: 133.7 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.137e-05/6.515, allocations: 4 kB / 3.656 GB, free: 133.7 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001023/6.515, allocations: 381.9 kB / 3.656 GB, free: 133.3 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001568/6.516, allocations: 1.628 MB / 3.658 GB, free: 131.7 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001774/6.518, allocations: 2.09 MB / 3.66 GB, free: 129.4 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004333/6.522, allocations: 2.278 MB / 3.662 GB, free: 127.2 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.901e-06/6.522, allocations: 0 / 3.662 GB, free: 127.2 MB / 0.948 GB Notification: Performance of matching and sorting (n=235) (initialization): time 0.007457/6.53, allocations: 4.569 MB / 3.666 GB, free: 122.6 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003591/6.53, allocations: 2.059 MB / 3.668 GB, free: 120.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.516e-05/6.53, allocations: 8 kB / 3.668 GB, free: 120.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004652/6.531, allocations: 116.8 kB / 3.669 GB, free: 120.3 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001735/6.532, allocations: 423.4 kB / 3.669 GB, free: 119.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001256/6.534, allocations: 1.337 MB / 3.67 GB, free: 118.5 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002976/6.537, allocations: 329.6 kB / 3.671 GB, free: 118.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002233/6.537, allocations: 140 kB / 3.671 GB, free: 118 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 9.738e-06/6.537, allocations: 4 kB / 3.671 GB, free: 118 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006559/6.544, allocations: 4.319 MB / 3.675 GB, free: 113.7 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.535e-05/6.544, allocations: 8 kB / 3.675 GB, free: 113.7 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.968e-05/6.544, allocations: 12 kB / 3.675 GB, free: 113.7 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001585/6.545, allocations: 427.4 kB / 3.675 GB, free: 113.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.398e-05/6.545, allocations: 19.89 kB / 3.675 GB, free: 113.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002823/6.548, allocations: 254.5 kB / 3.676 GB, free: 113 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002089/6.548, allocations: 140 kB / 3.676 GB, free: 112.8 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.0003898/6.549, allocations: 171.9 kB / 3.676 GB, free: 112.7 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005282/6.549, allocations: 161.7 kB / 3.676 GB, free: 112.5 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005395/6.555, allocations: 2.401 MB / 3.678 GB, free: 110.1 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.779e-06/6.555, allocations: 8 kB / 3.678 GB, free: 110.1 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.033e-06/6.555, allocations: 0 / 3.678 GB, free: 110.1 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.576e-06/6.555, allocations: 3.984 kB / 3.678 GB, free: 110.1 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009364/6.564, allocations: 4.202 MB / 3.682 GB, free: 105.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.688e-06/6.564, allocations: 11.97 kB / 3.682 GB, free: 105.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009946/6.565, allocations: 203.7 kB / 3.683 GB, free: 105.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003653/6.566, allocations: 132.8 kB / 3.683 GB, free: 105.5 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000102/6.566, allocations: 35.97 kB / 3.683 GB, free: 105.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00113/6.567, allocations: 1.306 MB / 3.684 GB, free: 104.1 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.342e-06/6.567, allocations: 3.984 kB / 3.684 GB, free: 104.1 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005431/6.572, allocations: 2.489 MB / 3.687 GB, free: 101.5 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001499/6.574, allocations: 0.5804 MB / 3.687 GB, free: 100.9 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008225/6.575, allocations: 7.984 kB / 3.687 GB, free: 100.9 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002016/6.577, allocations: 111.9 kB / 3.687 GB, free: 100.7 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001184/6.577, allocations: 48.34 kB / 3.687 GB, free: 100.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001144/6.577, allocations: 87.95 kB / 3.687 GB, free: 100.6 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.002862/6.58, allocations: 1.825 MB / 3.689 GB, free: 98.76 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.004099/6.584, allocations: 0.9558 MB / 3.69 GB, free: 97.8 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.003185/6.587, allocations: 1.781 MB / 3.692 GB, free: 96.09 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.005785/6.593, allocations: 5.104 MB / 3.697 GB, free: 90.98 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 6.563e-06/6.593, allocations: 448 / 3.697 GB, free: 90.98 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0009411/6.594, allocations: 0.6465 MB / 3.697 GB, free: 90.34 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002688/6.597, allocations: 366 kB / 3.698 GB, free: 89.98 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005909/6.602, allocations: 2.379 MB / 3.7 GB, free: 87.53 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001818/6.604, allocations: 1.541 MB / 3.702 GB, free: 85.96 MB / 0.948 GB Notification: Performance of SimCode: time 9.42e-07/6.604, allocations: 0 / 3.702 GB, free: 85.96 MB / 0.948 GB Notification: Performance of Templates: time 0.07126/6.676, allocations: 47.75 MB / 3.748 GB, free: 38.33 MB / 0.948 GB make -j1 -f Buildings_8_Buildings.Fluid.Actuators.Dampers.Examples.Damper.makefile (rm -f Buildings_8_Buildings.Fluid.Actuators.Dampers.Examples.Damper.pipe ; mkfifo Buildings_8_Buildings.Fluid.Actuators.Dampers.Examples.Damper.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Actuators.Dampers.Examples.Damper.pipe >> ../files/Buildings_8_Buildings.Fluid.Actuators.Dampers.Examples.Damper.sim & ./Buildings_8_Buildings.Fluid.Actuators.Dampers.Examples.Damper -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Actuators.Dampers.Examples.Damper.pipe 2>&1)