Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.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 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.Tan,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|tan1.u|tan1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Tan") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Tan,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|tan1.u|tan1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Tan") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001178/0.001179, 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.001098/0.001098, allocations: 172.5 kB / 16.58 MB, free: 6.387 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.45/1.45, allocations: 223.3 MB / 240.6 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.729/2.729, allocations: 436.7 MB / 0.7113 GB, free: 7.859 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003549/0.000355, allocations: 15.98 kB / 0.8717 GB, free: 4.715 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8199/0.8203, allocations: 153.7 MB / 1.022 GB, free: 1.234 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Tan): time 0.0009491/0.8213, allocations: 398.2 kB / 1.022 GB, free: 0.8516 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001109/0.8224, allocations: 0.7963 MB / 1.023 GB, free: 44 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.777e-05/0.8225, allocations: 4 kB / 1.023 GB, free: 40 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 1.726e-05/0.8225, allocations: 3.938 kB / 1.023 GB, free: 36 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 6.697e-05/0.8226, allocations: 3.984 kB / 1.023 GB, free: 32 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001381/0.8227, allocations: 7.984 kB / 1.023 GB, free: 24 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 7.639e-05/0.8228, allocations: 19.92 kB / 1.023 GB, free: 4 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000111/0.8229, allocations: 8.078 kB / 1.023 GB, free: 15.99 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 6.795e-05/0.823, allocations: 7.938 kB / 1.023 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 5.142e-05/0.8231, allocations: 7.984 kB / 1.023 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.649e-05/0.8231, allocations: 4 kB / 1.023 GB, free: 15.97 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 9.027e-06/0.8231, allocations: 0 / 1.023 GB, free: 15.97 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.445e-05/0.8231, allocations: 4 kB / 1.023 GB, free: 15.97 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 2.776e-05/0.8231, allocations: 37.52 kB / 1.023 GB, free: 15.93 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 5.585e-05/0.8232, allocations: 15.95 kB / 1.023 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.459e-06/0.8232, allocations: 0 / 1.023 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.743e-06/0.8232, allocations: 0 / 1.023 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.177e-06/0.8232, allocations: 4 kB / 1.023 GB, free: 15.91 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004719/0.8237, allocations: 341.4 kB / 1.023 GB, free: 15.53 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.48e-05/0.8238, allocations: 15.97 kB / 1.023 GB, free: 15.51 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.448e-05/0.8238, allocations: 0 / 1.023 GB, free: 15.51 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001448/0.824, allocations: 163.1 kB / 1.024 GB, free: 15.31 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.323e-05/0.824, allocations: 0 / 1.024 GB, free: 15.31 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.086e-05/0.824, allocations: 0 / 1.024 GB, free: 15.31 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001899/0.8242, allocations: 61.62 kB / 1.024 GB, free: 15.25 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.664e-06/0.8242, allocations: 0 / 1.024 GB, free: 15.25 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.185e-05/0.8242, allocations: 0 / 1.024 GB, free: 15.25 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.63e-06/0.8242, allocations: 0 / 1.024 GB, free: 15.25 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001702/0.8244, allocations: 51.89 kB / 1.024 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003803/0.8248, allocations: 252.8 kB / 1.024 GB, free: 14.9 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001441/0.825, allocations: 38.56 kB / 1.024 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.954e-05/0.8251, allocations: 32.91 kB / 1.024 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.325e-05/0.8251, allocations: 3.984 kB / 1.024 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.482e-05/0.8251, allocations: 30.56 kB / 1.024 GB, free: 14.78 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 3.487e-06/0.8251, allocations: 0 / 1.024 GB, free: 14.78 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.0003567/0.8255, allocations: 105.5 kB / 1.024 GB, free: 14.67 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.2e-05/0.8256, allocations: 51.41 kB / 1.024 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.518e-05/0.8257, allocations: 97.86 kB / 1.024 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.931e-05/0.8257, allocations: 29.7 kB / 1.024 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.141e-05/0.8257, allocations: 84.08 kB / 1.024 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.735e-05/0.8258, allocations: 3.906 kB / 1.024 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.926e-06/0.8258, allocations: 4.125 kB / 1.024 GB, free: 14.37 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001285/0.8259, allocations: 322.8 kB / 1.025 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.928e-05/0.826, allocations: 15.98 kB / 1.025 GB, free: 14.03 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.918e-05/0.8261, allocations: 23.98 kB / 1.025 GB, free: 14.01 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.816e-05/0.8262, allocations: 20.05 kB / 1.025 GB, free: 13.99 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.077e-06/0.8262, allocations: 0 / 1.025 GB, free: 13.99 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001945/0.8264, allocations: 81.55 kB / 1.025 GB, free: 13.9 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.113e-05/0.8264, allocations: 12.03 kB / 1.025 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.292e-06/0.8264, allocations: 7.938 kB / 1.025 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.149e-05/0.8264, allocations: 0 / 1.025 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.251e-05/0.8265, allocations: 11.98 kB / 1.025 GB, free: 13.87 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.951e-06/0.8265, allocations: 0 / 1.025 GB, free: 13.87 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.926e-05/0.8266, allocations: 11.98 kB / 1.025 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.332e-06/0.8266, allocations: 0 / 1.025 GB, free: 13.86 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 (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 8.281e-05/0.8267, allocations: 117.8 kB / 1.025 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.709e-05/0.8267, allocations: 8.141 kB / 1.025 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002413/0.827, allocations: 84.7 kB / 1.025 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.33e-06/0.827, allocations: 4 kB / 1.025 GB, free: 13.63 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.827, allocations: 4.031 kB / 1.025 GB, free: 13.63 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.827, allocations: 0 / 1.025 GB, free: 13.63 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001635/0.8272, allocations: 157.7 kB / 1.025 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-06/0.8272, allocations: 0 / 1.025 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.134e-05/0.8273, allocations: 11.98 kB / 1.025 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.719e-06/0.8273, allocations: 3.953 kB / 1.025 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.413e-06/0.8273, allocations: 0 / 1.025 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.913e-06/0.8273, allocations: 0 / 1.025 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.8273, allocations: 4 kB / 1.025 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000234/0.8275, allocations: 171.4 kB / 1.025 GB, free: 13.22 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.999e-05/0.8276, allocations: 81.05 kB / 1.025 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.34e-05/0.8276, allocations: 3.953 kB / 1.025 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.635e-05/0.8277, allocations: 20.02 kB / 1.025 GB, free: 13.1 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.578e-05/0.8277, allocations: 0 / 1.025 GB, free: 13.1 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.116e-06/0.8277, allocations: 0 / 1.025 GB, free: 13.1 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.341e-05/0.8278, allocations: 79.28 kB / 1.026 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8278, allocations: 0 / 1.026 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002133/0.828, allocations: 4 kB / 1.026 GB, free: 13.02 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 (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.0001577/0.8282, allocations: 101.5 kB / 1.026 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.000204/0.8284, allocations: 47.97 kB / 1.026 GB, free: 12.87 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.8284, allocations: 0 / 1.026 GB, free: 12.87 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 8.365e-05/0.8285, allocations: 28.05 kB / 1.026 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002824/0.8288, allocations: 7.984 kB / 1.026 GB, free: 12.83 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003158/0.8291, allocations: 140.2 kB / 1.026 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002693/0.8294, allocations: 0.677 MB / 1.027 GB, free: 11.96 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.025e-05/0.8294, allocations: 11.44 kB / 1.027 GB, free: 11.95 MB / 0.7794 GB Notification: Performance of SimCode: time 2.21e-07/0.8294, allocations: 0 / 1.027 GB, free: 11.95 MB / 0.7794 GB Notification: Performance of Templates: time 0.001838/0.8313, allocations: 0.5368 MB / 1.027 GB, free: 11.41 MB / 0.7794 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Tan.makefile make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.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_latest_Buildings.Controls.OBC.CDL.Reals.Validation.TanCalcHelperMain.o OMCppBuildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.TanCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.TanCalcHelperMain.o] Error 1