Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.Continuous.Examples.OffTimer.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.Controls.Continuous.Examples.OffTimer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|offTim1.u|offTim1.y|offTim2.u|offTim2.y",fileNamePrefix="Buildings_latest_Buildings.Controls.Continuous.Examples.OffTimer") translateModel(Buildings.Controls.Continuous.Examples.OffTimer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|offTim1.u|offTim1.y|offTim2.u|offTim2.y",fileNamePrefix="Buildings_latest_Buildings.Controls.Continuous.Examples.OffTimer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009348/0.0009348, allocations: 99.83 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.001348/0.001348, allocations: 178.9 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.487/1.487, allocations: 223.2 MB / 240.6 MB, free: 5.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.887/2.887, allocations: 436.7 MB / 0.7113 GB, free: 7.852 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003679/0.0003683, allocations: 8.219 kB / 0.8716 GB, free: 4.785 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8808/0.8812, allocations: 153.7 MB / 1.022 GB, free: 1.145 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.OffTimer): time 0.001921/0.8832, allocations: 1.181 MB / 1.023 GB, free: 15.95 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0008657/0.8841, allocations: 411.4 kB / 1.023 GB, free: 15.55 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.092e-05/0.8842, allocations: 4 kB / 1.023 GB, free: 15.54 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 2.404e-05/0.8842, allocations: 7.938 kB / 1.023 GB, free: 15.54 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 9.202e-05/0.8843, allocations: 3.938 kB / 1.023 GB, free: 15.53 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001904/0.8845, allocations: 23.97 kB / 1.023 GB, free: 15.51 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001015/0.8846, allocations: 47.84 kB / 1.023 GB, free: 15.46 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001144/0.8848, allocations: 11.98 kB / 1.023 GB, free: 15.45 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 6.737e-05/0.8848, allocations: 15.94 kB / 1.023 GB, free: 15.43 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 6.49e-05/0.8849, allocations: 15.92 kB / 1.023 GB, free: 15.42 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.859e-05/0.8849, allocations: 0 / 1.023 GB, free: 15.42 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 1.365e-05/0.885, allocations: 8 kB / 1.023 GB, free: 15.41 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.992e-05/0.885, allocations: 11.92 kB / 1.023 GB, free: 15.4 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 5.769e-05/0.8851, allocations: 37.64 kB / 1.023 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 7.515e-05/0.8851, allocations: 27.92 kB / 1.023 GB, free: 15.33 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 7.715e-06/0.8851, allocations: 4 kB / 1.023 GB, free: 15.32 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.395e-06/0.8852, allocations: 0 / 1.023 GB, free: 15.32 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 8.376e-06/0.8852, allocations: 0 / 1.023 GB, free: 15.32 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0005464/0.8857, allocations: 357.2 kB / 1.024 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 5.643e-05/0.8858, allocations: 15.98 kB / 1.024 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.478e-05/0.8858, allocations: 3.906 kB / 1.024 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001577/0.886, allocations: 167.1 kB / 1.024 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.476e-05/0.886, allocations: 15.98 kB / 1.024 GB, free: 14.69 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.636e-05/0.8861, allocations: 4 kB / 1.024 GB, free: 14.69 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001401/0.8862, allocations: 57.58 kB / 1.024 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.938e-06/0.8862, allocations: 3.984 kB / 1.024 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.2e-05/0.8862, allocations: 0 / 1.024 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.562e-06/0.8862, allocations: 4 kB / 1.024 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.165e-05/0.8863, allocations: 27.98 kB / 1.024 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006237/0.887, allocations: 304.6 kB / 1.024 GB, free: 14.24 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001238/0.8871, allocations: 54.56 kB / 1.024 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.162e-05/0.8872, allocations: 32.94 kB / 1.024 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.542e-05/0.8872, allocations: 0 / 1.024 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002081/0.8874, allocations: 75.36 kB / 1.025 GB, free: 14.06 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=9): time 1.413e-06/0.8874, allocations: 0 / 1.025 GB, free: 14.06 MB / 0.7794 GB Notification: Performance of matching and sorting (n=9): time 0.0002656/0.8877, allocations: 101.5 kB / 1.025 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.73e-05/0.8878, allocations: 55.41 kB / 1.025 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.006e-05/0.8879, allocations: 105.8 kB / 1.025 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.929e-05/0.8879, allocations: 33.7 kB / 1.025 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.185e-05/0.8879, allocations: 84.12 kB / 1.025 GB, free: 13.65 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.076e-05/0.888, allocations: 23.7 kB / 1.025 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.063e-06/0.888, allocations: 4 kB / 1.025 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.000146/0.8881, allocations: 314.8 kB / 1.025 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.749e-05/0.8882, allocations: 23.98 kB / 1.025 GB, free: 13.28 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.157e-05/0.8883, allocations: 51.3 kB / 1.025 GB, free: 13.22 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.685e-05/0.8883, allocations: 20 kB / 1.025 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.8883, allocations: 0 / 1.025 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001493/0.8885, allocations: 101.5 kB / 1.025 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.685e-05/0.8885, allocations: 4 kB / 1.025 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.545e-06/0.8885, allocations: 4 kB / 1.025 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.303e-05/0.8885, allocations: 0 / 1.025 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.598e-05/0.8886, allocations: 8 kB / 1.025 GB, free: 13.08 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.733e-06/0.8886, allocations: 0 / 1.025 GB, free: 13.08 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.012e-05/0.8887, allocations: 19.95 kB / 1.025 GB, free: 13.06 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.877e-06/0.8887, allocations: 4 kB / 1.025 GB, free: 13.05 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,$whenCondition3,$whenCondition2,$PRE.booleanPulse.pulseStart,booleanPulse.pulseStart,not1.y,$PRE.offTim1.entryTime,offTim1.entryTime,$PRE.offTim2.entryTime,offTim2.entryTime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 12 * 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.0001238/0.8889, allocations: 126 kB / 1.026 GB, free: 12.92 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.063e-05/0.8889, allocations: 4 kB / 1.026 GB, free: 12.92 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.53e-05/0.8889, allocations: 15.94 kB / 1.026 GB, free: 12.9 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.8889, allocations: 0 / 1.026 GB, free: 12.9 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/0.8889, allocations: 0 / 1.026 GB, free: 12.9 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.516e-06/0.8889, allocations: 0 / 1.026 GB, free: 12.9 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004676/0.8894, allocations: 374.7 kB / 1.026 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/0.8894, allocations: 0 / 1.026 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.459e-05/0.8895, allocations: 4 kB / 1.026 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.864e-06/0.8895, allocations: 0 / 1.026 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.818e-06/0.8895, allocations: 4.062 kB / 1.026 GB, free: 12.47 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.206e-06/0.8895, allocations: 0 / 1.026 GB, free: 12.47 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.8895, allocations: 7.922 kB / 1.026 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001733/0.8897, allocations: 183.4 kB / 1.026 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.068e-05/0.8897, allocations: 81.11 kB / 1.026 GB, free: 12.17 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.717e-05/0.8897, allocations: 7.922 kB / 1.026 GB, free: 12.16 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.276e-05/0.8898, allocations: 8 kB / 1.026 GB, free: 12.16 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.873e-05/0.8899, allocations: 7.984 kB / 1.026 GB, free: 12.15 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.582e-06/0.8899, allocations: 4 kB / 1.026 GB, free: 12.14 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.65e-05/0.89, allocations: 91.27 kB / 1.026 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.89, allocations: 0 / 1.026 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.000229/0.8902, allocations: 12 kB / 1.026 GB, free: 12.04 MB / 0.7794 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 (not1.y,$whenCondition3,$whenCondition2,$whenCondition1,booleanPulse.pulseStart,offTim1.entryTime,offTim2.entryTime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 6 * 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.000116/0.8903, allocations: 99.19 kB / 1.026 GB, free: 11.93 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001264/0.8905, allocations: 47.92 kB / 1.026 GB, free: 11.89 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.8905, allocations: 4 kB / 1.026 GB, free: 11.88 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 9.622e-05/0.8906, allocations: 31.92 kB / 1.027 GB, free: 11.85 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002831/0.8909, allocations: 18.06 kB / 1.027 GB, free: 11.84 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004643/0.8913, allocations: 202.3 kB / 1.027 GB, free: 11.61 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000357/0.8917, allocations: 0.6848 MB / 1.027 GB, free: 10.89 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.239e-05/0.8918, allocations: 11.81 kB / 1.027 GB, free: 10.88 MB / 0.7794 GB Notification: Performance of SimCode: time 2.71e-07/0.8918, allocations: 0 / 1.027 GB, free: 10.88 MB / 0.7794 GB Notification: Performance of Templates: time 0.002289/0.8941, allocations: 0.8522 MB / 1.028 GB, free: 10.04 MB / 0.7794 GB make -j1 -f Buildings_latest_Buildings.Controls.Continuous.Examples.OffTimer.makefile make -j1 -f Buildings_latest_Buildings.Controls.Continuous.Examples.OffTimer.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_latest_Buildings.Controls.Continuous.Examples.OffTimerCalcHelperMain.o OMCppBuildings_latest_Buildings.Controls.Continuous.Examples.OffTimerCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_latest_Buildings.Controls.Continuous.Examples.OffTimerCalcHelperMain.o] Error 1