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.001047/0.001048, allocations: 99.03 kB / 16.02 MB, free: 76 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.001433/0.001433, allocations: 179.4 kB / 16.92 MB, free: 6.918 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.902/1.902, allocations: 205.4 MB / 223.1 MB, free: 5.52 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.874/1.874, allocations: 292.7 MB / 0.5509 GB, free: 14.47 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.0006004/0.0006004, allocations: 14.47 kB / 0.675 GB, free: 25.75 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3541/0.3547, allocations: 116.3 MB / 0.7885 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.Printer): time 0.002611/0.3575, allocations: 1.301 MB / 0.7898 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001748/0.3592, allocations: 0.7218 MB / 0.7905 GB, free: 9.562 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.678e-05/0.3593, allocations: 0 / 0.7905 GB, free: 9.562 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001234/0.3595, allocations: 11.86 kB / 0.7905 GB, free: 9.551 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 7.659e-05/0.3595, allocations: 19.86 kB / 0.7905 GB, free: 9.531 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.0004703/0.36, allocations: 91.84 kB / 0.7906 GB, free: 9.441 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001903/0.3602, allocations: 131.5 kB / 0.7907 GB, free: 9.312 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001662/0.3604, allocations: 33.11 kB / 0.7908 GB, free: 9.281 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001049/0.3605, allocations: 47.83 kB / 0.7908 GB, free: 9.234 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 9.64e-05/0.3606, allocations: 55.69 kB / 0.7909 GB, free: 9.18 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.976e-05/0.3606, allocations: 4 kB / 0.7909 GB, free: 9.176 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001283/0.3608, allocations: 43.91 kB / 0.7909 GB, free: 9.133 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 6.022e-05/0.3608, allocations: 23.91 kB / 0.7909 GB, free: 9.109 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 9.307e-05/0.3609, allocations: 85.36 kB / 0.791 GB, free: 9.02 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001936/0.3611, allocations: 115.9 kB / 0.7911 GB, free: 8.906 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.3611, allocations: 0 / 0.7911 GB, free: 8.906 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.535e-06/0.3612, allocations: 0 / 0.7911 GB, free: 8.906 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.971e-06/0.3612, allocations: 0 / 0.7911 GB, free: 8.906 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.0009224/0.3621, allocations: 0.5275 MB / 0.7917 GB, free: 8.312 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.777e-05/0.3621, allocations: 8.031 kB / 0.7917 GB, free: 8.305 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.266e-05/0.3622, allocations: 24.75 kB / 0.7917 GB, free: 8.281 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002523/0.3625, allocations: 215.9 kB / 0.7919 GB, free: 8.031 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.282e-05/0.3625, allocations: 8.375 kB / 0.7919 GB, free: 8.023 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.035e-05/0.3625, allocations: 8.375 kB / 0.7919 GB, free: 8.016 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003477/0.3629, allocations: 143.6 kB / 0.792 GB, free: 7.863 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.296e-06/0.3629, allocations: 3.938 kB / 0.792 GB, free: 7.859 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.901e-05/0.3629, allocations: 4 kB / 0.7921 GB, free: 7.855 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.236e-06/0.3629, allocations: 4 kB / 0.7921 GB, free: 7.852 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002578/0.3632, allocations: 79.94 kB / 0.7921 GB, free: 7.773 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007215/0.3639, allocations: 472.7 kB / 0.7926 GB, free: 7.258 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002135/0.3642, allocations: 97.12 kB / 0.7927 GB, free: 7.145 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001483/0.3643, allocations: 53.81 kB / 0.7927 GB, free: 7.086 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.016e-05/0.3644, allocations: 0 / 0.7927 GB, free: 7.086 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003862/0.3648, allocations: 160.9 kB / 0.7929 GB, free: 6.91 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=12): time 1.142e-06/0.3648, allocations: 0 / 0.7929 GB, free: 6.91 MB / 0.6075 GB Notification: Performance of matching and sorting (n=12): time 0.0006058/0.3654, allocations: 205.4 kB / 0.7931 GB, free: 6.703 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.918e-05/0.3655, allocations: 81.11 kB / 0.7932 GB, free: 6.605 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001646/0.3656, allocations: 171.3 kB / 0.7933 GB, free: 6.43 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.153e-05/0.3657, allocations: 29.81 kB / 0.7933 GB, free: 6.395 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 8.593e-05/0.3658, allocations: 112.3 kB / 0.7935 GB, free: 6.281 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.249e-05/0.3658, allocations: 31.55 kB / 0.7935 GB, free: 6.25 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.705e-05/0.3658, allocations: 21.7 kB / 0.7935 GB, free: 6.223 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001424/0.366, allocations: 330.8 kB / 0.7938 GB, free: 5.891 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001358/0.3661, allocations: 47.97 kB / 0.7939 GB, free: 5.844 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001962/0.3663, allocations: 126.2 kB / 0.794 GB, free: 5.684 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003186/0.3667, allocations: 163.5 kB / 0.7941 GB, free: 5.496 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.935e-06/0.3667, allocations: 0 / 0.7941 GB, free: 5.496 MB / 0.6075 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003797/0.3671, allocations: 177.5 kB / 0.7943 GB, free: 5.316 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.782e-05/0.3671, allocations: 4 kB / 0.7943 GB, free: 5.312 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.853e-06/0.3671, allocations: 4 kB / 0.7943 GB, free: 5.309 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.88e-05/0.3671, allocations: 4 kB / 0.7943 GB, free: 5.305 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000113/0.3672, allocations: 15.98 kB / 0.7943 GB, free: 5.289 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.033e-05/0.3673, allocations: 12.09 kB / 0.7943 GB, free: 5.277 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001095/0.3674, allocations: 23.83 kB / 0.7944 GB, free: 5.254 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.405e-05/0.3674, allocations: 8 kB / 0.7944 GB, free: 5.246 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.0001261/0.3675, allocations: 130.1 kB / 0.7945 GB, free: 5.109 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.494e-05/0.3676, allocations: 11.91 kB / 0.7945 GB, free: 5.098 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.147e-05/0.3676, allocations: 25.38 kB / 0.7945 GB, free: 5.07 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.418e-06/0.3676, allocations: 4.375 kB / 0.7945 GB, free: 5.066 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/0.3677, allocations: 4 kB / 0.7945 GB, free: 5.062 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.481e-06/0.3677, allocations: 3.938 kB / 0.7946 GB, free: 5.059 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007392/0.3684, allocations: 0.5521 MB / 0.7951 GB, free: 4.449 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.907e-06/0.3684, allocations: 4 kB / 0.7951 GB, free: 4.445 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.491e-05/0.3685, allocations: 19.92 kB / 0.7951 GB, free: 4.426 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.676e-06/0.3685, allocations: 3.938 kB / 0.7951 GB, free: 4.422 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.164e-05/0.3685, allocations: 4 kB / 0.7951 GB, free: 4.418 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.237e-06/0.3685, allocations: 4 kB / 0.7951 GB, free: 4.414 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.3685, allocations: 0 / 0.7951 GB, free: 4.414 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004391/0.369, allocations: 334.5 kB / 0.7954 GB, free: 4.07 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.087e-05/0.3691, allocations: 93 kB / 0.7955 GB, free: 3.961 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.487e-05/0.3691, allocations: 7.938 kB / 0.7955 GB, free: 3.953 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001803/0.3693, allocations: 23.98 kB / 0.7956 GB, free: 3.93 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.71e-05/0.3693, allocations: 15.92 kB / 0.7956 GB, free: 3.914 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.713e-05/0.3694, allocations: 11.98 kB / 0.7956 GB, free: 3.902 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 8.329e-05/0.3695, allocations: 119.2 kB / 0.7957 GB, free: 3.785 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3695, allocations: 4 kB / 0.7957 GB, free: 3.781 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003374/0.3698, allocations: 39.91 kB / 0.7957 GB, free: 3.742 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.0004431/0.3703, allocations: 191.7 kB / 0.7959 GB, free: 3.586 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003809/0.3707, allocations: 128 kB / 0.796 GB, free: 3.461 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.3707, allocations: 0 / 0.796 GB, free: 3.461 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001672/0.3708, allocations: 59.91 kB / 0.7961 GB, free: 3.402 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003639/0.3712, allocations: 16.17 kB / 0.7961 GB, free: 3.387 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005583/0.3718, allocations: 312.8 kB / 0.7964 GB, free: 3.047 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003261/0.3721, allocations: 0.716 MB / 0.7971 GB, free: 2.305 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.204e-05/0.3722, allocations: 15.44 kB / 0.7971 GB, free: 2.293 MB / 0.6075 GB Notification: Performance of SimCode: time 2.21e-07/0.3722, allocations: 0 / 0.7971 GB, free: 2.293 MB / 0.6075 GB Notification: Performance of Templates: time 0.004823/0.377, allocations: 2.038 MB / 0.7991 GB, free: 264 kB / 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