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.01576/0.01576, allocations: 105.9 kB / 15.06 MB, free: 5.555 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.001856/0.001855, allocations: 179.1 kB / 15.95 MB, free: 5.52 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.014/2.014, allocations: 194.6 MB / 211.3 MB, free: 11.04 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.292/2.292, allocations: 236.1 MB / 492.6 MB, free: 11.38 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004648/0.0004648, allocations: 12 kB / 0.587 GB, free: 2.086 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7072/0.7077, allocations: 98.71 MB / 0.6834 GB, free: 16.8 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.Printer): time 0.002121/0.7099, allocations: 1.266 MB / 0.6847 GB, free: 15.88 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.001632/0.7116, allocations: 0.6815 MB / 0.6853 GB, free: 15.41 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.512e-05/0.7117, allocations: 1.062 kB / 0.6853 GB, free: 15.41 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.0001022/0.7118, allocations: 5.766 kB / 0.6853 GB, free: 15.41 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 8.75e-05/0.7119, allocations: 29.03 kB / 0.6854 GB, free: 15.39 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005663/0.7125, allocations: 88.97 kB / 0.6854 GB, free: 15.34 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0002141/0.7127, allocations: 89.27 kB / 0.6855 GB, free: 15.3 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001488/0.7129, allocations: 25.33 kB / 0.6856 GB, free: 15.29 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001053/0.713, allocations: 38.28 kB / 0.6856 GB, free: 15.28 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001138/0.7131, allocations: 61.03 kB / 0.6856 GB, free: 15.25 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 2.809e-05/0.7132, allocations: 9.188 kB / 0.6857 GB, free: 15.24 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001526/0.7133, allocations: 38.67 kB / 0.6857 GB, free: 15.23 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 6.022e-05/0.7134, allocations: 20.53 kB / 0.6857 GB, free: 15.22 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 4.936e-05/0.7134, allocations: 46.73 kB / 0.6858 GB, free: 15.18 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.000254/0.7137, allocations: 104.2 kB / 0.6859 GB, free: 15.16 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 2.926e-06/0.7137, allocations: 0 / 0.6859 GB, free: 15.16 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.154e-06/0.7137, allocations: 0 / 0.6859 GB, free: 15.16 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 7.744e-06/0.7138, allocations: 0 / 0.6859 GB, free: 15.16 MB / 0.5261 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.001034/0.7148, allocations: 0.5394 MB / 0.6864 GB, free: 14.64 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.988e-05/0.7149, allocations: 9.906 kB / 0.6864 GB, free: 14.64 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.654e-05/0.7149, allocations: 43.28 kB / 0.6864 GB, free: 14.6 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.138e-05/0.715, allocations: 25.31 kB / 0.6865 GB, free: 14.58 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002425/0.7153, allocations: 209.3 kB / 0.6867 GB, free: 14.37 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.954e-05/0.7153, allocations: 3.938 kB / 0.6867 GB, free: 14.37 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.094e-05/0.7153, allocations: 10.78 kB / 0.6867 GB, free: 14.36 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000472/0.7158, allocations: 142.4 kB / 0.6868 GB, free: 14.29 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.167e-05/0.7158, allocations: 0 / 0.6868 GB, free: 14.29 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.151e-05/0.7159, allocations: 1.641 kB / 0.6868 GB, free: 14.29 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.234e-06/0.7159, allocations: 2.156 kB / 0.6868 GB, free: 14.29 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004775/0.7164, allocations: 86.92 kB / 0.6869 GB, free: 14.27 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000835/0.7172, allocations: 468 kB / 0.6873 GB, free: 13.87 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003014/0.7175, allocations: 91.78 kB / 0.6874 GB, free: 13.81 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 2.986e-05/0.7176, allocations: 5.281 kB / 0.6874 GB, free: 13.8 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004507/0.718, allocations: 151.9 kB / 0.6876 GB, free: 13.71 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=12): time 1.973e-06/0.7181, allocations: 0 / 0.6876 GB, free: 13.71 MB / 0.5261 GB Notification: Performance of matching and sorting (n=12): time 0.000931/0.719, allocations: 213.8 kB / 0.6878 GB, free: 13.64 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.571e-05/0.7191, allocations: 85.12 kB / 0.6879 GB, free: 13.54 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001601/0.7192, allocations: 158.8 kB / 0.688 GB, free: 13.43 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 3.159e-05/0.7193, allocations: 31.89 kB / 0.688 GB, free: 13.39 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 6.69e-05/0.7194, allocations: 115.3 kB / 0.6882 GB, free: 13.29 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 4.384e-05/0.7194, allocations: 26.11 kB / 0.6882 GB, free: 13.27 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.007e-06/0.7194, allocations: 1.125 kB / 0.6882 GB, free: 13.27 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 7.047e-05/0.7195, allocations: 327.3 kB / 0.6885 GB, free: 12.95 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002242/0.7197, allocations: 48.47 kB / 0.6885 GB, free: 12.93 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003001/0.7201, allocations: 128.1 kB / 0.6887 GB, free: 12.82 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002547/0.7203, allocations: 56.48 kB / 0.6887 GB, free: 12.8 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.198e-06/0.7203, allocations: 0.7969 kB / 0.6887 GB, free: 12.8 MB / 0.5261 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.00062/0.721, allocations: 186 kB / 0.6889 GB, free: 12.72 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.309e-05/0.721, allocations: 11.8 kB / 0.6889 GB, free: 12.72 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.977e-06/0.721, allocations: 2.188 kB / 0.6889 GB, free: 12.72 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.104e-05/0.7211, allocations: 3.125 kB / 0.6889 GB, free: 12.72 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000177/0.7212, allocations: 27.45 kB / 0.6889 GB, free: 12.71 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.033e-05/0.7213, allocations: 3.109 kB / 0.6889 GB, free: 12.71 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001791/0.7215, allocations: 22.06 kB / 0.689 GB, free: 12.7 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.894e-05/0.7215, allocations: 7.391 kB / 0.689 GB, free: 12.7 MB / 0.5261 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.0001555/0.7217, allocations: 134.7 kB / 0.6891 GB, free: 12.57 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.991e-05/0.7217, allocations: 17.17 kB / 0.6891 GB, free: 12.57 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.756e-05/0.7218, allocations: 27.95 kB / 0.6891 GB, free: 12.54 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.299e-06/0.7218, allocations: 1.219 kB / 0.6891 GB, free: 12.54 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.514e-06/0.7218, allocations: 1.594 kB / 0.6891 GB, free: 12.54 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.911e-06/0.7218, allocations: 0.9844 kB / 0.6891 GB, free: 12.54 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001059/0.7229, allocations: 0.5438 MB / 0.6897 GB, free: 12.11 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.567e-06/0.7229, allocations: 1.344 kB / 0.6897 GB, free: 12.11 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001375/0.7231, allocations: 16.25 kB / 0.6897 GB, free: 12.11 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.693e-06/0.7231, allocations: 1.562 kB / 0.6897 GB, free: 12.11 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.862e-05/0.7231, allocations: 5.188 kB / 0.6897 GB, free: 12.1 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.458e-06/0.7231, allocations: 1.609 kB / 0.6897 GB, free: 12.1 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/0.7232, allocations: 5.375 kB / 0.6897 GB, free: 12.1 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006474/0.7238, allocations: 358.2 kB / 0.69 GB, free: 11.83 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 4.457e-05/0.7239, allocations: 88.78 kB / 0.6901 GB, free: 11.73 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.215e-05/0.7239, allocations: 1.641 kB / 0.6901 GB, free: 11.73 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003116/0.7242, allocations: 24.16 kB / 0.6902 GB, free: 11.72 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.656e-05/0.7243, allocations: 14.03 kB / 0.6902 GB, free: 11.72 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.099e-05/0.7244, allocations: 11.97 kB / 0.6902 GB, free: 11.71 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0001123/0.7245, allocations: 124.3 kB / 0.6903 GB, free: 11.62 MB / 0.5261 GB Notification: Performance of sort global known variables: time 3.6e-07/0.7245, allocations: 0 / 0.6903 GB, free: 11.62 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0005211/0.725, allocations: 42.66 kB / 0.6903 GB, free: 11.61 MB / 0.5261 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.001275/0.7263, allocations: 1.046 MB / 0.6914 GB, free: 10.72 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0006059/0.727, allocations: 122.2 kB / 0.6915 GB, free: 10.7 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 4.037e-06/0.727, allocations: 1.156 kB / 0.6915 GB, free: 10.7 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0002848/0.7273, allocations: 65.78 kB / 0.6915 GB, free: 10.68 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003655/0.7276, allocations: 23.25 kB / 0.6916 GB, free: 10.67 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003326/0.731, allocations: 2.053 MB / 0.6936 GB, free: 8.883 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002136/0.7312, allocations: 0.719 MB / 0.6943 GB, free: 8.184 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.000134/0.7314, allocations: 27.64 kB / 0.6943 GB, free: 8.176 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.56e-05/0.7315, allocations: 38.22 kB / 0.6943 GB, free: 8.148 MB / 0.5261 GB Notification: Performance of SimCode: time 8.92e-07/0.7315, allocations: 0 / 0.6943 GB, free: 8.148 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09659/0.8281, allocations: 3.022 MB / 0.6973 GB, free: 7.812 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003041/0.8285, allocations: 219.2 kB / 0.6975 GB, free: 7.574 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.751/3.58, allocations: 0 / 0.6975 GB, free: 7.574 MB / 0.5261 GB