Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Utilities.IO.Files.Examples.Printer.conf.json Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.IO.Files.Examples.Printer,fileNamePrefix="Buildings_6_0_0_Buildings_Utilities_IO_Files_Examples_Printer",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01293/0.01293, allocations: 106.2 kB / 15.05 MB, free: 5.934 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.001267/0.001268, allocations: 186.3 kB / 15.95 MB, free: 5.898 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 2.163/2.163, allocations: 194.6 MB / 211.3 MB, free: 11.07 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 2.296/2.296, allocations: 236.2 MB / 492.6 MB, free: 11.34 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009474/0.0009475, allocations: 12 kB / 0.587 GB, free: 2.109 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7192/0.7202, allocations: 98.72 MB / 0.6834 GB, free: 16.82 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2805/1.001, allocations: 126.2 MB / 0.8067 GB, free: 68 kB / 0.6199 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004889/1.001, allocations: 84.03 kB / 0.8068 GB, free: 15.98 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.01873/1.02, allocations: 2.965 MB / 0.8097 GB, free: 13 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.923e-06/1.02, allocations: 0 / 0.8097 GB, free: 13 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 2.089e-05/1.02, allocations: 8 kB / 0.8097 GB, free: 12.99 MB / 0.6355 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.001088/1.021, allocations: 0.5352 MB / 0.8102 GB, free: 12.39 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.231e-05/1.021, allocations: 8.031 kB / 0.8102 GB, free: 12.38 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.734e-05/1.021, allocations: 42.55 kB / 0.8103 GB, free: 12.33 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.379e-05/1.022, allocations: 23.75 kB / 0.8103 GB, free: 12.31 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003076/1.022, allocations: 216.3 kB / 0.8105 GB, free: 12.06 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.585e-05/1.022, allocations: 8 kB / 0.8105 GB, free: 12.05 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.631e-05/1.022, allocations: 7.938 kB / 0.8105 GB, free: 12.04 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004712/1.022, allocations: 123.3 kB / 0.8106 GB, free: 11.91 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.012e-05/1.022, allocations: 8 kB / 0.8106 GB, free: 11.9 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.715e-05/1.022, allocations: 7.984 kB / 0.8106 GB, free: 11.89 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.64e-06/1.023, allocations: 3.938 kB / 0.8106 GB, free: 11.89 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000463/1.023, allocations: 83.94 kB / 0.8107 GB, free: 11.81 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009775/1.024, allocations: 476.7 kB / 0.8112 GB, free: 11.29 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003382/1.024, allocations: 85.19 kB / 0.8113 GB, free: 11.19 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 3.106e-05/1.024, allocations: 4 kB / 0.8113 GB, free: 11.18 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004719/1.025, allocations: 149.1 kB / 0.8114 GB, free: 11.02 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=12): time 2.966e-06/1.025, allocations: 0 / 0.8114 GB, free: 11.02 MB / 0.6355 GB Notification: Performance of matching and sorting (n=12): time 0.001014/1.026, allocations: 217.2 kB / 0.8116 GB, free: 10.8 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.778e-05/1.026, allocations: 89.05 kB / 0.8117 GB, free: 10.7 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001799/1.026, allocations: 143.5 kB / 0.8118 GB, free: 10.55 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 3.779e-05/1.026, allocations: 29.7 kB / 0.8119 GB, free: 10.52 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 9.345e-05/1.026, allocations: 112.3 kB / 0.812 GB, free: 10.4 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 5.52e-05/1.026, allocations: 31.64 kB / 0.812 GB, free: 10.37 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.939e-06/1.026, allocations: 0 / 0.812 GB, free: 10.37 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001736/1.027, allocations: 330.8 kB / 0.8123 GB, free: 10.04 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002382/1.027, allocations: 44.08 kB / 0.8124 GB, free: 9.992 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003261/1.027, allocations: 126.2 kB / 0.8125 GB, free: 9.832 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002829/1.028, allocations: 63.23 kB / 0.8125 GB, free: 9.773 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.238e-06/1.028, allocations: 0 / 0.8125 GB, free: 9.773 MB / 0.6355 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0008057/1.028, allocations: 177.2 kB / 0.8127 GB, free: 9.594 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.702e-05/1.028, allocations: 8 kB / 0.8127 GB, free: 9.586 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.206e-06/1.028, allocations: 0 / 0.8127 GB, free: 9.586 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.427e-05/1.028, allocations: 7.953 kB / 0.8127 GB, free: 9.578 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001912/1.029, allocations: 32.2 kB / 0.8127 GB, free: 9.547 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.087e-06/1.029, allocations: 0 / 0.8127 GB, free: 9.547 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001892/1.029, allocations: 15.98 kB / 0.8128 GB, free: 9.531 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.105e-05/1.029, allocations: 8 kB / 0.8128 GB, free: 9.523 MB / 0.6355 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 () * Number of clocked 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.0001978/1.029, allocations: 134.1 kB / 0.8129 GB, free: 9.383 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.651e-05/1.029, allocations: 19.73 kB / 0.8129 GB, free: 9.363 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.835e-05/1.029, allocations: 17.39 kB / 0.8129 GB, free: 9.344 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.047e-06/1.029, allocations: 8 kB / 0.8129 GB, free: 9.336 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.754e-06/1.029, allocations: 3.953 kB / 0.8129 GB, free: 9.332 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/1.029, allocations: 0 / 0.8129 GB, free: 9.332 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001202/1.031, allocations: 0.5446 MB / 0.8135 GB, free: 8.73 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.573e-06/1.031, allocations: 3.938 kB / 0.8135 GB, free: 8.727 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001484/1.031, allocations: 15.98 kB / 0.8135 GB, free: 8.711 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.835e-06/1.031, allocations: 4.422 kB / 0.8135 GB, free: 8.707 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.898e-05/1.031, allocations: 4 kB / 0.8135 GB, free: 8.703 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.688e-06/1.031, allocations: 0 / 0.8135 GB, free: 8.703 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/1.031, allocations: 0 / 0.8135 GB, free: 8.703 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007438/1.032, allocations: 360 kB / 0.8138 GB, free: 8.328 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 7.315e-05/1.032, allocations: 92.95 kB / 0.8139 GB, free: 8.219 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.325e-05/1.032, allocations: 4 kB / 0.8139 GB, free: 8.215 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002982/1.032, allocations: 19.98 kB / 0.814 GB, free: 8.195 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.601e-05/1.032, allocations: 11.98 kB / 0.814 GB, free: 8.184 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.482e-05/1.032, allocations: 11.98 kB / 0.814 GB, free: 8.172 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0001331/1.032, allocations: 129.8 kB / 0.8141 GB, free: 8.047 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.01e-07/1.032, allocations: 0 / 0.8141 GB, free: 8.047 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0005093/1.033, allocations: 43.84 kB / 0.8141 GB, free: 8.004 MB / 0.6355 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 () * Number of clocked 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.001529/1.034, allocations: 1.06 MB / 0.8152 GB, free: 6.957 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0006541/1.035, allocations: 115.8 kB / 0.8153 GB, free: 6.844 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 6.983e-06/1.035, allocations: 4 kB / 0.8153 GB, free: 6.84 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0002927/1.035, allocations: 64.45 kB / 0.8154 GB, free: 6.777 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003557/1.036, allocations: 12 kB / 0.8154 GB, free: 6.766 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002873/1.039, allocations: 2.061 MB / 0.8174 GB, free: 4.613 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003331/1.039, allocations: 0.7162 MB / 0.8181 GB, free: 3.871 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0001461/1.039, allocations: 24.48 kB / 0.8181 GB, free: 3.848 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001011/1.039, allocations: 43.42 kB / 0.8181 GB, free: 3.805 MB / 0.6355 GB Notification: Performance of SimCode: time 1.122e-06/1.039, allocations: 0 / 0.8181 GB, free: 3.805 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02663/1.066, allocations: 3.051 MB / 0.8211 GB, free: 0.8711 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003538/1.066, allocations: 214 kB / 0.8213 GB, free: 0.6367 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.906/3.972, allocations: 0 / 0.8213 GB, free: 0.6367 MB / 0.6355 GB