Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Tan.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.Controls.OBC.CDL.Continuous.Validation.Tan,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|tan1.u|tan1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Tan") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Tan,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|tan1.u|tan1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Tan") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009436/0.0009436, allocations: 100.5 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.001229/0.001229, allocations: 175.3 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.493/1.493, allocations: 223.3 MB / 240.6 MB, free: 5.402 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.465/2.465, allocations: 390.5 MB / 0.6662 GB, free: 2.816 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004079/0.0004079, allocations: 8 kB / 0.8154 GB, free: 14.16 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8648/0.8653, allocations: 142.3 MB / 0.9544 GB, free: 8.141 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Tan): time 0.001222/0.8666, allocations: 391.1 kB / 0.9548 GB, free: 7.848 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001094/0.8677, allocations: 0.8027 MB / 0.9556 GB, free: 7.191 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.907e-05/0.8677, allocations: 0 / 0.9556 GB, free: 7.191 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.926e-05/0.8678, allocations: 3.938 kB / 0.9556 GB, free: 7.188 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 9.66e-05/0.8679, allocations: 5.016 kB / 0.9556 GB, free: 7.184 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.000188/0.8681, allocations: 9.672 kB / 0.9556 GB, free: 7.176 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 8.828e-05/0.8682, allocations: 19.45 kB / 0.9556 GB, free: 7.164 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001145/0.8683, allocations: 2.531 kB / 0.9556 GB, free: 7.164 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 7.536e-05/0.8684, allocations: 11.38 kB / 0.9556 GB, free: 7.156 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.331e-05/0.8685, allocations: 11.36 kB / 0.9556 GB, free: 7.148 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.426e-05/0.8685, allocations: 1.062 kB / 0.9556 GB, free: 7.148 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.163e-05/0.8685, allocations: 1.094 kB / 0.9556 GB, free: 7.148 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.402e-05/0.8685, allocations: 4 kB / 0.9557 GB, free: 7.145 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.195e-05/0.8686, allocations: 26.95 kB / 0.9557 GB, free: 7.113 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 7.548e-05/0.8686, allocations: 15.58 kB / 0.9557 GB, free: 7.102 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 9.317e-06/0.8687, allocations: 0 / 0.9557 GB, free: 7.102 MB / 0.7169 GB Notification: Performance of FrontEnd: time 6.251e-06/0.8687, allocations: 5.094 kB / 0.9557 GB, free: 7.098 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.761e-06/0.8687, allocations: 3.938 kB / 0.9557 GB, free: 7.094 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0005033/0.8692, allocations: 341.8 kB / 0.956 GB, free: 6.73 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.611e-05/0.8693, allocations: 8.625 kB / 0.956 GB, free: 6.73 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.286e-05/0.8693, allocations: 8.969 kB / 0.956 GB, free: 6.723 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001172/0.8694, allocations: 161.2 kB / 0.9562 GB, free: 6.527 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.439e-05/0.8694, allocations: 0 / 0.9562 GB, free: 6.527 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.148e-05/0.8695, allocations: 1.156 kB / 0.9562 GB, free: 6.527 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002141/0.8697, allocations: 58.86 kB / 0.9563 GB, free: 6.48 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.02e-05/0.8697, allocations: 3.938 kB / 0.9563 GB, free: 6.477 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.09e-05/0.8697, allocations: 0 / 0.9563 GB, free: 6.477 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.946e-06/0.8697, allocations: 1.125 kB / 0.9563 GB, free: 6.477 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001736/0.8699, allocations: 47.27 kB / 0.9563 GB, free: 6.457 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003797/0.8703, allocations: 253.6 kB / 0.9565 GB, free: 6.168 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001393/0.8705, allocations: 39.66 kB / 0.9566 GB, free: 6.137 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.515e-05/0.8706, allocations: 32.28 kB / 0.9566 GB, free: 6.117 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.696e-05/0.8706, allocations: 3.984 kB / 0.9566 GB, free: 6.113 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.156e-05/0.8706, allocations: 35.94 kB / 0.9567 GB, free: 6.07 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.011e-06/0.8706, allocations: 0 / 0.9567 GB, free: 6.07 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0003808/0.871, allocations: 110.3 kB / 0.9568 GB, free: 6 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.12e-05/0.8711, allocations: 53.06 kB / 0.9568 GB, free: 5.938 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.434e-05/0.8711, allocations: 98.47 kB / 0.9569 GB, free: 5.836 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.159e-05/0.8711, allocations: 29.7 kB / 0.9569 GB, free: 5.801 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.91e-05/0.8712, allocations: 81.64 kB / 0.957 GB, free: 5.719 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.911e-05/0.8712, allocations: 11.97 kB / 0.957 GB, free: 5.707 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.277e-06/0.8712, allocations: 1.25 kB / 0.957 GB, free: 5.707 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 7.481e-05/0.8713, allocations: 318.8 kB / 0.9573 GB, free: 5.387 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.647e-05/0.8714, allocations: 17.95 kB / 0.9573 GB, free: 5.383 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.797e-05/0.8715, allocations: 23.3 kB / 0.9574 GB, free: 5.375 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.066e-05/0.8715, allocations: 21.23 kB / 0.9574 GB, free: 5.367 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.293e-06/0.8716, allocations: 1.125 kB / 0.9574 GB, free: 5.367 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001852/0.8717, allocations: 81.44 kB / 0.9575 GB, free: 5.312 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.538e-05/0.8718, allocations: 4.75 kB / 0.9575 GB, free: 5.312 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.478e-06/0.8718, allocations: 1.094 kB / 0.9575 GB, free: 5.312 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.23e-05/0.8718, allocations: 0 / 0.9575 GB, free: 5.312 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.463e-05/0.8719, allocations: 17.09 kB / 0.9575 GB, free: 5.305 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.201e-06/0.8719, allocations: 3.938 kB / 0.9575 GB, free: 5.301 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.666e-05/0.872, allocations: 9.766 kB / 0.9575 GB, free: 5.297 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.48e-06/0.872, allocations: 5.156 kB / 0.9575 GB, free: 5.293 MB / 0.7169 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 (2): * Single equations (assignments): 2 * 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 6.939e-05/0.872, allocations: 111.9 kB / 0.9576 GB, free: 5.176 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.109e-05/0.8721, allocations: 1.094 kB / 0.9576 GB, free: 5.176 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002246/0.8723, allocations: 80.03 kB / 0.9577 GB, free: 5.121 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.452e-06/0.8723, allocations: 3.938 kB / 0.9577 GB, free: 5.117 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/0.8723, allocations: 5.016 kB / 0.9577 GB, free: 5.113 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.315e-06/0.8723, allocations: 0 / 0.9577 GB, free: 5.113 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000132/0.8725, allocations: 162.2 kB / 0.9579 GB, free: 4.91 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.21e-07/0.8725, allocations: 0 / 0.9579 GB, free: 4.91 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.589e-05/0.8725, allocations: 12.73 kB / 0.9579 GB, free: 4.906 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.945e-06/0.8725, allocations: 0.9375 kB / 0.9579 GB, free: 4.906 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.133e-06/0.8726, allocations: 0 / 0.9579 GB, free: 4.906 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.983e-06/0.8726, allocations: 1 kB / 0.9579 GB, free: 4.906 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.8726, allocations: 7.969 kB / 0.9579 GB, free: 4.898 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002184/0.8728, allocations: 173.4 kB / 0.958 GB, free: 4.746 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.464e-05/0.8728, allocations: 81.14 kB / 0.9581 GB, free: 4.648 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.395e-05/0.8728, allocations: 1.438 kB / 0.9581 GB, free: 4.648 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.341e-05/0.8729, allocations: 13.55 kB / 0.9581 GB, free: 4.641 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.556e-05/0.873, allocations: 0.9688 kB / 0.9581 GB, free: 4.641 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.615e-06/0.873, allocations: 1.312 kB / 0.9581 GB, free: 4.641 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.997e-05/0.873, allocations: 78.78 kB / 0.9582 GB, free: 4.566 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.873, allocations: 3.938 kB / 0.9582 GB, free: 4.562 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002048/0.8732, allocations: 7.047 kB / 0.9582 GB, free: 4.559 MB / 0.7169 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 (2): * Single equations (assignments): 2 * 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.0001663/0.8734, allocations: 105.4 kB / 0.9583 GB, free: 4.465 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002179/0.8736, allocations: 43.47 kB / 0.9584 GB, free: 4.453 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.8736, allocations: 0 / 0.9584 GB, free: 4.453 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 8.329e-05/0.8737, allocations: 28.98 kB / 0.9584 GB, free: 4.441 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002948/0.874, allocations: 10.33 kB / 0.9584 GB, free: 4.434 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002803/0.8743, allocations: 131.9 kB / 0.9585 GB, free: 4.285 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001413/0.8745, allocations: 0.6767 MB / 0.9592 GB, free: 3.586 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.615e-05/0.8745, allocations: 12.56 kB / 0.9592 GB, free: 3.574 MB / 0.7169 GB Notification: Performance of SimCode: time 2.51e-07/0.8745, allocations: 4.062 kB / 0.9592 GB, free: 3.57 MB / 0.7169 GB Notification: Performance of Templates: time 0.002097/0.8766, allocations: 0.5314 MB / 0.9597 GB, free: 3.309 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Tan.makefile make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Tan.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_9_Buildings.Controls.OBC.CDL.Continuous.Validation.TanCalcHelperMain.o OMCppBuildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.TanCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.TanCalcHelperMain.o] Error 1