Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.IO.Files.Examples.Printer.conf.json Using package Buildings with version 7.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 7.0.0/package.mo) Using package Modelica with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.3/package.mo) Using package Complex with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.3.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.3/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.IO.Files.Examples.Printer,fileNamePrefix="Buildings_7_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.3/package.mo): time 0.01078/0.01078, allocations: 92.88 kB / 15.04 MB, free: 5.582 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.3.mo): time 0.001175/0.001175, allocations: 173.3 kB / 15.92 MB, free: 5.555 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.3/package.mo): time 2.12/2.12, allocations: 205.5 MB / 222.2 MB, free: 13.57 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 7.0.0/package.mo): time 2.569/2.569, allocations: 252.8 MB / 0.511 GB, free: 8.273 MB / 426.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006583/0.0006586, allocations: 14.59 kB / 0.6243 GB, free: 21.22 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2574/0.2581, allocations: 106.2 MB / 0.7281 GB, free: 8.09 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.Printer): time 0.00326/0.2614, allocations: 1.265 MB / 0.7293 GB, free: 6.809 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.002625/0.2641, allocations: 0.7072 MB / 0.73 GB, free: 6.094 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.595e-05/0.2642, allocations: 4 kB / 0.73 GB, free: 6.09 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.000115/0.2644, allocations: 3.938 kB / 0.73 GB, free: 6.086 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.0001262/0.2645, allocations: 23.89 kB / 0.73 GB, free: 6.062 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007918/0.2653, allocations: 95.7 kB / 0.7301 GB, free: 5.969 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.0003127/0.2657, allocations: 87.81 kB / 0.7302 GB, free: 5.883 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001948/0.2659, allocations: 25.09 kB / 0.7302 GB, free: 5.859 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000163/0.2661, allocations: 47.83 kB / 0.7303 GB, free: 5.812 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001742/0.2663, allocations: 51.75 kB / 0.7303 GB, free: 5.762 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 3.99e-05/0.2663, allocations: 8 kB / 0.7303 GB, free: 5.754 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002215/0.2666, allocations: 39.97 kB / 0.7304 GB, free: 5.715 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 9.056e-05/0.2667, allocations: 23.91 kB / 0.7304 GB, free: 5.691 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 8.834e-05/0.2668, allocations: 49.58 kB / 0.7304 GB, free: 5.637 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0003582/0.2672, allocations: 108 kB / 0.7305 GB, free: 5.531 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.2672, allocations: 0 / 0.7305 GB, free: 5.531 MB / 0.5573 GB Notification: Performance of FrontEnd: time 2.865e-06/0.2672, allocations: 0 / 0.7305 GB, free: 5.531 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 1.317e-05/0.2673, allocations: 0 / 0.7305 GB, free: 5.531 MB / 0.5573 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.001623/0.2689, allocations: 0.5311 MB / 0.7311 GB, free: 4.934 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 6.227e-05/0.269, allocations: 8.031 kB / 0.7311 GB, free: 4.926 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.969e-05/0.2691, allocations: 38.55 kB / 0.7311 GB, free: 4.879 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.033e-05/0.2692, allocations: 23.7 kB / 0.7311 GB, free: 4.855 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003965/0.2696, allocations: 218.9 kB / 0.7313 GB, free: 4.602 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.936e-05/0.2697, allocations: 4 kB / 0.7313 GB, free: 4.598 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.93e-05/0.2698, allocations: 12 kB / 0.7313 GB, free: 4.586 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007559/0.2705, allocations: 135.3 kB / 0.7315 GB, free: 4.441 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.544e-05/0.2706, allocations: 0 / 0.7315 GB, free: 4.441 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.557e-05/0.2706, allocations: 7.984 kB / 0.7315 GB, free: 4.434 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.375e-05/0.2707, allocations: 8 kB / 0.7315 GB, free: 4.426 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007277/0.2714, allocations: 83.89 kB / 0.7316 GB, free: 4.344 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001387/0.2728, allocations: 468.7 kB / 0.732 GB, free: 3.832 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000543/0.2734, allocations: 97.11 kB / 0.7321 GB, free: 3.719 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 4.148e-05/0.2735, allocations: 0 / 0.7321 GB, free: 3.719 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007083/0.2742, allocations: 157.1 kB / 0.7323 GB, free: 3.547 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=12): time 7.605e-06/0.2742, allocations: 112 / 0.7323 GB, free: 3.547 MB / 0.5573 GB Notification: Performance of matching and sorting (n=12): time 0.001472/0.2757, allocations: 213.2 kB / 0.7325 GB, free: 3.332 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.838e-05/0.2758, allocations: 85.11 kB / 0.7325 GB, free: 3.23 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002762/0.2761, allocations: 160.1 kB / 0.7327 GB, free: 3.066 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 6.314e-05/0.2762, allocations: 33.7 kB / 0.7327 GB, free: 3.027 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001247/0.2764, allocations: 108.3 kB / 0.7328 GB, free: 2.918 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 6.936e-05/0.2764, allocations: 23.7 kB / 0.7329 GB, free: 2.895 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.314e-05/0.2765, allocations: 4 kB / 0.7329 GB, free: 2.891 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001744/0.2767, allocations: 326.8 kB / 0.7332 GB, free: 2.562 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003566/0.277, allocations: 39.97 kB / 0.7332 GB, free: 2.523 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005071/0.2776, allocations: 134.1 kB / 0.7333 GB, free: 2.355 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004179/0.278, allocations: 59.97 kB / 0.7334 GB, free: 2.297 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.941e-06/0.2781, allocations: 0 / 0.7334 GB, free: 2.297 MB / 0.5573 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.00102/0.2791, allocations: 181.4 kB / 0.7336 GB, free: 2.113 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 3.579e-05/0.2792, allocations: 7.953 kB / 0.7336 GB, free: 2.105 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.497e-05/0.2792, allocations: 4 kB / 0.7336 GB, free: 2.102 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.631e-05/0.2792, allocations: 4 kB / 0.7336 GB, free: 2.098 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002604/0.2795, allocations: 24.28 kB / 0.7336 GB, free: 2.074 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.818e-05/0.2796, allocations: 8.156 kB / 0.7336 GB, free: 2.066 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002886/0.2799, allocations: 16 kB / 0.7336 GB, free: 2.051 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.862e-05/0.2799, allocations: 7.984 kB / 0.7336 GB, free: 2.043 MB / 0.5573 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.0002657/0.2802, allocations: 135 kB / 0.7338 GB, free: 1.902 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.999e-05/0.2803, allocations: 15.81 kB / 0.7338 GB, free: 1.887 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001106/0.2804, allocations: 29.33 kB / 0.7338 GB, free: 1.859 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.252e-06/0.2804, allocations: 0 / 0.7338 GB, free: 1.859 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.164e-05/0.2805, allocations: 8 kB / 0.7338 GB, free: 1.852 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.635e-06/0.2805, allocations: 0 / 0.7338 GB, free: 1.852 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001806/0.2823, allocations: 0.5445 MB / 0.7343 GB, free: 1.25 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.332e-06/0.2824, allocations: 0 / 0.7343 GB, free: 1.25 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001843/0.2826, allocations: 15.98 kB / 0.7344 GB, free: 1.234 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.5e-05/0.2826, allocations: 4 kB / 0.7344 GB, free: 1.23 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.985e-05/0.2827, allocations: 4 kB / 0.7344 GB, free: 1.227 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.506e-06/0.2827, allocations: 0 / 0.7344 GB, free: 1.227 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.471e-06/0.2827, allocations: 0 / 0.7344 GB, free: 1.227 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001067/0.2838, allocations: 360.1 kB / 0.7347 GB, free: 0.8516 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001009/0.2839, allocations: 92.86 kB / 0.7348 GB, free: 0.7422 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.779e-05/0.284, allocations: 4 kB / 0.7348 GB, free: 0.7383 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000443/0.2844, allocations: 23.97 kB / 0.7348 GB, free: 0.7148 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.212e-05/0.2845, allocations: 7.984 kB / 0.7348 GB, free: 0.707 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.731e-05/0.2846, allocations: 8 kB / 0.7348 GB, free: 0.6992 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.000193/0.2848, allocations: 123.5 kB / 0.735 GB, free: 0.582 MB / 0.5573 GB Notification: Performance of sort global known variables: time 5.71e-07/0.2848, allocations: 4 kB / 0.735 GB, free: 0.5781 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0007901/0.2857, allocations: 35.98 kB / 0.735 GB, free: 0.543 MB / 0.5573 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.002133/0.2878, allocations: 1.058 MB / 0.736 GB, free: 15.5 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.0009371/0.2888, allocations: 124 kB / 0.7362 GB, free: 15.38 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 5.5e-06/0.2888, allocations: 0 / 0.7362 GB, free: 15.38 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.0005117/0.2894, allocations: 56.28 kB / 0.7362 GB, free: 15.32 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001298/0.2907, allocations: 19.98 kB / 0.7362 GB, free: 15.3 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003572/0.2943, allocations: 2.06 MB / 0.7382 GB, free: 13.14 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003717/0.2947, allocations: 0.7199 MB / 0.7389 GB, free: 12.4 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.0001291/0.2949, allocations: 20.53 kB / 0.739 GB, free: 12.38 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.304e-05/0.295, allocations: 35.5 kB / 0.739 GB, free: 12.35 MB / 0.573 GB Notification: Performance of SimCode: time 9.82e-07/0.295, allocations: 4 kB / 0.739 GB, free: 12.34 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03255/0.3276, allocations: 2.999 MB / 0.7419 GB, free: 9.445 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003437/0.328, allocations: 230.1 kB / 0.7421 GB, free: 9.195 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.858/3.186, allocations: 0 / 0.7421 GB, free: 9.195 MB / 0.573 GB