Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.IO.Files.Examples.Printer") translateModel(Buildings.Utilities.IO.Files.Examples.Printer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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.007898/0.007898, allocations: 100.2 kB / 15.87 MB, free: 5.867 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001554/0.001554, allocations: 190.2 kB / 16.79 MB, free: 5.809 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.81/1.81, allocations: 205.1 MB / 222.6 MB, free: 4.703 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.798/1.798, allocations: 292.3 MB / 0.5491 GB, free: 13.64 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001355/0.001355, allocations: 67.72 kB / 0.6715 GB, free: 26.48 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3075/0.3089, allocations: 114.6 MB / 0.7833 GB, free: 13.98 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.Printer): time 0.003175/0.3121, allocations: 1.64 MB / 0.7849 GB, free: 12.32 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001358/0.3135, allocations: 0.7257 MB / 0.7856 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.297e-05/0.3136, allocations: 0 / 0.7856 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001321/0.3137, allocations: 11.86 kB / 0.7857 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.358e-05/0.3138, allocations: 23.8 kB / 0.7857 GB, free: 11.55 MB / 0.6075 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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.0004476/0.3143, allocations: 99.83 kB / 0.7858 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001776/0.3144, allocations: 131.5 kB / 0.7859 GB, free: 11.32 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001569/0.3146, allocations: 25.11 kB / 0.7859 GB, free: 11.3 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 9.156e-05/0.3147, allocations: 59.77 kB / 0.786 GB, free: 11.24 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 8.333e-05/0.3148, allocations: 51.77 kB / 0.786 GB, free: 11.19 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.339e-05/0.3148, allocations: 8 kB / 0.786 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001218/0.315, allocations: 47.89 kB / 0.7861 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 5.987e-05/0.315, allocations: 27.91 kB / 0.7861 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 8.45e-05/0.3151, allocations: 55.66 kB / 0.7862 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001908/0.3153, allocations: 115.8 kB / 0.7863 GB, free: 10.94 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/0.3153, allocations: 0 / 0.7863 GB, free: 10.94 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.293e-06/0.3153, allocations: 0 / 0.7863 GB, free: 10.94 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.635e-06/0.3154, allocations: 0 / 0.7863 GB, free: 10.94 MB / 0.6075 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.0009652/0.3163, allocations: 0.5506 MB / 0.7868 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.181e-05/0.3164, allocations: 12.03 kB / 0.7868 GB, free: 10.31 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.374e-05/0.3165, allocations: 12.84 kB / 0.7868 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000241/0.3167, allocations: 220 kB / 0.787 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.537e-05/0.3167, allocations: 8.375 kB / 0.7871 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.265e-05/0.3168, allocations: 8.375 kB / 0.7871 GB, free: 10.03 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003336/0.3171, allocations: 131.6 kB / 0.7872 GB, free: 9.891 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.296e-06/0.3171, allocations: 0 / 0.7872 GB, free: 9.891 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.061e-05/0.3171, allocations: 11.98 kB / 0.7872 GB, free: 9.879 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.221e-06/0.3172, allocations: 0 / 0.7872 GB, free: 9.879 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002272/0.3174, allocations: 67.94 kB / 0.7873 GB, free: 9.812 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006831/0.3181, allocations: 468.6 kB / 0.7877 GB, free: 9.301 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002282/0.3183, allocations: 81.12 kB / 0.7878 GB, free: 9.203 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001357/0.3185, allocations: 49.81 kB / 0.7878 GB, free: 9.148 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.095e-05/0.3185, allocations: 3.984 kB / 0.7878 GB, free: 9.145 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003223/0.3188, allocations: 149 kB / 0.788 GB, free: 8.98 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=12): time 1.402e-06/0.3188, allocations: 0 / 0.788 GB, free: 8.98 MB / 0.6075 GB Notification: Performance of matching and sorting (n=12): time 0.0005855/0.3194, allocations: 185.6 kB / 0.7882 GB, free: 8.793 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.569e-05/0.3195, allocations: 89.09 kB / 0.7882 GB, free: 8.688 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001426/0.3196, allocations: 163.5 kB / 0.7884 GB, free: 8.52 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.293e-05/0.3197, allocations: 29.64 kB / 0.7884 GB, free: 8.484 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 7.411e-05/0.3198, allocations: 112.3 kB / 0.7885 GB, free: 8.371 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.779e-05/0.3198, allocations: 31.62 kB / 0.7886 GB, free: 8.34 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.01e-05/0.3199, allocations: 37.7 kB / 0.7886 GB, free: 8.297 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.000139/0.32, allocations: 326.8 kB / 0.7889 GB, free: 7.969 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001274/0.3201, allocations: 39.97 kB / 0.7889 GB, free: 7.93 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001819/0.3203, allocations: 118.2 kB / 0.7891 GB, free: 7.777 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002731/0.3206, allocations: 147.5 kB / 0.7892 GB, free: 7.605 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.228e-06/0.3206, allocations: 4 kB / 0.7892 GB, free: 7.602 MB / 0.6075 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003391/0.321, allocations: 165.5 kB / 0.7894 GB, free: 7.434 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.901e-05/0.321, allocations: 12 kB / 0.7894 GB, free: 7.422 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.321, allocations: 0 / 0.7894 GB, free: 7.422 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.732e-05/0.321, allocations: 4 kB / 0.7894 GB, free: 7.418 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001053/0.3211, allocations: 15.98 kB / 0.7894 GB, free: 7.402 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.187e-06/0.3212, allocations: 3.938 kB / 0.7894 GB, free: 7.398 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.094e-05/0.3213, allocations: 23.92 kB / 0.7894 GB, free: 7.375 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.232e-05/0.3213, allocations: 4 kB / 0.7894 GB, free: 7.371 MB / 0.6075 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 (pri2.firstTrigger,$PRE.pri2.firstTrigger,pri1.firstTrigger,$PRE.pri1.firstTrigger,$whenCondition4,pri1.sampleTrigger,$whenCondition2,pri2.sampleTrigger,$whenCondition3,pri3.firstTrigger,$PRE.pri3.firstTrigger,pri3.sampleTrigger,$whenCondition1) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001336/0.3214, allocations: 134.5 kB / 0.7896 GB, free: 7.23 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.619e-05/0.3215, allocations: 11.91 kB / 0.7896 GB, free: 7.219 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.548e-05/0.3215, allocations: 21.39 kB / 0.7896 GB, free: 7.195 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.3215, allocations: 0 / 0.7896 GB, free: 7.195 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/0.3215, allocations: 0 / 0.7896 GB, free: 7.195 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.724e-06/0.3215, allocations: 7.938 kB / 0.7896 GB, free: 7.188 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006779/0.3222, allocations: 0.5365 MB / 0.7901 GB, free: 6.594 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.3222, allocations: 4.219 kB / 0.7901 GB, free: 6.59 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.535e-05/0.3223, allocations: 19.92 kB / 0.7901 GB, free: 6.57 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.887e-06/0.3223, allocations: 3.938 kB / 0.7901 GB, free: 6.566 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.283e-05/0.3224, allocations: 4 kB / 0.7901 GB, free: 6.562 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.3224, allocations: 0 / 0.7901 GB, free: 6.562 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.3224, allocations: 0 / 0.7901 GB, free: 6.562 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000406/0.3228, allocations: 322.6 kB / 0.7905 GB, free: 6.23 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.488e-05/0.3228, allocations: 92.91 kB / 0.7905 GB, free: 6.121 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.39e-05/0.3229, allocations: 3.938 kB / 0.7905 GB, free: 6.117 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001694/0.323, allocations: 19.98 kB / 0.7906 GB, free: 6.098 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.626e-05/0.3231, allocations: 12.02 kB / 0.7906 GB, free: 6.086 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.134e-05/0.3232, allocations: 15.92 kB / 0.7906 GB, free: 6.07 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 9.087e-05/0.3233, allocations: 123.2 kB / 0.7907 GB, free: 5.949 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.01e-07/0.3233, allocations: 0 / 0.7907 GB, free: 5.949 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003204/0.3236, allocations: 32 kB / 0.7907 GB, free: 5.918 MB / 0.6075 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004768/0.3241, allocations: 202.9 kB / 0.7909 GB, free: 5.75 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003414/0.3244, allocations: 108.3 kB / 0.791 GB, free: 5.645 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.3244, allocations: 0 / 0.791 GB, free: 5.645 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001552/0.3246, allocations: 59.97 kB / 0.7911 GB, free: 5.586 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003624/0.325, allocations: 27.08 kB / 0.7911 GB, free: 5.562 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005284/0.3255, allocations: 311 kB / 0.7914 GB, free: 5.223 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003037/0.3258, allocations: 0.7121 MB / 0.7921 GB, free: 4.484 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.304e-05/0.3259, allocations: 15.44 kB / 0.7921 GB, free: 4.473 MB / 0.6075 GB Notification: Performance of SimCode: time 2.4e-07/0.3259, allocations: 0 / 0.7921 GB, free: 4.473 MB / 0.6075 GB Notification: Performance of Templates: time 0.004093/0.33, allocations: 2.046 MB / 0.7941 GB, free: 2.426 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Utilities.IO.Files.Examples.Printer.makefile make -j1 -f Buildings_8_Buildings.Utilities.IO.Files.Examples.Printer.makefile clang++ -std=c++14 NOTFOUND -Winvalid-pch -O2 -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"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppBuildings_8_Buildings.Utilities.IO.Files.Examples.PrinterCalcHelperMain.o OMCppBuildings_8_Buildings.Utilities.IO.Files.Examples.PrinterCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_8_Buildings.Utilities.IO.Files.Examples.PrinterCalcHelperMain.o] Error 1