Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo.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.OBC.CDL.Reals.Validation.Modulo,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mod1.u1|mod1.u2|mod1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Modulo,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mod1.u1|mod1.u2|mod1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008992/0.000899, allocations: 102.2 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.00103/0.00103, allocations: 174.2 kB / 16.58 MB, free: 6.863 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.516/1.516, allocations: 223.2 MB / 240.6 MB, free: 5.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.83/2.83, allocations: 436.7 MB / 0.7114 GB, free: 7.832 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004221/0.0004221, allocations: 8 kB / 0.8717 GB, free: 4.727 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8003/0.8007, allocations: 153.7 MB / 1.022 GB, free: 1.082 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Modulo): time 0.001157/0.8019, allocations: 430.2 kB / 1.022 GB, free: 0.668 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001056/0.803, allocations: 0.8586 MB / 1.023 GB, free: 15.8 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.723e-05/0.8031, allocations: 4 kB / 1.023 GB, free: 15.79 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.789e-05/0.8031, allocations: 0 / 1.023 GB, free: 15.79 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 7.697e-05/0.8032, allocations: 3.938 kB / 1.023 GB, free: 15.79 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001875/0.8034, allocations: 19.92 kB / 1.023 GB, free: 15.77 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 8.249e-05/0.8035, allocations: 35.86 kB / 1.023 GB, free: 15.73 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 9.624e-05/0.8036, allocations: 11.98 kB / 1.023 GB, free: 15.72 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 8.191e-05/0.8037, allocations: 15.92 kB / 1.023 GB, free: 15.71 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 5.399e-05/0.8037, allocations: 23.86 kB / 1.023 GB, free: 15.68 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.098e-05/0.8037, allocations: 4 kB / 1.023 GB, free: 15.68 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 1.058e-05/0.8038, allocations: 3.938 kB / 1.023 GB, free: 15.68 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.317e-05/0.8038, allocations: 3.984 kB / 1.023 GB, free: 15.67 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 3.129e-05/0.8038, allocations: 33.7 kB / 1.023 GB, free: 15.63 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 6.732e-05/0.8039, allocations: 27.92 kB / 1.023 GB, free: 15.61 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 1.018e-05/0.8039, allocations: 8 kB / 1.023 GB, free: 15.6 MB / 0.7794 GB Notification: Performance of FrontEnd: time 3.056e-06/0.8039, allocations: 0 / 1.023 GB, free: 15.6 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 7.304e-06/0.8039, allocations: 0 / 1.023 GB, free: 15.6 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0006334/0.8046, allocations: 362.9 kB / 1.024 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.854e-05/0.8046, allocations: 15.98 kB / 1.024 GB, free: 15.18 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.954e-05/0.8047, allocations: 3.906 kB / 1.024 GB, free: 15.18 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002549/0.8049, allocations: 171 kB / 1.024 GB, free: 14.97 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.247e-05/0.8049, allocations: 0 / 1.024 GB, free: 14.97 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.487e-05/0.805, allocations: 4 kB / 1.024 GB, free: 14.97 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002683/0.8052, allocations: 85.59 kB / 1.024 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.177e-06/0.8053, allocations: 0 / 1.024 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.195e-05/0.8053, allocations: 0 / 1.024 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.081e-06/0.8053, allocations: 4 kB / 1.024 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002795/0.8056, allocations: 83.92 kB / 1.024 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004507/0.806, allocations: 280.8 kB / 1.024 GB, free: 14.47 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002051/0.8063, allocations: 58.55 kB / 1.024 GB, free: 14.4 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001549/0.8064, allocations: 52.91 kB / 1.024 GB, free: 14.35 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.687e-05/0.8065, allocations: 0 / 1.024 GB, free: 14.35 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.732e-05/0.8065, allocations: 34.56 kB / 1.024 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=3): time 9.42e-07/0.8065, allocations: 0 / 1.024 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3): time 0.0005297/0.807, allocations: 165.5 kB / 1.024 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.428e-05/0.8071, allocations: 55.39 kB / 1.025 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.939e-05/0.8072, allocations: 105.8 kB / 1.025 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.381e-05/0.8072, allocations: 25.7 kB / 1.025 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.728e-05/0.8072, allocations: 88.14 kB / 1.025 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.168e-05/0.8073, allocations: 19.73 kB / 1.025 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.148e-06/0.8073, allocations: 0 / 1.025 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001153/0.8074, allocations: 318.8 kB / 1.025 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000133/0.8076, allocations: 39.95 kB / 1.025 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001257/0.8077, allocations: 43.97 kB / 1.025 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001328/0.8078, allocations: 47.89 kB / 1.025 GB, free: 13.37 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.907e-06/0.8078, allocations: 7.953 kB / 1.025 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002962/0.8081, allocations: 121.6 kB / 1.025 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.403e-05/0.8082, allocations: 4 kB / 1.025 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.349e-06/0.8082, allocations: 0 / 1.025 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.588e-06/0.8082, allocations: 3.938 kB / 1.025 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001195/0.8083, allocations: 23.98 kB / 1.025 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.396e-06/0.8083, allocations: 3.984 kB / 1.025 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.692e-05/0.8084, allocations: 20.31 kB / 1.025 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.705e-06/0.8084, allocations: 0 / 1.025 GB, free: 13.18 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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.0001102/0.8085, allocations: 113.8 kB / 1.025 GB, free: 13.06 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.545e-05/0.8086, allocations: 7.859 kB / 1.025 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.922e-05/0.8086, allocations: 11.89 kB / 1.025 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.8086, allocations: 0 / 1.025 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.818e-06/0.8086, allocations: 0 / 1.025 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.424e-06/0.8086, allocations: 0 / 1.025 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001731/0.8088, allocations: 173.6 kB / 1.026 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.11e-07/0.8088, allocations: 0 / 1.026 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.385e-05/0.8089, allocations: 23.94 kB / 1.026 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.794e-06/0.8089, allocations: 0 / 1.026 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.005e-06/0.8089, allocations: 0 / 1.026 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.8089, allocations: 0 / 1.026 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.657e-06/0.809, allocations: 4 kB / 1.026 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003506/0.8093, allocations: 223.4 kB / 1.026 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.683e-05/0.8094, allocations: 81.02 kB / 1.026 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.485e-05/0.8094, allocations: 3.953 kB / 1.026 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.919e-05/0.8095, allocations: 15.98 kB / 1.026 GB, free: 12.44 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.535e-05/0.8096, allocations: 11.98 kB / 1.026 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.917e-06/0.8096, allocations: 0 / 1.026 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.795e-05/0.8097, allocations: 83.27 kB / 1.026 GB, free: 12.34 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8097, allocations: 4 kB / 1.026 GB, free: 12.34 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002136/0.8099, allocations: 12 kB / 1.026 GB, free: 12.33 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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 Backend phase and start with SimCode phase: time 0.00014/0.81, allocations: 95.25 kB / 1.026 GB, free: 12.22 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003176/0.8103, allocations: 91.92 kB / 1.026 GB, free: 12.13 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.033e-06/0.8104, allocations: 3.938 kB / 1.026 GB, free: 12.13 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001489/0.8105, allocations: 47.97 kB / 1.026 GB, free: 12.08 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003121/0.8108, allocations: 7.922 kB / 1.026 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003355/0.8112, allocations: 154.4 kB / 1.026 GB, free: 11.89 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002683/0.8115, allocations: 0.6848 MB / 1.027 GB, free: 11.18 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.069e-05/0.8115, allocations: 7.438 kB / 1.027 GB, free: 11.17 MB / 0.7794 GB Notification: Performance of SimCode: time 2.31e-07/0.8115, allocations: 0 / 1.027 GB, free: 11.17 MB / 0.7794 GB Notification: Performance of Templates: time 0.002251/0.8138, allocations: 0.7266 MB / 1.028 GB, free: 10.45 MB / 0.7794 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo.makefile make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo.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.OBC.CDL.Reals.Validation.ModuloCalcHelperMain.o OMCppBuildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.ModuloCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.ModuloCalcHelperMain.o] Error 1