Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Utilities.Reports.Examples.Printer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo) Running command: translateModel(Buildings.Utilities.Reports.Examples.Printer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Reports.Examples.Printer") translateModel(Buildings.Utilities.Reports.Examples.Printer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Reports.Examples.Printer") [: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 1.6.0+build.1/package.mo): time 0.5883/0.5883, allocations: 94.74 MB / 102 MB, free: 10.37 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001175/0.001175, allocations: 175.1 kB / 125.3 MB, free: 12 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.25/1.25, allocations: 170.5 MB / 319 MB, free: 9.371 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001723/0.001723, allocations: 113.2 kB / 381 MB, free: 18.15 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 6.052e-06/6.082e-06, allocations: 224 / 448.6 MB, free: 2.137 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1304/0.1304, allocations: 61.52 MB / 0.4981 GB, free: 4.52 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3081/0.4385, allocations: 94.33 MB / 0.5902 GB, free: 8.125 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000235/0.4388, allocations: 75.95 kB / 0.5903 GB, free: 8.051 MB / 410.7 MB Notification: Performance of FrontEnd: time 0.008365/0.4472, allocations: 2.443 MB / 0.5927 GB, free: 5.691 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.494e-05/0.4473, allocations: 4.75 kB / 0.5927 GB, free: 5.688 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0006786/0.4479, allocations: 0.5174 MB / 0.5932 GB, free: 5.117 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.717e-05/0.448, allocations: 8.031 kB / 0.5932 GB, free: 5.109 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.876e-05/0.4481, allocations: 19.81 kB / 0.5932 GB, free: 5.09 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002448/0.4483, allocations: 220 kB / 0.5934 GB, free: 4.836 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.26e-05/0.4483, allocations: 0 / 0.5934 GB, free: 4.836 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.493e-05/0.4484, allocations: 8 kB / 0.5934 GB, free: 4.828 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001142/0.4485, allocations: 39.89 kB / 0.5935 GB, free: 4.789 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001697/0.4487, allocations: 103 kB / 0.5936 GB, free: 4.68 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.786e-06/0.4487, allocations: 0 / 0.5936 GB, free: 4.68 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.949e-05/0.4487, allocations: 4 kB / 0.5936 GB, free: 4.676 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.171e-06/0.4487, allocations: 6.188 kB / 0.5936 GB, free: 4.672 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006225/0.4493, allocations: 433.4 kB / 0.594 GB, free: 4.207 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001068/0.4495, allocations: 69.16 kB / 0.5941 GB, free: 4.121 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.413e-05/0.4495, allocations: 29.83 kB / 0.5941 GB, free: 4.086 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.474e-05/0.4496, allocations: 15.89 kB / 0.5941 GB, free: 4.07 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000193/0.4498, allocations: 117.1 kB / 0.5942 GB, free: 3.938 MB / 410.7 MB Notification: Performance of pre-optimization done (n=12): time 1.363e-06/0.4498, allocations: 4 kB / 0.5942 GB, free: 3.934 MB / 410.7 MB Notification: Performance of matching and sorting (n=12): time 0.0002659/0.45, allocations: 101.4 kB / 0.5943 GB, free: 3.828 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.656e-05/0.4501, allocations: 81.11 kB / 0.5944 GB, free: 3.73 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001242/0.4502, allocations: 137.5 kB / 0.5945 GB, free: 3.59 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.204e-05/0.4503, allocations: 33.69 kB / 0.5946 GB, free: 3.551 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.671e-05/0.4504, allocations: 100.2 kB / 0.5947 GB, free: 3.445 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.281e-05/0.4504, allocations: 19.72 kB / 0.5947 GB, free: 3.426 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.942e-06/0.4504, allocations: 0 / 0.5947 GB, free: 3.426 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001331/0.4506, allocations: 330.8 kB / 0.595 GB, free: 3.094 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.608e-05/0.4506, allocations: 16 kB / 0.595 GB, free: 3.078 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.693e-05/0.4507, allocations: 90.3 kB / 0.5951 GB, free: 2.953 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.912e-05/0.4508, allocations: 31.83 kB / 0.5951 GB, free: 2.922 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.308e-06/0.4508, allocations: 4 kB / 0.5951 GB, free: 2.918 MB / 410.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001962/0.451, allocations: 121.5 kB / 0.5953 GB, free: 2.793 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.373e-05/0.451, allocations: 4 kB / 0.5953 GB, free: 2.789 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.304e-06/0.451, allocations: 0.9375 kB / 0.5953 GB, free: 2.789 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.42e-05/0.4511, allocations: 4 kB / 0.5953 GB, free: 2.785 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000122/0.4512, allocations: 26.11 kB / 0.5953 GB, free: 2.762 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.017e-05/0.4512, allocations: 5.219 kB / 0.5953 GB, free: 2.758 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001089/0.4513, allocations: 19.98 kB / 0.5953 GB, free: 2.738 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.462e-05/0.4513, allocations: 8 kB / 0.5953 GB, free: 2.73 MB / 410.7 MB Warning: Assuming fixed start value for the following 3 variables: pri2.firstTrigger:DISCRETE(fixed = false protected = true ) "Rising edge signals first sample instant" type: Boolean pri1.firstTrigger:DISCRETE(fixed = false protected = true ) "Rising edge signals first sample instant" type: Boolean pri3.firstTrigger:DISCRETE(fixed = false protected = true ) "Rising edge signals first sample instant" type: Boolean Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 13 ($PRE.pri2.firstTrigger,pri2.firstTrigger,$PRE.pri1.firstTrigger,pri1.firstTrigger,$whenCondition4,$whenCondition2,pri1.sampleTrigger,$whenCondition3,pri2.sampleTrigger,$PRE.pri3.firstTrigger,pri3.firstTrigger,$whenCondition1,pri3.sampleTrigger) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * 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 0.0001427/0.4515, allocations: 129.7 kB / 0.5954 GB, free: 2.602 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.63e-05/0.4515, allocations: 15.81 kB / 0.5955 GB, free: 2.586 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.68e-05/0.4516, allocations: 21.39 kB / 0.5955 GB, free: 2.566 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.364e-06/0.4516, allocations: 0 / 0.5955 GB, free: 2.566 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.4516, allocations: 0 / 0.5955 GB, free: 2.566 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.698e-06/0.4516, allocations: 4 kB / 0.5955 GB, free: 2.562 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004736/0.4521, allocations: 470.7 kB / 0.5959 GB, free: 2.059 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.966e-06/0.4521, allocations: 0 / 0.5959 GB, free: 2.059 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.013e-05/0.4522, allocations: 23.92 kB / 0.596 GB, free: 2.035 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.701e-06/0.4522, allocations: 6.438 kB / 0.596 GB, free: 2.031 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.088e-05/0.4523, allocations: 0 / 0.596 GB, free: 2.031 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.116e-06/0.4523, allocations: 4.953 kB / 0.596 GB, free: 2.031 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/0.4523, allocations: 0 / 0.596 GB, free: 2.031 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002245/0.4525, allocations: 288.3 kB / 0.5962 GB, free: 1.727 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.061e-05/0.4526, allocations: 92.91 kB / 0.5963 GB, free: 1.617 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.455e-05/0.4526, allocations: 0 / 0.5963 GB, free: 1.617 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001966/0.4528, allocations: 23.98 kB / 0.5963 GB, free: 1.594 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.721e-05/0.4528, allocations: 11.98 kB / 0.5964 GB, free: 1.582 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.047e-05/0.4529, allocations: 15.89 kB / 0.5964 GB, free: 1.566 MB / 410.7 MB Notification: Performance of sort global known variables: time 7.263e-05/0.453, allocations: 115.8 kB / 0.5965 GB, free: 1.457 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003399/0.4533, allocations: 32 kB / 0.5965 GB, free: 1.426 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 10 (pri3.sampleTrigger,$whenCondition1,pri3.firstTrigger,pri2.sampleTrigger,pri1.sampleTrigger,$whenCondition4,$whenCondition3,$whenCondition2,pri1.firstTrigger,pri2.firstTrigger) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0003888/0.4537, allocations: 184.4 kB / 0.5967 GB, free: 1.277 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001931/0.4539, allocations: 59.88 kB / 0.5967 GB, free: 1.219 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.4539, allocations: 0 / 0.5967 GB, free: 1.219 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 9.103e-05/0.454, allocations: 40.48 kB / 0.5968 GB, free: 1.18 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002567/0.4543, allocations: 17.88 kB / 0.5968 GB, free: 1.164 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004167/0.4547, allocations: 169.7 kB / 0.597 GB, free: 0.9727 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002555/0.455, allocations: 0.727 MB / 0.5977 GB, free: 224 kB / 410.7 MB Notification: Performance of SimCode: time 1.323e-06/0.455, allocations: 8 kB / 0.5977 GB, free: 216 kB / 410.7 MB Notification: Performance of Templates: time 0.004637/0.4596, allocations: 1.693 MB / 0.5993 GB, free: 14.58 MB / 426.7 MB make -j1 -f Buildings_1.6_Buildings.Utilities.Reports.Examples.Printer.makefile (rm -f Buildings_1.6_Buildings.Utilities.Reports.Examples.Printer.pipe ; mkfifo Buildings_1.6_Buildings.Utilities.Reports.Examples.Printer.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Utilities.Reports.Examples.Printer.pipe >> ../files/Buildings_1.6_Buildings.Utilities.Reports.Examples.Printer.sim & ./Buildings_1.6_Buildings.Utilities.Reports.Examples.Printer -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Utilities.Reports.Examples.Printer.pipe 2>&1)