Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Max.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.Integers.Validation.Max,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|max1.u1|max1.u2|max1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Max") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Max,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|max1.u1|max1.u2|max1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Max") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008049/0.000805, allocations: 99.59 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.0008539/0.000854, allocations: 175.4 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.413/1.413, 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.722/2.722, allocations: 436.7 MB / 0.7113 GB, free: 7.867 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003689/0.000369, allocations: 12.22 kB / 0.8717 GB, free: 4.746 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7541/0.7545, allocations: 153.7 MB / 1.022 GB, free: 1.105 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Max): time 0.0009352/0.7555, allocations: 497 kB / 1.022 GB, free: 0.6211 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0009043/0.7564, allocations: 0.8508 MB / 1.023 GB, free: 15.76 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.86e-05/0.7565, allocations: 0 / 1.023 GB, free: 15.76 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 2.123e-05/0.7565, allocations: 7.922 kB / 1.023 GB, free: 15.75 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 7.966e-05/0.7566, allocations: 7.938 kB / 1.023 GB, free: 15.74 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001454/0.7567, allocations: 35.95 kB / 1.023 GB, free: 15.71 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001033/0.7568, allocations: 71.83 kB / 1.023 GB, free: 15.64 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 9.931e-05/0.7569, allocations: 19.97 kB / 1.023 GB, free: 15.62 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 7.111e-05/0.757, allocations: 35.83 kB / 1.023 GB, free: 15.58 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 7.465e-05/0.7571, allocations: 43.84 kB / 1.023 GB, free: 15.54 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.849e-05/0.7571, allocations: 4 kB / 1.023 GB, free: 15.54 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 1.229e-05/0.7571, allocations: 0 / 1.023 GB, free: 15.54 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 2.266e-05/0.7572, allocations: 19.91 kB / 1.023 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 2.586e-05/0.7572, allocations: 33.7 kB / 1.023 GB, free: 15.48 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 8.172e-05/0.7573, allocations: 55.86 kB / 1.023 GB, free: 15.42 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.548e-06/0.7573, allocations: 0 / 1.023 GB, free: 15.42 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.232e-06/0.7573, allocations: 0 / 1.023 GB, free: 15.42 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.657e-06/0.7573, allocations: 0 / 1.023 GB, free: 15.42 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0005322/0.7579, allocations: 391 kB / 1.024 GB, free: 15 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.541e-05/0.7579, allocations: 15.98 kB / 1.024 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.401e-05/0.7579, allocations: 7.906 kB / 1.024 GB, free: 14.97 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001386/0.7581, allocations: 186.8 kB / 1.024 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.521e-05/0.7581, allocations: 0 / 1.024 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.527e-05/0.7581, allocations: 8 kB / 1.024 GB, free: 14.74 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003039/0.7584, allocations: 124.8 kB / 1.024 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.636e-06/0.7585, allocations: 8 kB / 1.024 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.136e-05/0.7585, allocations: 0 / 1.024 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.629e-06/0.7585, allocations: 0 / 1.024 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003575/0.7588, allocations: 131.9 kB / 1.024 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004887/0.7593, allocations: 340.6 kB / 1.025 GB, free: 14.1 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00055/0.7599, allocations: 134.6 kB / 1.025 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001821/0.7601, allocations: 68.75 kB / 1.025 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.635e-05/0.7601, allocations: 7.969 kB / 1.025 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.042e-05/0.7602, allocations: 34.56 kB / 1.025 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=7): time 1.192e-06/0.7602, allocations: 0 / 1.025 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7): time 0.0006367/0.7608, allocations: 209.5 kB / 1.025 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.679e-05/0.7608, allocations: 51.41 kB / 1.025 GB, free: 13.56 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001001/0.761, allocations: 125.8 kB / 1.025 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.268e-05/0.761, allocations: 25.7 kB / 1.025 GB, free: 13.4 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.969e-05/0.7611, allocations: 96.12 kB / 1.025 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.914e-05/0.7611, allocations: 19.66 kB / 1.025 GB, free: 13.28 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.375e-06/0.7611, allocations: 4 kB / 1.025 GB, free: 13.28 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001178/0.7612, allocations: 314.8 kB / 1.026 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001799/0.7614, allocations: 71.88 kB / 1.026 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001657/0.7616, allocations: 51.95 kB / 1.026 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001677/0.7618, allocations: 55.97 kB / 1.026 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.502e-06/0.7618, allocations: 0 / 1.026 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003994/0.7622, allocations: 161.5 kB / 1.026 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.224e-05/0.7622, allocations: 8 kB / 1.026 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.973e-06/0.7622, allocations: 0 / 1.026 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.079e-05/0.7622, allocations: 3.938 kB / 1.026 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001815/0.7624, allocations: 31.97 kB / 1.026 GB, free: 12.58 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.065e-06/0.7624, allocations: 0 / 1.026 GB, free: 12.58 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001086/0.7626, allocations: 15.98 kB / 1.026 GB, free: 12.56 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.511e-05/0.7626, allocations: 7.984 kB / 1.026 GB, free: 12.55 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: 3 (max1.y,reaToInt.y,reaToInt1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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 9.619e-05/0.7627, allocations: 125.7 kB / 1.026 GB, free: 12.42 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.983e-05/0.7627, allocations: 3.906 kB / 1.026 GB, free: 12.42 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004569/0.7632, allocations: 178.5 kB / 1.026 GB, free: 12.24 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.326e-06/0.7632, allocations: 0 / 1.026 GB, free: 12.24 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.063e-06/0.7632, allocations: 3.984 kB / 1.026 GB, free: 12.23 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.876e-06/0.7632, allocations: 0 / 1.026 GB, free: 12.23 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002232/0.7634, allocations: 201.6 kB / 1.026 GB, free: 11.99 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.7634, allocations: 0 / 1.026 GB, free: 11.99 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001548/0.7636, allocations: 31.91 kB / 1.026 GB, free: 11.96 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.936e-06/0.7636, allocations: 4 kB / 1.026 GB, free: 11.95 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.527e-05/0.7636, allocations: 3.984 kB / 1.026 GB, free: 11.95 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.784e-06/0.7636, allocations: 7.938 kB / 1.026 GB, free: 11.94 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.7637, allocations: 80 / 1.026 GB, free: 11.94 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004524/0.7641, allocations: 263.3 kB / 1.027 GB, free: 11.67 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.007e-05/0.7642, allocations: 81.02 kB / 1.027 GB, free: 11.57 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.81e-05/0.7642, allocations: 0 / 1.027 GB, free: 11.57 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001374/0.7643, allocations: 19.98 kB / 1.027 GB, free: 11.55 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.054e-05/0.7644, allocations: 23.97 kB / 1.027 GB, free: 11.53 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.424e-05/0.7644, allocations: 11.98 kB / 1.027 GB, free: 11.52 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.779e-05/0.7645, allocations: 87.28 kB / 1.027 GB, free: 11.43 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.21e-07/0.7645, allocations: 0 / 1.027 GB, free: 11.43 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002384/0.7647, allocations: 19.94 kB / 1.027 GB, free: 11.41 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: 3 (max1.y,reaToInt.y,reaToInt1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * 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.0002023/0.765, allocations: 103.2 kB / 1.027 GB, free: 11.3 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0004221/0.7654, allocations: 119.9 kB / 1.027 GB, free: 11.18 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.7654, allocations: 4 kB / 1.027 GB, free: 11.18 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001989/0.7656, allocations: 75.88 kB / 1.027 GB, free: 11.11 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003283/0.7659, allocations: 12.72 kB / 1.027 GB, free: 11.09 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005008/0.7665, allocations: 219 kB / 1.027 GB, free: 10.84 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002906/0.7668, allocations: 0.6888 MB / 1.028 GB, free: 10.13 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.673e-05/0.7668, allocations: 19.42 kB / 1.028 GB, free: 10.11 MB / 0.7794 GB Notification: Performance of SimCode: time 2.41e-07/0.7668, allocations: 0 / 1.028 GB, free: 10.11 MB / 0.7794 GB Notification: Performance of Templates: time 0.002955/0.7698, allocations: 1.218 MB / 1.029 GB, free: 8.898 MB / 0.7794 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Max.makefile make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Max.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.Integers.Validation.MaxCalcHelperMain.o OMCppBuildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.MaxCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.MaxCalcHelperMain.o] Error 1