Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/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_9_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_9_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.0008943/0.0008942, allocations: 99.05 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.0009173/0.0009173, allocations: 178 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.472/1.472, allocations: 223.2 MB / 240.6 MB, free: 5.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.722/2.722, allocations: 390.4 MB / 0.6662 GB, free: 2.883 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.000487/0.0004872, allocations: 12 kB / 0.8154 GB, free: 14.2 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8931/0.8936, allocations: 142.3 MB / 0.9544 GB, free: 8.062 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.Printer): time 0.001608/0.8953, allocations: 1.267 MB / 0.9556 GB, free: 7.062 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001092/0.8964, allocations: 0.6634 MB / 0.9563 GB, free: 6.551 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.135e-05/0.8964, allocations: 1.5 kB / 0.9563 GB, free: 6.551 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 8.899e-05/0.8965, allocations: 11.86 kB / 0.9563 GB, free: 6.539 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.772e-05/0.8966, allocations: 10.47 kB / 0.9563 GB, free: 6.531 MB / 0.7169 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.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.0004023/0.897, allocations: 96.11 kB / 0.9564 GB, free: 6.465 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001629/0.8972, allocations: 130.2 kB / 0.9565 GB, free: 6.383 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001315/0.8973, allocations: 27.02 kB / 0.9566 GB, free: 6.367 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 7.947e-05/0.8974, allocations: 43.38 kB / 0.9566 GB, free: 6.344 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 7.966e-05/0.8975, allocations: 52.25 kB / 0.9567 GB, free: 6.309 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.701e-05/0.8975, allocations: 8.906 kB / 0.9567 GB, free: 6.305 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001141/0.8976, allocations: 43.7 kB / 0.9567 GB, free: 6.285 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 4.528e-05/0.8977, allocations: 18.92 kB / 0.9567 GB, free: 6.273 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.208e-05/0.8977, allocations: 49.61 kB / 0.9568 GB, free: 6.227 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001575/0.8979, allocations: 113.9 kB / 0.9569 GB, free: 6.148 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.432e-06/0.8979, allocations: 1.312 kB / 0.9569 GB, free: 6.148 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.623e-06/0.8979, allocations: 0 / 0.9569 GB, free: 6.148 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.029e-06/0.8979, allocations: 0 / 0.9569 GB, free: 6.148 MB / 0.7169 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.0006831/0.8986, allocations: 0.5322 MB / 0.9574 GB, free: 5.617 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.001e-05/0.8987, allocations: 9.094 kB / 0.9574 GB, free: 5.617 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.111e-05/0.8987, allocations: 20.67 kB / 0.9574 GB, free: 5.605 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001659/0.8989, allocations: 215.1 kB / 0.9576 GB, free: 5.371 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.524e-05/0.8989, allocations: 4.062 kB / 0.9576 GB, free: 5.371 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.04e-05/0.8989, allocations: 10.53 kB / 0.9576 GB, free: 5.367 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002874/0.8992, allocations: 140.3 kB / 0.9578 GB, free: 5.27 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.106e-06/0.8993, allocations: 0 / 0.9578 GB, free: 5.27 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.552e-05/0.8993, allocations: 6.219 kB / 0.9578 GB, free: 5.266 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.871e-06/0.8993, allocations: 1.188 kB / 0.9578 GB, free: 5.266 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002239/0.8995, allocations: 82.42 kB / 0.9579 GB, free: 5.234 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005711/0.9001, allocations: 470.1 kB / 0.9583 GB, free: 4.785 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002173/0.9003, allocations: 89.69 kB / 0.9584 GB, free: 4.715 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001417/0.9005, allocations: 65.14 kB / 0.9585 GB, free: 4.672 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.886e-05/0.9005, allocations: 5.203 kB / 0.9585 GB, free: 4.668 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003301/0.9008, allocations: 158.7 kB / 0.9586 GB, free: 4.547 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=12): time 1.473e-06/0.9009, allocations: 0 / 0.9586 GB, free: 4.547 MB / 0.7169 GB Notification: Performance of matching and sorting (n=12): time 0.000532/0.9014, allocations: 213.6 kB / 0.9588 GB, free: 4.441 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.139e-05/0.9014, allocations: 78.86 kB / 0.9589 GB, free: 4.348 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001237/0.9016, allocations: 154.8 kB / 0.959 GB, free: 4.223 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.205e-05/0.9016, allocations: 36.53 kB / 0.9591 GB, free: 4.184 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.562e-05/0.9017, allocations: 111.2 kB / 0.9592 GB, free: 4.074 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.272e-05/0.9017, allocations: 29.2 kB / 0.9592 GB, free: 4.051 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.32e-06/0.9017, allocations: 4 kB / 0.9592 GB, free: 4.047 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.348e-05/0.9018, allocations: 326 kB / 0.9595 GB, free: 3.723 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00012/0.9019, allocations: 51.64 kB / 0.9596 GB, free: 3.699 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001596/0.9021, allocations: 127.4 kB / 0.9597 GB, free: 3.574 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001348/0.9022, allocations: 48.67 kB / 0.9597 GB, free: 3.559 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.9022, allocations: 0 / 0.9597 GB, free: 3.559 MB / 0.7169 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003438/0.9026, allocations: 185.8 kB / 0.9599 GB, free: 3.457 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.755e-05/0.9026, allocations: 9.781 kB / 0.9599 GB, free: 3.453 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.303e-06/0.9026, allocations: 2.75 kB / 0.9599 GB, free: 3.453 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.49e-05/0.9026, allocations: 2.75 kB / 0.9599 GB, free: 3.453 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001114/0.9028, allocations: 21.67 kB / 0.96 GB, free: 3.445 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.404e-06/0.9028, allocations: 4.125 kB / 0.96 GB, free: 3.445 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.25e-05/0.9029, allocations: 22.89 kB / 0.96 GB, free: 3.434 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.302e-05/0.9029, allocations: 5.5 kB / 0.96 GB, free: 3.434 MB / 0.7169 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.0001007/0.903, allocations: 136.7 kB / 0.9601 GB, free: 3.301 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.397e-05/0.903, allocations: 20.09 kB / 0.9601 GB, free: 3.289 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.147e-05/0.9031, allocations: 17.53 kB / 0.9602 GB, free: 3.273 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.116e-06/0.9031, allocations: 1.375 kB / 0.9602 GB, free: 3.273 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/0.9031, allocations: 5.375 kB / 0.9602 GB, free: 3.27 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-06/0.9031, allocations: 3.984 kB / 0.9602 GB, free: 3.266 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005647/0.9037, allocations: 0.5465 MB / 0.9607 GB, free: 2.773 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.893e-06/0.9037, allocations: 0 / 0.9607 GB, free: 2.773 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.015e-05/0.9038, allocations: 20.36 kB / 0.9607 GB, free: 2.766 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/0.9038, allocations: 5.312 kB / 0.9607 GB, free: 2.762 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.427e-05/0.9038, allocations: 9.359 kB / 0.9607 GB, free: 2.754 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.933e-06/0.9038, allocations: 1.375 kB / 0.9607 GB, free: 2.754 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.9038, allocations: 0 / 0.9607 GB, free: 2.754 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003514/0.9042, allocations: 337.8 kB / 0.9611 GB, free: 2.488 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.109e-05/0.9042, allocations: 85.02 kB / 0.9611 GB, free: 2.391 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.281e-05/0.9042, allocations: 2.031 kB / 0.9611 GB, free: 2.391 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001675/0.9044, allocations: 27.03 kB / 0.9612 GB, free: 2.379 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.163e-05/0.9045, allocations: 12.95 kB / 0.9612 GB, free: 2.371 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.469e-05/0.9045, allocations: 5.594 kB / 0.9612 GB, free: 2.371 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 8.394e-05/0.9046, allocations: 121.5 kB / 0.9613 GB, free: 2.273 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.9046, allocations: 0 / 0.9613 GB, free: 2.273 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003504/0.9049, allocations: 41.02 kB / 0.9613 GB, free: 2.262 MB / 0.7169 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.0004194/0.9054, allocations: 227.8 kB / 0.9616 GB, free: 2.109 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003469/0.9057, allocations: 112.2 kB / 0.9617 GB, free: 2.074 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.9057, allocations: 4.125 kB / 0.9617 GB, free: 2.07 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.000161/0.9059, allocations: 64.2 kB / 0.9617 GB, free: 2.047 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003674/0.9063, allocations: 30.91 kB / 0.9618 GB, free: 2.027 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004698/0.9068, allocations: 294.9 kB / 0.962 GB, free: 1.773 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001594/0.9069, allocations: 0.7192 MB / 0.9627 GB, free: 1.055 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.401e-05/0.907, allocations: 14.31 kB / 0.9628 GB, free: 1.047 MB / 0.7169 GB Notification: Performance of SimCode: time 2.41e-07/0.907, allocations: 0 / 0.9628 GB, free: 1.047 MB / 0.7169 GB Notification: Performance of Templates: time 0.004019/0.911, allocations: 2.031 MB / 0.9647 GB, free: 12 kB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Utilities.IO.Files.Examples.Printer.makefile make -j1 -f Buildings_9_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_9_Buildings.Utilities.IO.Files.Examples.PrinterCalcHelperMain.o OMCppBuildings_9_Buildings.Utilities.IO.Files.Examples.PrinterCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_9_Buildings.Utilities.IO.Files.Examples.PrinterCalcHelperMain.o] Error 1