Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.IO.Files.Examples.Printer.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.Utilities.IO.Files.Examples.Printer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.IO.Files.Examples.Printer") translateModel(Buildings.Utilities.IO.Files.Examples.Printer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.IO.Files.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 8.1.4-maint.8.1.x/package.mo): time 1.508/1.508, allocations: 289.8 MB / 297.1 MB, free: 6.688 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.001121/0.001121, allocations: 177.3 kB / 366.3 MB, free: 2 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.455/1.455, 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.0008886/0.0008886, allocations: 92.44 kB / 0.7396 GB, free: 39.67 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 6.132e-06/6.172e-06, allocations: 0 / 0.859 GB, free: 13.38 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5588/0.5588, allocations: 116.3 MB / 0.9726 GB, free: 68.01 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1603/0.7192, allocations: 139.9 MB / 1.109 GB, free: 8.559 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002174/0.7195, allocations: 76.48 kB / 1.109 GB, free: 8.48 MB / 0.7136 GB Notification: Performance of FrontEnd: time 0.008379/0.7278, allocations: 2.658 MB / 1.112 GB, free: 5.84 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.311e-05/0.7279, allocations: 4.438 kB / 1.112 GB, free: 5.836 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0006558/0.7285, allocations: 0.5225 MB / 1.112 GB, free: 5.25 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.171e-05/0.7286, allocations: 8.781 kB / 1.112 GB, free: 5.242 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.876e-05/0.7286, allocations: 15.81 kB / 1.112 GB, free: 5.227 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002294/0.7289, allocations: 214.8 kB / 1.113 GB, free: 4.977 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.25e-05/0.7289, allocations: 8 kB / 1.113 GB, free: 4.969 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.136e-05/0.7289, allocations: 4 kB / 1.113 GB, free: 4.965 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001074/0.729, allocations: 39.92 kB / 1.113 GB, free: 4.926 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001587/0.7292, allocations: 103 kB / 1.113 GB, free: 4.816 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.955e-06/0.7292, allocations: 4 kB / 1.113 GB, free: 4.812 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.539e-05/0.7292, allocations: 1.031 kB / 1.113 GB, free: 4.812 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.662e-06/0.7293, allocations: 4 kB / 1.113 GB, free: 4.809 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005976/0.7299, allocations: 449.2 kB / 1.113 GB, free: 4.328 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000105/0.73, allocations: 65.2 kB / 1.113 GB, free: 4.246 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.131e-05/0.73, allocations: 29.84 kB / 1.113 GB, free: 4.211 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.231e-05/0.7301, allocations: 0 / 1.113 GB, free: 4.211 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001702/0.7302, allocations: 125 kB / 1.113 GB, free: 4.07 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=12): time 1.172e-06/0.7302, allocations: 0 / 1.113 GB, free: 4.07 MB / 0.7136 GB Notification: Performance of matching and sorting (n=12): time 0.0002216/0.7305, allocations: 102.2 kB / 1.114 GB, free: 3.965 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.764e-05/0.7305, allocations: 77.22 kB / 1.114 GB, free: 3.871 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001158/0.7306, allocations: 145.9 kB / 1.114 GB, free: 3.723 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.183e-05/0.7307, allocations: 29.7 kB / 1.114 GB, free: 3.688 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.785e-05/0.7307, allocations: 96.31 kB / 1.114 GB, free: 3.586 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.237e-05/0.7308, allocations: 24.75 kB / 1.114 GB, free: 3.562 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.601e-06/0.7308, allocations: 0 / 1.114 GB, free: 3.562 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001324/0.7309, allocations: 330.8 kB / 1.114 GB, free: 3.23 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.828e-05/0.731, allocations: 16 kB / 1.114 GB, free: 3.215 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.81e-05/0.7311, allocations: 94.25 kB / 1.114 GB, free: 3.086 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.655e-05/0.7311, allocations: 31.98 kB / 1.114 GB, free: 3.055 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.287e-06/0.7311, allocations: 3.906 kB / 1.114 GB, free: 3.051 MB / 0.7136 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001865/0.7313, allocations: 117.5 kB / 1.114 GB, free: 2.93 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.414e-05/0.7314, allocations: 7.906 kB / 1.114 GB, free: 2.922 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.993e-06/0.7314, allocations: 4 kB / 1.114 GB, free: 2.918 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.242e-05/0.7314, allocations: 0 / 1.114 GB, free: 2.918 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001242/0.7315, allocations: 28.53 kB / 1.114 GB, free: 2.891 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.457e-06/0.7315, allocations: 7.938 kB / 1.114 GB, free: 2.883 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001199/0.7317, allocations: 24.05 kB / 1.115 GB, free: 2.859 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.246e-05/0.7317, allocations: 4 kB / 1.115 GB, free: 2.855 MB / 0.7136 GB 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 9.153e-05/0.7318, allocations: 113.7 kB / 1.115 GB, free: 2.738 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.597e-05/0.7318, allocations: 15.81 kB / 1.115 GB, free: 2.723 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.701e-05/0.7319, allocations: 22.31 kB / 1.115 GB, free: 2.691 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.7319, allocations: 4 kB / 1.115 GB, free: 2.688 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/0.7319, allocations: 0 / 1.115 GB, free: 2.688 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.601e-06/0.7319, allocations: 7.938 kB / 1.115 GB, free: 2.68 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000477/0.7324, allocations: 471.8 kB / 1.115 GB, free: 2.176 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.7324, allocations: 0 / 1.115 GB, free: 2.176 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001023/0.7325, allocations: 19.98 kB / 1.115 GB, free: 2.156 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.597e-06/0.7325, allocations: 7.938 kB / 1.115 GB, free: 2.148 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.039e-05/0.7325, allocations: 0 / 1.115 GB, free: 2.148 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.376e-06/0.7325, allocations: 3.984 kB / 1.115 GB, free: 2.145 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.7326, allocations: 0 / 1.115 GB, free: 2.145 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002305/0.7328, allocations: 282.6 kB / 1.115 GB, free: 1.848 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.383e-05/0.7328, allocations: 92.92 kB / 1.116 GB, free: 1.738 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.336e-05/0.7329, allocations: 0 / 1.116 GB, free: 1.738 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001986/0.7331, allocations: 27.97 kB / 1.116 GB, free: 1.711 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.606e-05/0.7331, allocations: 11.98 kB / 1.116 GB, free: 1.699 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.455e-05/0.7332, allocations: 8 kB / 1.116 GB, free: 1.691 MB / 0.7136 GB Notification: Performance of sort global known variables: time 6.755e-05/0.7333, allocations: 115.2 kB / 1.116 GB, free: 1.578 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.000327/0.7336, allocations: 43.98 kB / 1.116 GB, free: 1.535 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: 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.0004132/0.734, allocations: 188.1 kB / 1.116 GB, free: 1.379 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002157/0.7342, allocations: 67.86 kB / 1.116 GB, free: 1.312 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.7342, allocations: 0 / 1.116 GB, free: 1.312 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 7.073e-05/0.7343, allocations: 32.56 kB / 1.116 GB, free: 1.281 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002435/0.7346, allocations: 27.3 kB / 1.116 GB, free: 1.258 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004085/0.735, allocations: 160.1 kB / 1.116 GB, free: 1.074 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003744/0.7354, allocations: 0.7348 MB / 1.117 GB, free: 320 kB / 0.7136 GB Notification: Performance of SimCode: time 2.61e-07/0.7354, allocations: 0 / 1.117 GB, free: 320 kB / 0.7136 GB Notification: Performance of Templates: time 0.005037/0.7404, allocations: 1.74 MB / 1.119 GB, free: 14.62 MB / 0.7292 GB make -j1 -f Buildings_8_Buildings.Utilities.IO.Files.Examples.Printer.makefile (rm -f Buildings_8_Buildings.Utilities.IO.Files.Examples.Printer.pipe ; mkfifo Buildings_8_Buildings.Utilities.IO.Files.Examples.Printer.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.IO.Files.Examples.Printer.pipe >> ../files/Buildings_8_Buildings.Utilities.IO.Files.Examples.Printer.sim & ./Buildings_8_Buildings.Utilities.IO.Files.Examples.Printer -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.IO.Files.Examples.Printer.pipe 2>&1)