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/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 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 Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/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.496/4.496, allocations: 432.6 MB / 445.2 MB, free: 15.84 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 9.922e-05/9.952e-05, allocations: 7.922 kB / 0.5383 GB, free: 10.31 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2322/0.2324, allocations: 98.73 MB / 0.6347 GB, free: 1.918 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2534/0.4859, allocations: 126.1 MB / 0.7579 GB, free: 3.605 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003848/0.4863, allocations: 79.95 kB / 0.758 GB, free: 3.527 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.01963/0.506, allocations: 2.957 MB / 0.7609 GB, free: 0.5508 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.274e-06/0.506, allocations: 0 / 0.7609 GB, free: 0.5508 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 3.251e-05/0.5061, allocations: 11.94 kB / 0.7609 GB, free: 0.5391 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.001335/0.5074, allocations: 0.5011 MB / 0.7614 GB, free: 15.98 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 7.259e-05/0.5075, allocations: 12.03 kB / 0.7614 GB, free: 15.96 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.901e-05/0.5076, allocations: 38.55 kB / 0.7614 GB, free: 15.92 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000104/0.5077, allocations: 19.75 kB / 0.7614 GB, free: 15.9 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004625/0.5082, allocations: 226.7 kB / 0.7616 GB, free: 15.64 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.875e-05/0.5083, allocations: 8 kB / 0.7617 GB, free: 15.63 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.046e-05/0.5083, allocations: 8 kB / 0.7617 GB, free: 15.62 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004116/0.5088, allocations: 103.4 kB / 0.7618 GB, free: 15.51 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.186e-05/0.5088, allocations: 0 / 0.7618 GB, free: 15.51 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.568e-05/0.5088, allocations: 7.984 kB / 0.7618 GB, free: 15.5 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.154e-05/0.5089, allocations: 4 kB / 0.7618 GB, free: 15.5 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001846/0.5091, allocations: 31.94 kB / 0.7618 GB, free: 15.46 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001255/0.5103, allocations: 472.8 kB / 0.7622 GB, free: 14.95 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002203/0.5106, allocations: 69.22 kB / 0.7623 GB, free: 14.86 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001323/0.5107, allocations: 29.84 kB / 0.7623 GB, free: 14.83 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 4.279e-05/0.5108, allocations: 7.984 kB / 0.7624 GB, free: 14.82 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003934/0.5112, allocations: 132.9 kB / 0.7625 GB, free: 14.67 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=12): time 3.877e-06/0.5112, allocations: 4 kB / 0.7625 GB, free: 14.67 MB / 0.6511 GB Notification: Performance of matching and sorting (n=12): time 0.0005159/0.5118, allocations: 109.5 kB / 0.7626 GB, free: 14.55 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.782e-05/0.5119, allocations: 77.11 kB / 0.7627 GB, free: 14.46 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002576/0.5121, allocations: 153.5 kB / 0.7628 GB, free: 14.3 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 4.923e-05/0.5122, allocations: 33.62 kB / 0.7628 GB, free: 14.27 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001095/0.5123, allocations: 108.4 kB / 0.7629 GB, free: 14.15 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 5.971e-05/0.5124, allocations: 23.62 kB / 0.763 GB, free: 14.13 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.897e-05/0.5124, allocations: 4 kB / 0.763 GB, free: 14.12 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001666/0.5126, allocations: 326.8 kB / 0.7633 GB, free: 13.8 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001106/0.5127, allocations: 27.94 kB / 0.7633 GB, free: 13.77 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002197/0.513, allocations: 102.3 kB / 0.7634 GB, free: 13.63 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001516/0.5132, allocations: 43.92 kB / 0.7634 GB, free: 13.59 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.518e-06/0.5132, allocations: 0 / 0.7634 GB, free: 13.59 MB / 0.6511 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004581/0.5136, allocations: 125.5 kB / 0.7636 GB, free: 13.46 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.724e-05/0.5137, allocations: 11.94 kB / 0.7636 GB, free: 13.45 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.177e-06/0.5137, allocations: 0 / 0.7636 GB, free: 13.45 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.793e-05/0.5138, allocations: 7.953 kB / 0.7636 GB, free: 13.44 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002662/0.514, allocations: 27.97 kB / 0.7636 GB, free: 13.41 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.538e-05/0.5141, allocations: 4.219 kB / 0.7636 GB, free: 13.41 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002595/0.5144, allocations: 19.98 kB / 0.7636 GB, free: 13.39 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.139e-05/0.5144, allocations: 12.09 kB / 0.7636 GB, free: 13.38 MB / 0.6511 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.0001665/0.5146, allocations: 116.9 kB / 0.7638 GB, free: 13.26 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.191e-05/0.5147, allocations: 15.81 kB / 0.7638 GB, free: 13.24 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.821e-05/0.5148, allocations: 17.52 kB / 0.7638 GB, free: 13.23 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.27e-05/0.5148, allocations: 12.05 kB / 0.7638 GB, free: 13.22 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.105e-06/0.5148, allocations: 0 / 0.7638 GB, free: 13.22 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.047e-06/0.5149, allocations: 7.984 kB / 0.7638 GB, free: 13.21 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00115/0.516, allocations: 0.5015 MB / 0.7643 GB, free: 12.65 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.782e-06/0.5161, allocations: 0 / 0.7643 GB, free: 12.65 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002221/0.5163, allocations: 23.88 kB / 0.7643 GB, free: 12.63 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.266e-05/0.5164, allocations: 4 kB / 0.7643 GB, free: 12.62 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.111e-05/0.5164, allocations: 4 kB / 0.7643 GB, free: 12.62 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.079e-06/0.5164, allocations: 4 kB / 0.7643 GB, free: 12.62 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.306e-06/0.5164, allocations: 0 / 0.7643 GB, free: 12.62 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005731/0.517, allocations: 296.4 kB / 0.7646 GB, free: 12.3 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 8.477e-05/0.5171, allocations: 88.92 kB / 0.7647 GB, free: 12.2 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.079e-05/0.5172, allocations: 0 / 0.7647 GB, free: 12.2 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004787/0.5177, allocations: 31.97 kB / 0.7647 GB, free: 12.17 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.521e-05/0.5178, allocations: 11.92 kB / 0.7647 GB, free: 12.16 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.136e-05/0.5179, allocations: 11.94 kB / 0.7648 GB, free: 12.14 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.000182/0.5181, allocations: 115.3 kB / 0.7649 GB, free: 12.03 MB / 0.6511 GB Notification: Performance of sort global known variables: time 6.61e-07/0.5181, allocations: 0 / 0.7649 GB, free: 12.03 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0008434/0.519, allocations: 51.97 kB / 0.7649 GB, free: 11.98 MB / 0.6511 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.001679/0.5207, allocations: 1.001 MB / 0.7659 GB, free: 10.97 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0004219/0.5211, allocations: 71.88 kB / 0.766 GB, free: 10.9 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 8.125e-06/0.5212, allocations: 0 / 0.766 GB, free: 10.9 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.000188/0.5214, allocations: 40.48 kB / 0.766 GB, free: 10.86 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005563/0.522, allocations: 19.98 kB / 0.766 GB, free: 10.84 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001347/0.5233, allocations: 220.1 kB / 0.7662 GB, free: 10.59 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007105/0.5241, allocations: 0.7198 MB / 0.7669 GB, free: 9.848 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0001934/0.5243, allocations: 20.55 kB / 0.7669 GB, free: 9.828 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001379/0.5245, allocations: 39.42 kB / 0.767 GB, free: 9.789 MB / 0.6511 GB Notification: Performance of SimCode: time 1.292e-06/0.5245, allocations: 0 / 0.767 GB, free: 9.789 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05366/0.5782, allocations: 3.084 MB / 0.77 GB, free: 6.781 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003087/0.5786, allocations: 196.6 kB / 0.7702 GB, free: 6.559 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.73/3.309, allocations: 3.938 kB / 0.7702 GB, free: 6.555 MB / 0.6511 GB