Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.IO.Files.Examples.Printer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.IO.Files.Examples.Printer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pri1.x.1.|pri1.x.2.",fileNamePrefix="Buildings_latest_Buildings.Utilities.IO.Files.Examples.Printer") translateModel(Buildings.Utilities.IO.Files.Examples.Printer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pri1.x.1.|pri1.x.2.",fileNamePrefix="Buildings_latest_Buildings.Utilities.IO.Files.Examples.Printer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007989/0.0007989, allocations: 100.5 kB / 15.71 MB, free: 452 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009877/0.0009878, allocations: 175.3 kB / 16.58 MB, free: 6.422 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.508/1.508, allocations: 223.3 MB / 240.6 MB, free: 5.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.688/2.688, allocations: 436.7 MB / 0.7113 GB, free: 7.844 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003738/0.0003738, allocations: 15.94 kB / 0.8717 GB, free: 4.766 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.823/0.8234, allocations: 153.6 MB / 1.022 GB, free: 1.148 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.Printer): time 0.002187/0.8257, allocations: 1.285 MB / 1.023 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001216/0.8269, allocations: 0.6473 MB / 1.024 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.467e-05/0.827, allocations: 3.938 kB / 1.024 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 9.553e-05/0.8271, allocations: 15.92 kB / 1.024 GB, free: 15.18 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 4.981e-05/0.8272, allocations: 11.86 kB / 1.024 GB, free: 15.17 MB / 0.7794 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/Utilities/IO/Files/BaseClasses/printRealArray.mo:2:1-45:19:writable] Warning: Pure function ‘Buildings.Utilities.IO.Files.BaseClasses.printRealArray‘ contains a call to impure function ‘Modelica.Utilities.Streams.print‘. Notification: Performance of NFTyping.typeClassSections: time 0.0004405/0.8276, allocations: 99.81 kB / 1.024 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001644/0.8278, allocations: 119.6 kB / 1.024 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001217/0.8279, allocations: 21.11 kB / 1.024 GB, free: 14.94 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 7.897e-05/0.828, allocations: 51.77 kB / 1.024 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 7.985e-05/0.8281, allocations: 55.75 kB / 1.024 GB, free: 14.83 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.758e-05/0.8281, allocations: 11.94 kB / 1.024 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001041/0.8282, allocations: 43.97 kB / 1.024 GB, free: 14.78 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 5.06e-05/0.8283, allocations: 23.89 kB / 1.024 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 4.627e-05/0.8283, allocations: 41.64 kB / 1.024 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001533/0.8285, allocations: 101.7 kB / 1.024 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.95e-06/0.8285, allocations: 4 kB / 1.024 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.293e-06/0.8285, allocations: 0 / 1.024 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.539e-06/0.8285, allocations: 0 / 1.024 GB, free: 14.61 MB / 0.7794 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.0009179/0.8294, allocations: 0.5388 MB / 1.025 GB, free: 14 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.816e-05/0.8295, allocations: 11.98 kB / 1.025 GB, free: 13.99 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.054e-05/0.8295, allocations: 23.81 kB / 1.025 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002093/0.8298, allocations: 210.8 kB / 1.025 GB, free: 13.72 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.784e-05/0.8298, allocations: 8 kB / 1.025 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.89e-05/0.8298, allocations: 7.984 kB / 1.025 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003018/0.8301, allocations: 135.3 kB / 1.025 GB, free: 13.56 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.793e-06/0.8301, allocations: 4 kB / 1.025 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.468e-05/0.8302, allocations: 4 kB / 1.025 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.218e-06/0.8302, allocations: 0 / 1.025 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002299/0.8304, allocations: 87.86 kB / 1.025 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006097/0.831, allocations: 472.8 kB / 1.026 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001885/0.8312, allocations: 89.12 kB / 1.026 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001267/0.8314, allocations: 57.81 kB / 1.026 GB, free: 12.78 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.591e-05/0.8314, allocations: 4 kB / 1.026 GB, free: 12.78 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002853/0.8317, allocations: 157 kB / 1.026 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=12): time 1.182e-06/0.8317, allocations: 0 / 1.026 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of matching and sorting (n=12): time 0.000533/0.8322, allocations: 209.3 kB / 1.026 GB, free: 12.39 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.885e-05/0.8323, allocations: 81.11 kB / 1.026 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002035/0.8325, allocations: 159.9 kB / 1.026 GB, free: 12.13 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.407e-05/0.8325, allocations: 29.7 kB / 1.026 GB, free: 12.1 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.588e-05/0.8326, allocations: 116.3 kB / 1.026 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.345e-05/0.8326, allocations: 27.61 kB / 1.027 GB, free: 11.95 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.193e-06/0.8327, allocations: 8 kB / 1.027 GB, free: 11.94 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001174/0.8328, allocations: 334.8 kB / 1.027 GB, free: 11.61 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001231/0.8329, allocations: 40.34 kB / 1.027 GB, free: 11.57 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001867/0.8331, allocations: 124.4 kB / 1.027 GB, free: 11.41 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001392/0.8333, allocations: 59.91 kB / 1.027 GB, free: 11.35 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.8333, allocations: 0 / 1.027 GB, free: 11.35 MB / 0.7794 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003611/0.8336, allocations: 181.2 kB / 1.027 GB, free: 11.17 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.676e-05/0.8337, allocations: 12.28 kB / 1.027 GB, free: 11.16 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.68e-06/0.8337, allocations: 0 / 1.027 GB, free: 11.16 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.386e-05/0.8337, allocations: 4 kB / 1.027 GB, free: 11.15 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001078/0.8338, allocations: 23.98 kB / 1.027 GB, free: 11.13 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.266e-06/0.8338, allocations: 3.938 kB / 1.027 GB, free: 11.12 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.911e-05/0.8339, allocations: 15.98 kB / 1.027 GB, free: 11.11 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.467e-05/0.8339, allocations: 8 kB / 1.027 GB, free: 11.1 MB / 0.7794 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.0001229/0.8341, allocations: 145.7 kB / 1.027 GB, free: 10.95 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.062e-05/0.8341, allocations: 7.906 kB / 1.027 GB, free: 10.94 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.343e-05/0.8341, allocations: 21.39 kB / 1.027 GB, free: 10.92 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.504e-06/0.8341, allocations: 0 / 1.027 GB, free: 10.92 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.651e-06/0.8342, allocations: 4 kB / 1.027 GB, free: 10.92 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.596e-06/0.8342, allocations: 0 / 1.027 GB, free: 10.92 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007256/0.8349, allocations: 0.5522 MB / 1.028 GB, free: 10.31 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.8349, allocations: 0 / 1.028 GB, free: 10.31 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.68e-05/0.835, allocations: 23.92 kB / 1.028 GB, free: 10.29 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.334e-06/0.835, allocations: 3.938 kB / 1.028 GB, free: 10.28 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.365e-05/0.835, allocations: 4 kB / 1.028 GB, free: 10.28 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.036e-06/0.835, allocations: 3.984 kB / 1.028 GB, free: 10.27 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.835, allocations: 0 / 1.028 GB, free: 10.27 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004416/0.8355, allocations: 334.8 kB / 1.028 GB, free: 9.93 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 8.469e-05/0.8356, allocations: 89 kB / 1.028 GB, free: 9.824 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.989e-05/0.8356, allocations: 0 / 1.028 GB, free: 9.824 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000167/0.8358, allocations: 31.97 kB / 1.028 GB, free: 9.793 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.732e-05/0.8358, allocations: 7.984 kB / 1.028 GB, free: 9.785 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.052e-05/0.8359, allocations: 15.98 kB / 1.029 GB, free: 9.77 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 8.859e-05/0.836, allocations: 124.1 kB / 1.029 GB, free: 9.648 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.11e-07/0.836, allocations: 0 / 1.029 GB, free: 9.648 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003417/0.8363, allocations: 43.91 kB / 1.029 GB, free: 9.605 MB / 0.7794 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.0004707/0.8368, allocations: 208.9 kB / 1.029 GB, free: 9.43 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003425/0.8371, allocations: 120.2 kB / 1.029 GB, free: 9.312 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 4.719e-06/0.8372, allocations: 4.125 kB / 1.029 GB, free: 9.309 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001627/0.8373, allocations: 67.91 kB / 1.029 GB, free: 9.242 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003768/0.8377, allocations: 15.98 kB / 1.029 GB, free: 9.227 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006624/0.8384, allocations: 288.7 kB / 1.029 GB, free: 8.914 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004885/0.8389, allocations: 0.7274 MB / 1.03 GB, free: 8.16 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.965e-05/0.8389, allocations: 15.44 kB / 1.03 GB, free: 8.145 MB / 0.7794 GB Notification: Performance of SimCode: time 2.1e-07/0.8389, allocations: 0 / 1.03 GB, free: 8.145 MB / 0.7794 GB Notification: Performance of Templates: time 0.004921/0.8439, allocations: 2.048 MB / 1.032 GB, free: 6.105 MB / 0.7794 GB make -j1 -f Buildings_latest_Buildings.Utilities.IO.Files.Examples.Printer.makefile make -j1 -f Buildings_latest_Buildings.Utilities.IO.Files.Examples.Printer.makefile clang++ NOTFOUND -Winvalid-pch -O0 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DUSE_THREAD -DSUNDIALS_MAJOR_VERSION=5 -DSUNDIALS_MINOR_VERSION=4 -DPMC_USE_SUNDIALS -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/sundials" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppBuildings_latest_Buildings.Utilities.IO.Files.Examples.PrinterCalcHelperMain.o OMCppBuildings_latest_Buildings.Utilities.IO.Files.Examples.PrinterCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_latest_Buildings.Utilities.IO.Files.Examples.PrinterCalcHelperMain.o] Error 1