Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.IO.Files.Examples.Printer.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Utilities.IO.Files.Examples.Printer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Utilities.IO.Files.Examples.Printer") translateModel(Buildings.Utilities.IO.Files.Examples.Printer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.23/2.23, allocations: 284.9 MB / 292.2 MB, free: 10.7 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001668/0.001667, allocations: 180 kB / 360.4 MB, free: 7.48 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.832/1.832, allocations: 205.2 MB / 0.6188 GB, free: 12.43 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001231/0.001231, allocations: 93.58 kB / 0.7318 GB, free: 44.98 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 8.175e-06/8.345e-06, allocations: 0 / 0.8502 GB, free: 3.859 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5657/0.5658, allocations: 115.2 MB / 0.9628 GB, free: 78.36 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2108/0.7766, allocations: 138.8 MB / 1.098 GB, free: 1.965 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000304/0.777, allocations: 85.36 kB / 1.098 GB, free: 1.883 MB / 0.698 GB Notification: Performance of FrontEnd: time 0.0138/0.7908, allocations: 2.657 MB / 1.101 GB, free: 15.3 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 2.124e-05/0.7909, allocations: 8 kB / 1.101 GB, free: 15.29 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.001014/0.7919, allocations: 0.5113 MB / 1.101 GB, free: 14.71 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.71e-05/0.792, allocations: 8.531 kB / 1.102 GB, free: 14.71 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.757e-05/0.792, allocations: 19.81 kB / 1.102 GB, free: 14.69 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003605/0.7924, allocations: 231.9 kB / 1.102 GB, free: 14.42 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.773e-05/0.7924, allocations: 0 / 1.102 GB, free: 14.42 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.286e-05/0.7925, allocations: 8 kB / 1.102 GB, free: 14.41 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001599/0.7927, allocations: 28 kB / 1.102 GB, free: 14.39 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002643/0.7929, allocations: 103.9 kB / 1.102 GB, free: 14.27 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.261e-05/0.793, allocations: 0 / 1.102 GB, free: 14.27 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.294e-05/0.793, allocations: 3.938 kB / 1.102 GB, free: 14.27 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.122e-06/0.793, allocations: 0 / 1.102 GB, free: 14.27 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000932/0.794, allocations: 453.2 kB / 1.102 GB, free: 13.79 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001537/0.7941, allocations: 65.16 kB / 1.102 GB, free: 13.7 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.671e-05/0.7942, allocations: 31.28 kB / 1.102 GB, free: 13.67 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 3.426e-05/0.7943, allocations: 4 kB / 1.102 GB, free: 13.66 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002759/0.7946, allocations: 117 kB / 1.103 GB, free: 13.53 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=12): time 1.973e-06/0.7946, allocations: 7.562 kB / 1.103 GB, free: 13.53 MB / 0.7136 GB Notification: Performance of matching and sorting (n=12): time 0.0003355/0.7949, allocations: 97.42 kB / 1.103 GB, free: 13.43 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.435e-05/0.795, allocations: 81.11 kB / 1.103 GB, free: 13.33 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001593/0.7952, allocations: 137.5 kB / 1.103 GB, free: 13.19 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 3.889e-05/0.7952, allocations: 29.81 kB / 1.103 GB, free: 13.15 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 6.132e-05/0.7953, allocations: 100.2 kB / 1.103 GB, free: 13.05 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 4.735e-05/0.7953, allocations: 27.69 kB / 1.103 GB, free: 13.02 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.877e-06/0.7954, allocations: 0 / 1.103 GB, free: 13.02 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001368/0.7955, allocations: 330.8 kB / 1.103 GB, free: 12.69 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.727e-05/0.7956, allocations: 20 kB / 1.103 GB, free: 12.67 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001412/0.7957, allocations: 90.3 kB / 1.103 GB, free: 12.54 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.207e-05/0.7958, allocations: 31.92 kB / 1.103 GB, free: 12.51 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.063e-06/0.7959, allocations: 7.906 kB / 1.103 GB, free: 12.5 MB / 0.7136 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003441/0.7962, allocations: 113.5 kB / 1.104 GB, free: 12.39 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.8e-05/0.7962, allocations: 11.91 kB / 1.104 GB, free: 12.38 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.704e-06/0.7963, allocations: 0 / 1.104 GB, free: 12.38 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.958e-05/0.7963, allocations: 4 kB / 1.104 GB, free: 12.37 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002089/0.7965, allocations: 23.92 kB / 1.104 GB, free: 12.35 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.677e-06/0.7965, allocations: 4 kB / 1.104 GB, free: 12.34 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001929/0.7967, allocations: 24.11 kB / 1.104 GB, free: 12.32 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.654e-05/0.7968, allocations: 4 kB / 1.104 GB, free: 12.32 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 0.0001213/0.7969, allocations: 116.7 kB / 1.104 GB, free: 12.2 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.041e-05/0.7969, allocations: 15.81 kB / 1.104 GB, free: 12.18 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.856e-05/0.797, allocations: 17.39 kB / 1.104 GB, free: 12.16 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.512e-06/0.7971, allocations: 8 kB / 1.104 GB, free: 12.15 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.312e-06/0.7971, allocations: 1.5 kB / 1.104 GB, free: 12.15 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.661e-06/0.7971, allocations: 0 / 1.104 GB, free: 12.15 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007662/0.7979, allocations: 471 kB / 1.104 GB, free: 11.65 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.698e-06/0.7979, allocations: 7.984 kB / 1.104 GB, free: 11.64 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001636/0.7981, allocations: 19.98 kB / 1.104 GB, free: 11.62 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.358e-06/0.7981, allocations: 0 / 1.104 GB, free: 11.62 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.787e-05/0.7981, allocations: 4 kB / 1.104 GB, free: 11.62 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.096e-06/0.7981, allocations: 0 / 1.104 GB, free: 11.62 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.386e-06/0.7981, allocations: 0 / 1.104 GB, free: 11.62 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003358/0.7985, allocations: 290.2 kB / 1.105 GB, free: 11.31 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.914e-05/0.7985, allocations: 92.92 kB / 1.105 GB, free: 11.2 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.266e-05/0.7986, allocations: 1.562 kB / 1.105 GB, free: 11.2 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003422/0.7989, allocations: 23.97 kB / 1.105 GB, free: 11.18 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.857e-05/0.799, allocations: 12.12 kB / 1.105 GB, free: 11.17 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.954e-05/0.7991, allocations: 8 kB / 1.105 GB, free: 11.16 MB / 0.7136 GB Notification: Performance of sort global known variables: time 0.0001162/0.7992, allocations: 120.9 kB / 1.105 GB, free: 11.04 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0005195/0.7997, allocations: 43.98 kB / 1.105 GB, free: 11 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.0004978/0.8002, allocations: 199.1 kB / 1.105 GB, free: 10.85 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002635/0.8005, allocations: 63.94 kB / 1.105 GB, free: 10.79 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.8005, allocations: 0 / 1.105 GB, free: 10.79 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001224/0.8007, allocations: 40.48 kB / 1.105 GB, free: 10.75 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003742/0.8011, allocations: 18.53 kB / 1.105 GB, free: 10.73 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006042/0.8017, allocations: 160.9 kB / 1.105 GB, free: 10.55 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004026/0.8021, allocations: 0.7348 MB / 1.106 GB, free: 9.785 MB / 0.7136 GB Notification: Performance of SimCode: time 7.12e-07/0.8021, allocations: 7.938 kB / 1.106 GB, free: 9.777 MB / 0.7136 GB Notification: Performance of Templates: time 0.007328/0.8095, allocations: 1.722 MB / 1.108 GB, free: 8.109 MB / 0.7136 GB make -j1 -f Buildings_8.0.0_Buildings.Utilities.IO.Files.Examples.Printer.makefile (rm -f Buildings_8.0.0_Buildings.Utilities.IO.Files.Examples.Printer.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.IO.Files.Examples.Printer.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.IO.Files.Examples.Printer.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.IO.Files.Examples.Printer.sim & ./Buildings_8.0.0_Buildings.Utilities.IO.Files.Examples.Printer -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Utilities.IO.Files.Examples.Printer.pipe 2>&1)