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 ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/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 loadModel(Buildings): time 4.637/4.637, allocations: 433.2 MB / 440.7 MB, free: 4.535 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.829e-05/2.843e-05, allocations: 2.875 kB / 0.5325 GB, free: 12.73 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2279/0.2279, allocations: 98.74 MB / 0.6289 GB, free: 9.059 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2349/0.4629, allocations: 125.5 MB / 0.7514 GB, free: 11.41 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003167/0.4632, allocations: 79.95 kB / 0.7515 GB, free: 11.34 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.01446/0.4777, allocations: 2.935 MB / 0.7544 GB, free: 8.379 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.034e-06/0.4778, allocations: 4 kB / 0.7544 GB, free: 8.375 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 2.345e-05/0.4778, allocations: 8.375 kB / 0.7544 GB, free: 8.367 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.001045/0.4789, allocations: 0.5033 MB / 0.7549 GB, free: 7.801 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.943e-05/0.4789, allocations: 12.03 kB / 0.7549 GB, free: 7.789 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.051e-05/0.479, allocations: 19.77 kB / 0.7549 GB, free: 7.77 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003468/0.4794, allocations: 218.7 kB / 0.7551 GB, free: 7.516 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.99e-05/0.4794, allocations: 4 kB / 0.7551 GB, free: 7.512 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.288e-05/0.4794, allocations: 4 kB / 0.7551 GB, free: 7.508 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001614/0.4796, allocations: 32 kB / 0.7552 GB, free: 7.477 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002936/0.4799, allocations: 99.31 kB / 0.7553 GB, free: 7.367 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.018e-05/0.48, allocations: 7.938 kB / 0.7553 GB, free: 7.359 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.115e-05/0.48, allocations: 0 / 0.7553 GB, free: 7.359 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.52e-06/0.48, allocations: 0 / 0.7553 GB, free: 7.359 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009566/0.481, allocations: 445.4 kB / 0.7557 GB, free: 6.883 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001572/0.4811, allocations: 61.16 kB / 0.7557 GB, free: 6.805 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.835e-05/0.4812, allocations: 29.84 kB / 0.7558 GB, free: 6.77 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 3.533e-05/0.4813, allocations: 4 kB / 0.7558 GB, free: 6.766 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003358/0.4816, allocations: 131 kB / 0.7559 GB, free: 6.621 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=12): time 2.195e-06/0.4817, allocations: 0 / 0.7559 GB, free: 6.621 MB / 0.6355 GB Notification: Performance of matching and sorting (n=12): time 0.0003893/0.482, allocations: 105.5 kB / 0.756 GB, free: 6.512 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.388e-05/0.4821, allocations: 85.09 kB / 0.7561 GB, free: 6.41 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000219/0.4824, allocations: 141.5 kB / 0.7562 GB, free: 6.266 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 4.328e-05/0.4824, allocations: 25.7 kB / 0.7562 GB, free: 6.234 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001099/0.4826, allocations: 116.3 kB / 0.7564 GB, free: 6.113 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 6.856e-05/0.4826, allocations: 27.61 kB / 0.7564 GB, free: 6.086 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.977e-06/0.4827, allocations: 0 / 0.7564 GB, free: 6.086 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001723/0.4828, allocations: 326.8 kB / 0.7567 GB, free: 5.758 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.384e-05/0.4829, allocations: 16 kB / 0.7567 GB, free: 5.742 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001821/0.4831, allocations: 98.23 kB / 0.7568 GB, free: 5.609 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.486e-05/0.4832, allocations: 31.98 kB / 0.7568 GB, free: 5.578 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.457e-06/0.4833, allocations: 0 / 0.7568 GB, free: 5.578 MB / 0.6355 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003095/0.4836, allocations: 117.4 kB / 0.7569 GB, free: 5.457 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.113e-05/0.4836, allocations: 8 kB / 0.7569 GB, free: 5.449 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.079e-05/0.4836, allocations: 4 kB / 0.757 GB, free: 5.445 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.723e-05/0.4837, allocations: 0 / 0.757 GB, free: 5.445 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002224/0.4839, allocations: 28.22 kB / 0.757 GB, free: 5.418 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.38e-05/0.4839, allocations: 4 kB / 0.757 GB, free: 5.414 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001824/0.4841, allocations: 15.92 kB / 0.757 GB, free: 5.398 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.181e-05/0.4841, allocations: 12 kB / 0.757 GB, free: 5.387 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 () * 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.0001384/0.4843, allocations: 113 kB / 0.7571 GB, free: 5.27 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002871/0.4846, allocations: 113.5 kB / 0.7572 GB, free: 5.152 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.846e-05/0.4846, allocations: 15.91 kB / 0.7572 GB, free: 5.137 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.378e-05/0.4847, allocations: 25.73 kB / 0.7573 GB, free: 5.113 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.819e-06/0.4847, allocations: 0 / 0.7573 GB, free: 5.113 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.059e-06/0.4848, allocations: 4 kB / 0.7573 GB, free: 5.109 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.043e-06/0.4848, allocations: 3.984 kB / 0.7573 GB, free: 5.105 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007787/0.4856, allocations: 470.2 kB / 0.7577 GB, free: 4.602 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.242e-06/0.4856, allocations: 3.953 kB / 0.7577 GB, free: 4.598 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001599/0.4858, allocations: 23.98 kB / 0.7577 GB, free: 4.574 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.821e-06/0.4858, allocations: 3.938 kB / 0.7578 GB, free: 4.57 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.485e-05/0.4858, allocations: 0 / 0.7578 GB, free: 4.57 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.432e-06/0.4858, allocations: 7.938 kB / 0.7578 GB, free: 4.562 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/0.4858, allocations: 0 / 0.7578 GB, free: 4.562 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000383/0.4862, allocations: 288.3 kB / 0.758 GB, free: 4.258 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 7.194e-05/0.4863, allocations: 96.92 kB / 0.7581 GB, free: 4.145 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.21e-05/0.4864, allocations: 4 kB / 0.7581 GB, free: 4.141 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003473/0.4867, allocations: 15.98 kB / 0.7581 GB, free: 4.125 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.892e-05/0.4868, allocations: 7.984 kB / 0.7582 GB, free: 4.117 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.532e-05/0.4869, allocations: 11.98 kB / 0.7582 GB, free: 4.105 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0001231/0.487, allocations: 116.3 kB / 0.7583 GB, free: 3.992 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.51e-07/0.487, allocations: 4 kB / 0.7583 GB, free: 3.988 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0005222/0.4875, allocations: 43.98 kB / 0.7583 GB, free: 3.945 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 () * 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.00128/0.4888, allocations: 0.9951 MB / 0.7593 GB, free: 2.93 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.000295/0.4892, allocations: 71.86 kB / 0.7594 GB, free: 2.859 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.4892, allocations: 0 / 0.7594 GB, free: 2.859 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001166/0.4893, allocations: 35.88 kB / 0.7594 GB, free: 2.824 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000394/0.4897, allocations: 15.98 kB / 0.7594 GB, free: 2.809 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008497/0.4906, allocations: 219.6 kB / 0.7596 GB, free: 2.555 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004046/0.491, allocations: 0.7275 MB / 0.7603 GB, free: 1.801 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0001164/0.4911, allocations: 24.47 kB / 0.7604 GB, free: 1.777 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.312e-05/0.4912, allocations: 39.42 kB / 0.7604 GB, free: 1.738 MB / 0.6355 GB Notification: Performance of SimCode: time 9.72e-07/0.4912, allocations: 0 / 0.7604 GB, free: 1.738 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0475/0.5388, allocations: 2.701 MB / 0.763 GB, free: 15.04 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004495/0.5393, allocations: 171 kB / 0.7632 GB, free: 14.84 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.71/3.249, allocations: 4 kB / 0.7632 GB, free: 14.84 MB / 0.6511 GB