Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Utilities.Reports.Examples.Printer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo", uses=false) Using package Modelica_StateGraph2 with version 2.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo) 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 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo) Running command: translateModel(Buildings.Utilities.Reports.Examples.Printer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Utilities.Reports.Examples.Printer") translateModel(Buildings.Utilities.Reports.Examples.Printer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_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 3.0.0/package.mo): time 0.7134/0.7134, allocations: 132.4 MB / 139.7 MB, free: 15.55 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001158/0.001158, allocations: 169.9 kB / 171.6 MB, free: 1.969 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.276/1.276, allocations: 170.5 MB / 373.9 MB, free: 15.84 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001718/0.001717, allocations: 127.4 kB / 444.4 MB, free: 9.383 MB / 346.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:257:38-257:110:writable] Warning: The file was not encoded in UTF-8: "

An important practical aspect of state machines is the abilit...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:761:36-761:108:writable] Warning: The file was not encoded in UTF-8: "

The Modelica_StateGraph2 library is described in detail in (O...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:1435:36-1435:108:writable] Warning: The file was not encoded in UTF-8: "

Main Authors:
SCode: time 0.4732/0.4732, allocations: 73.39 MB / 0.666 GB, free: 62.39 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1381/0.6114, allocations: 102.2 MB / 0.7658 GB, free: 2.09 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002841/0.6118, allocations: 81.59 kB / 0.7659 GB, free: 2.016 MB / 474.7 MB Notification: Performance of FrontEnd: time 0.009368/0.6212, allocations: 2.503 MB / 0.7683 GB, free: 15.55 MB / 490.7 MB Notification: Performance of Transformations before backend: time 1.892e-05/0.6212, allocations: 8 kB / 0.7683 GB, free: 15.55 MB / 490.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.0007523/0.622, allocations: 0.5102 MB / 0.7688 GB, free: 14.98 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.591e-05/0.622, allocations: 8.031 kB / 0.7688 GB, free: 14.97 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.266e-05/0.6221, allocations: 15.81 kB / 0.7689 GB, free: 14.95 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002979/0.6224, allocations: 223.8 kB / 0.7691 GB, free: 14.7 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.958e-05/0.6224, allocations: 0 / 0.7691 GB, free: 14.7 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.162e-05/0.6225, allocations: 8 kB / 0.7691 GB, free: 14.69 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001337/0.6226, allocations: 27.98 kB / 0.7691 GB, free: 14.66 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002203/0.6228, allocations: 107.3 kB / 0.7692 GB, free: 14.54 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.313e-05/0.6229, allocations: 7.906 kB / 0.7692 GB, free: 14.54 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.91e-05/0.6229, allocations: 0 / 0.7692 GB, free: 14.54 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.636e-06/0.6229, allocations: 0 / 0.7692 GB, free: 14.54 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008056/0.6237, allocations: 442.5 kB / 0.7696 GB, free: 14.06 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001162/0.6239, allocations: 65.2 kB / 0.7697 GB, free: 13.98 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.048e-05/0.6239, allocations: 33.84 kB / 0.7697 GB, free: 13.95 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.882e-05/0.624, allocations: 3.938 kB / 0.7697 GB, free: 13.94 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002032/0.6242, allocations: 124.9 kB / 0.7698 GB, free: 13.8 MB / 490.7 MB Notification: Performance of pre-optimization done (n=12): time 1.503e-06/0.6242, allocations: 4 kB / 0.7699 GB, free: 13.8 MB / 490.7 MB Notification: Performance of matching and sorting (n=12): time 0.0002817/0.6245, allocations: 97.42 kB / 0.7699 GB, free: 13.7 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.412e-05/0.6245, allocations: 81.11 kB / 0.77 GB, free: 13.6 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001316/0.6247, allocations: 143 kB / 0.7702 GB, free: 13.45 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.72e-05/0.6247, allocations: 25.7 kB / 0.7702 GB, free: 13.42 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.827e-05/0.6248, allocations: 104.2 kB / 0.7703 GB, free: 13.31 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.567e-05/0.6248, allocations: 23.7 kB / 0.7703 GB, free: 13.29 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.242e-06/0.6248, allocations: 0 / 0.7703 GB, free: 13.29 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001373/0.625, allocations: 330.8 kB / 0.7706 GB, free: 12.96 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.138e-05/0.625, allocations: 20 kB / 0.7706 GB, free: 12.94 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001001/0.6251, allocations: 90.25 kB / 0.7707 GB, free: 12.81 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.805e-05/0.6252, allocations: 31.98 kB / 0.7708 GB, free: 12.78 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.6252, allocations: 0 / 0.7708 GB, free: 12.78 MB / 490.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002051/0.6254, allocations: 121.4 kB / 0.7709 GB, free: 12.66 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.996e-05/0.6255, allocations: 8 kB / 0.7709 GB, free: 12.65 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.215e-06/0.6255, allocations: 0 / 0.7709 GB, free: 12.65 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.617e-05/0.6255, allocations: 4 kB / 0.7709 GB, free: 12.64 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001311/0.6256, allocations: 27.97 kB / 0.7709 GB, free: 12.62 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.819e-06/0.6257, allocations: 10.78 kB / 0.7709 GB, free: 12.61 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001179/0.6258, allocations: 24.05 kB / 0.7709 GB, free: 12.59 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.543e-05/0.6258, allocations: 9.562 kB / 0.771 GB, free: 12.58 MB / 490.7 MB 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.61e-05/0.6259, allocations: 115.8 kB / 0.7711 GB, free: 12.46 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.195e-05/0.6259, allocations: 15.81 kB / 0.7711 GB, free: 12.45 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.506e-05/0.626, allocations: 17.39 kB / 0.7711 GB, free: 12.43 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.782e-06/0.626, allocations: 8 kB / 0.7711 GB, free: 12.43 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.113e-06/0.626, allocations: 3.938 kB / 0.7711 GB, free: 12.42 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.48e-06/0.6261, allocations: 0 / 0.7711 GB, free: 12.42 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005582/0.6266, allocations: 466.1 kB / 0.7716 GB, free: 11.92 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.435e-06/0.6266, allocations: 0 / 0.7716 GB, free: 11.92 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000102/0.6267, allocations: 23.98 kB / 0.7716 GB, free: 11.9 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.641e-06/0.6268, allocations: 0 / 0.7716 GB, free: 11.9 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.198e-05/0.6268, allocations: 0 / 0.7716 GB, free: 11.9 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.783e-06/0.6268, allocations: 11.84 kB / 0.7716 GB, free: 11.89 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.566e-06/0.6268, allocations: 1.312 kB / 0.7716 GB, free: 11.89 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002699/0.6271, allocations: 280.3 kB / 0.7719 GB, free: 11.59 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.981e-05/0.6271, allocations: 88.92 kB / 0.7719 GB, free: 11.48 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.649e-05/0.6272, allocations: 4 kB / 0.7719 GB, free: 11.48 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002035/0.6274, allocations: 19.98 kB / 0.772 GB, free: 11.46 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.894e-05/0.6275, allocations: 15.98 kB / 0.772 GB, free: 11.45 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.813e-05/0.6275, allocations: 11.98 kB / 0.772 GB, free: 11.43 MB / 490.7 MB Notification: Performance of sort global known variables: time 7.406e-05/0.6276, allocations: 115.5 kB / 0.7721 GB, free: 11.32 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0003628/0.6279, allocations: 32 kB / 0.7721 GB, free: 11.29 MB / 490.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.0004217/0.6284, allocations: 182.8 kB / 0.7723 GB, free: 11.14 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0001939/0.6286, allocations: 67.92 kB / 0.7724 GB, free: 11.07 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.959e-06/0.6286, allocations: 0 / 0.7724 GB, free: 11.07 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 9.155e-05/0.6287, allocations: 39.92 kB / 0.7724 GB, free: 11.03 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002583/0.629, allocations: 16.23 kB / 0.7724 GB, free: 11.02 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004671/0.6294, allocations: 164.2 kB / 0.7726 GB, free: 10.83 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003949/0.6298, allocations: 0.7309 MB / 0.7733 GB, free: 10.07 MB / 490.7 MB Notification: Performance of SimCode: time 2.6e-07/0.6299, allocations: 0 / 0.7733 GB, free: 10.07 MB / 490.7 MB Notification: Performance of Templates: time 0.005186/0.635, allocations: 1.686 MB / 0.7749 GB, free: 8.441 MB / 490.7 MB make -j1 -f Buildings_3.0.0_Buildings.Utilities.Reports.Examples.Printer.makefile (rm -f Buildings_3.0.0_Buildings.Utilities.Reports.Examples.Printer.pipe ; mkfifo Buildings_3.0.0_Buildings.Utilities.Reports.Examples.Printer.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Utilities.Reports.Examples.Printer.pipe >> ../files/Buildings_3.0.0_Buildings.Utilities.Reports.Examples.Printer.sim & ./Buildings_3.0.0_Buildings.Utilities.Reports.Examples.Printer -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Utilities.Reports.Examples.Printer.pipe 2>&1)