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.00127/0.00127, allocations: 102.5 kB / 15.71 MB, free: 460 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.002193/0.002193, allocations: 175.9 kB / 16.58 MB, free: 6.082 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.797/1.797, allocations: 205.4 MB / 222.8 MB, free: 5.621 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.829/1.829, allocations: 292.7 MB / 0.5505 GB, free: 14.58 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.0005428/0.0005429, allocations: 15.78 kB / 0.6744 GB, free: 26.45 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3073/0.3079, allocations: 116.3 MB / 0.7879 GB, free: 11.97 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.Printer): time 0.002246/0.3102, allocations: 1.281 MB / 0.7892 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001514/0.3118, allocations: 0.6998 MB / 0.7899 GB, free: 9.969 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.596e-05/0.3119, allocations: 0 / 0.7899 GB, free: 9.969 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001296/0.312, allocations: 7.922 kB / 0.7899 GB, free: 9.961 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 7.136e-05/0.3121, allocations: 19.8 kB / 0.7899 GB, free: 9.941 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.0005446/0.3126, allocations: 87.83 kB / 0.79 GB, free: 9.855 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002596/0.3129, allocations: 123.5 kB / 0.7901 GB, free: 9.734 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001946/0.3131, allocations: 25.11 kB / 0.7901 GB, free: 9.711 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 9.637e-05/0.3132, allocations: 47.83 kB / 0.7902 GB, free: 9.664 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001045/0.3133, allocations: 47.77 kB / 0.7902 GB, free: 9.617 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.176e-05/0.3133, allocations: 8 kB / 0.7902 GB, free: 9.609 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001588/0.3135, allocations: 43.95 kB / 0.7902 GB, free: 9.566 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 7.412e-05/0.3136, allocations: 23.92 kB / 0.7903 GB, free: 9.543 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 6.666e-05/0.3137, allocations: 41.64 kB / 0.7903 GB, free: 9.496 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002177/0.3139, allocations: 119.9 kB / 0.7904 GB, free: 9.379 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 8.746e-06/0.3139, allocations: 0 / 0.7904 GB, free: 9.379 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.464e-06/0.3139, allocations: 0 / 0.7904 GB, free: 9.379 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.101e-06/0.3139, allocations: 4 kB / 0.7904 GB, free: 9.375 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.001138/0.3151, allocations: 0.5272 MB / 0.7909 GB, free: 8.781 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 7.407e-05/0.3152, allocations: 8.031 kB / 0.791 GB, free: 8.773 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.855e-05/0.3152, allocations: 15.81 kB / 0.791 GB, free: 8.758 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002941/0.3155, allocations: 210.8 kB / 0.7912 GB, free: 8.512 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.952e-05/0.3156, allocations: 12 kB / 0.7912 GB, free: 8.5 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.485e-05/0.3156, allocations: 8 kB / 0.7912 GB, free: 8.492 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003797/0.316, allocations: 139.3 kB / 0.7913 GB, free: 8.344 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.025e-05/0.316, allocations: 0 / 0.7913 GB, free: 8.344 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.068e-05/0.316, allocations: 4 kB / 0.7913 GB, free: 8.34 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.705e-06/0.3161, allocations: 4 kB / 0.7913 GB, free: 8.336 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000255/0.3163, allocations: 79.94 kB / 0.7914 GB, free: 8.258 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007749/0.3171, allocations: 476.7 kB / 0.7919 GB, free: 7.738 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002317/0.3173, allocations: 93.17 kB / 0.7919 GB, free: 7.629 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001354/0.3175, allocations: 53.75 kB / 0.792 GB, free: 7.57 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.458e-05/0.3175, allocations: 4 kB / 0.792 GB, free: 7.566 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004074/0.318, allocations: 164.9 kB / 0.7922 GB, free: 7.387 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=12): time 1.783e-06/0.318, allocations: 4 kB / 0.7922 GB, free: 7.383 MB / 0.6075 GB Notification: Performance of matching and sorting (n=12): time 0.0006158/0.3186, allocations: 213.3 kB / 0.7924 GB, free: 7.168 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.312e-05/0.3187, allocations: 77.11 kB / 0.7924 GB, free: 7.074 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001815/0.3189, allocations: 163.4 kB / 0.7926 GB, free: 6.906 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 4.052e-05/0.3189, allocations: 37.69 kB / 0.7926 GB, free: 6.863 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 9.887e-05/0.319, allocations: 108.3 kB / 0.7927 GB, free: 6.754 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.888e-05/0.3191, allocations: 27.66 kB / 0.7928 GB, free: 6.727 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.71e-06/0.3191, allocations: 0 / 0.7928 GB, free: 6.727 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0002095/0.3193, allocations: 330.8 kB / 0.7931 GB, free: 6.395 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001338/0.3194, allocations: 43.95 kB / 0.7931 GB, free: 6.352 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002358/0.3197, allocations: 122.2 kB / 0.7932 GB, free: 6.195 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001556/0.3198, allocations: 55.97 kB / 0.7933 GB, free: 6.141 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.3199, allocations: 0 / 0.7933 GB, free: 6.141 MB / 0.6075 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003697/0.3202, allocations: 177.2 kB / 0.7935 GB, free: 5.961 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.171e-05/0.3203, allocations: 11.98 kB / 0.7935 GB, free: 5.949 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.081e-06/0.3203, allocations: 288 / 0.7935 GB, free: 5.949 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.655e-05/0.3203, allocations: 11.95 kB / 0.7935 GB, free: 5.938 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001149/0.3204, allocations: 24.16 kB / 0.7935 GB, free: 5.914 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.484e-06/0.3204, allocations: 4 kB / 0.7935 GB, free: 5.91 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.958e-05/0.3205, allocations: 15.98 kB / 0.7935 GB, free: 5.895 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.929e-05/0.3206, allocations: 16 kB / 0.7935 GB, free: 5.879 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 ($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.0001393/0.3207, allocations: 133.8 kB / 0.7937 GB, free: 5.738 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.55e-05/0.3207, allocations: 19.8 kB / 0.7937 GB, free: 5.719 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.874e-05/0.3208, allocations: 13.41 kB / 0.7937 GB, free: 5.703 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.188e-06/0.3208, allocations: 4 kB / 0.7937 GB, free: 5.699 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.245e-06/0.3208, allocations: 3.953 kB / 0.7937 GB, free: 5.695 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.977e-06/0.3208, allocations: 0 / 0.7937 GB, free: 5.695 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007273/0.3216, allocations: 0.5522 MB / 0.7942 GB, free: 5.086 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.328e-06/0.3216, allocations: 8.406 kB / 0.7943 GB, free: 5.078 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.152e-05/0.3217, allocations: 15.98 kB / 0.7943 GB, free: 5.062 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.429e-06/0.3217, allocations: 3.953 kB / 0.7943 GB, free: 5.059 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.486e-05/0.3217, allocations: 7.984 kB / 0.7943 GB, free: 5.051 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.135e-06/0.3217, allocations: 4 kB / 0.7943 GB, free: 5.047 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.3217, allocations: 3.938 kB / 0.7943 GB, free: 5.043 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004831/0.3222, allocations: 330.6 kB / 0.7946 GB, free: 4.703 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 7.247e-05/0.3223, allocations: 88.92 kB / 0.7947 GB, free: 4.598 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.862e-05/0.3223, allocations: 7.953 kB / 0.7947 GB, free: 4.59 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001631/0.3225, allocations: 23.97 kB / 0.7947 GB, free: 4.566 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.348e-05/0.3225, allocations: 11.98 kB / 0.7947 GB, free: 4.555 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.674e-05/0.3226, allocations: 8 kB / 0.7947 GB, free: 4.547 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.000103/0.3227, allocations: 123.2 kB / 0.7949 GB, free: 4.426 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3227, allocations: 0 / 0.7949 GB, free: 4.426 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003427/0.323, allocations: 39.98 kB / 0.7949 GB, free: 4.387 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 (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.000511/0.3236, allocations: 194.3 kB / 0.7951 GB, free: 4.223 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003677/0.3239, allocations: 123.8 kB / 0.7952 GB, free: 4.102 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.324, allocations: 0 / 0.7952 GB, free: 4.102 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001678/0.3241, allocations: 68.45 kB / 0.7953 GB, free: 4.035 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000371/0.3245, allocations: 22.95 kB / 0.7953 GB, free: 4.016 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005816/0.3251, allocations: 300.5 kB / 0.7956 GB, free: 3.688 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004609/0.3256, allocations: 0.7158 MB / 0.7963 GB, free: 2.945 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.148e-05/0.3256, allocations: 15.42 kB / 0.7963 GB, free: 2.934 MB / 0.6075 GB Notification: Performance of SimCode: time 2.5e-07/0.3256, allocations: 0 / 0.7963 GB, free: 2.934 MB / 0.6075 GB Notification: Performance of Templates: time 0.005909/0.3316, allocations: 2.049 MB / 0.7983 GB, free: 0.8906 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++ 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"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/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