Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative.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.Derivative,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|der1.y|intWitRes.u|der2.y|der1.T",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Derivative,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|der1.y|intWitRes.u|der2.y|der1.T",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009275/0.0009276, 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.001145/0.001145, allocations: 180.3 kB / 16.58 MB, free: 6.879 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.467/1.467, allocations: 223.3 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.749/2.749, allocations: 436.7 MB / 0.7113 GB, free: 7.879 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003478/0.0003479, allocations: 12 kB / 0.8717 GB, free: 4.746 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6965/0.6968, allocations: 153.7 MB / 1.022 GB, free: 1.098 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Derivative): time 0.001307/0.6982, allocations: 0.7363 MB / 1.022 GB, free: 372 kB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.00122/0.6994, allocations: 0.9793 MB / 1.023 GB, free: 15.37 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001108/0.6996, allocations: 4 kB / 1.023 GB, free: 15.37 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0001268/0.6997, allocations: 19.8 kB / 1.023 GB, free: 15.35 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 4.394e-05/0.6998, allocations: 3.938 kB / 1.023 GB, free: 15.34 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002598/0.7, allocations: 63.86 kB / 1.024 GB, free: 15.28 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.000183/0.7002, allocations: 152.1 kB / 1.024 GB, free: 15.13 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001614/0.7004, allocations: 74.5 kB / 1.024 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 8.649e-05/0.7005, allocations: 43.78 kB / 1.024 GB, free: 15.01 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 8.82e-05/0.7006, allocations: 55.7 kB / 1.024 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.447e-05/0.7006, allocations: 8 kB / 1.024 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 1.821e-05/0.7006, allocations: 4 kB / 1.024 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 3.932e-05/0.7007, allocations: 35.83 kB / 1.024 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 4.319e-05/0.7007, allocations: 45.64 kB / 1.024 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001452/0.7009, allocations: 125.7 kB / 1.024 GB, free: 14.74 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.581e-06/0.7009, allocations: 0 / 1.024 GB, free: 14.74 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.793e-06/0.7009, allocations: 4 kB / 1.024 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.729e-06/0.7009, allocations: 0 / 1.024 GB, free: 14.73 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: 36 * Number of variables: 36 Notification: Performance of Generate backend data structure: time 0.0007509/0.7017, allocations: 458.8 kB / 1.024 GB, free: 14.24 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.085e-05/0.7017, allocations: 11.98 kB / 1.024 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.011e-05/0.7018, allocations: 19.81 kB / 1.025 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002664/0.702, allocations: 216.4 kB / 1.025 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.128e-05/0.7021, allocations: 16 kB / 1.025 GB, free: 13.94 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.074e-05/0.7021, allocations: 23.84 kB / 1.025 GB, free: 13.92 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003134/0.7024, allocations: 153.5 kB / 1.025 GB, free: 13.76 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.601e-05/0.7025, allocations: 8 kB / 1.025 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.133e-05/0.7025, allocations: 4 kB / 1.025 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.156e-06/0.7025, allocations: 4 kB / 1.025 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002763/0.7028, allocations: 119.8 kB / 1.025 GB, free: 13.63 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001059/0.7039, allocations: 0.543 MB / 1.026 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000363/0.7042, allocations: 146.7 kB / 1.026 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000171/0.7044, allocations: 88.8 kB / 1.026 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.669e-05/0.7045, allocations: 4 kB / 1.026 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002842/0.7047, allocations: 131.3 kB / 1.026 GB, free: 12.65 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=19): time 1.633e-06/0.7048, allocations: 0 / 1.026 GB, free: 12.65 MB / 0.7794 GB Notification: Performance of matching and sorting (n=19): time 0.0005402/0.7053, allocations: 247.4 kB / 1.026 GB, free: 12.4 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.372e-05/0.7054, allocations: 55.41 kB / 1.026 GB, free: 12.34 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001362/0.7055, allocations: 161.6 kB / 1.026 GB, free: 12.17 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.064e-05/0.7055, allocations: 37.69 kB / 1.026 GB, free: 12.13 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 7.561e-05/0.7056, allocations: 116.4 kB / 1.026 GB, free: 12.01 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 4.935e-05/0.7057, allocations: 55.17 kB / 1.027 GB, free: 11.96 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.106e-05/0.7057, allocations: 4 kB / 1.027 GB, free: 11.95 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001234/0.7058, allocations: 334.8 kB / 1.027 GB, free: 11.62 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001938/0.706, allocations: 75.83 kB / 1.027 GB, free: 11.54 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002056/0.7062, allocations: 95.47 kB / 1.027 GB, free: 11.45 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001941/0.7064, allocations: 75.73 kB / 1.027 GB, free: 11.38 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.7064, allocations: 0 / 1.027 GB, free: 11.38 MB / 0.7794 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004522/0.7069, allocations: 219.4 kB / 1.027 GB, free: 11.16 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.61e-05/0.7069, allocations: 8.031 kB / 1.027 GB, free: 11.15 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.635e-06/0.7069, allocations: 7.984 kB / 1.027 GB, free: 11.14 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.259e-05/0.707, allocations: 0 / 1.027 GB, free: 11.14 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001896/0.7072, allocations: 43.92 kB / 1.027 GB, free: 11.1 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.203e-06/0.7072, allocations: 0 / 1.027 GB, free: 11.1 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001324/0.7073, allocations: 35.81 kB / 1.027 GB, free: 11.06 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.728e-05/0.7073, allocations: 7.984 kB / 1.027 GB, free: 11.05 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$PRE.lesThr.lesHys.y,lesThr.lesHys.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 23 * 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.0001105/0.7075, allocations: 133.8 kB / 1.028 GB, free: 10.91 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.312e-05/0.7075, allocations: 19.75 kB / 1.028 GB, free: 10.89 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004213/0.7079, allocations: 204.2 kB / 1.028 GB, free: 10.69 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.562e-06/0.7079, allocations: 4 kB / 1.028 GB, free: 10.68 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.509e-06/0.7079, allocations: 0 / 1.028 GB, free: 10.68 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.709e-06/0.7079, allocations: 0 / 1.028 GB, free: 10.68 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007961/0.7087, allocations: 0.6073 MB / 1.028 GB, free: 10 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.501e-06/0.7088, allocations: 4 kB / 1.028 GB, free: 10 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001684/0.7089, allocations: 40.11 kB / 1.028 GB, free: 9.961 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.1e-06/0.709, allocations: 4 kB / 1.028 GB, free: 9.957 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.996e-05/0.709, allocations: 7.984 kB / 1.028 GB, free: 9.949 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.197e-06/0.709, allocations: 4 kB / 1.028 GB, free: 9.945 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.709, allocations: 0 / 1.028 GB, free: 9.945 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005461/0.7095, allocations: 400.3 kB / 1.029 GB, free: 9.52 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.435e-05/0.7096, allocations: 92.86 kB / 1.029 GB, free: 9.41 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.077e-05/0.7096, allocations: 12.03 kB / 1.029 GB, free: 9.398 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00015/0.7098, allocations: 23.98 kB / 1.029 GB, free: 9.375 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.1e-05/0.7099, allocations: 19.97 kB / 1.029 GB, free: 9.355 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.406e-05/0.7099, allocations: 11.94 kB / 1.029 GB, free: 9.344 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 9.383e-05/0.71, allocations: 127.2 kB / 1.029 GB, free: 9.219 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1e-07/0.71, allocations: 0 / 1.029 GB, free: 9.219 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002722/0.7103, allocations: 31.94 kB / 1.029 GB, free: 9.188 MB / 0.7794 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (der1.x,intWitRes.y,der2.x) * Number of discrete variables: 2 ($whenCondition1,lesThr.lesHys.y) * Number of discrete states: 1 (lesThr.lesHys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 19 * 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.0001553/0.7104, allocations: 107.2 kB / 1.029 GB, free: 9.074 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003999/0.7109, allocations: 173.4 kB / 1.029 GB, free: 8.906 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/0.7109, allocations: 0 / 1.029 GB, free: 8.906 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001834/0.7111, allocations: 87.84 kB / 1.029 GB, free: 8.82 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003542/0.7114, allocations: 28.42 kB / 1.029 GB, free: 8.793 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006785/0.7121, allocations: 453 kB / 1.03 GB, free: 8.293 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002915/0.7124, allocations: 0.7285 MB / 1.031 GB, free: 7.539 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.831e-05/0.7125, allocations: 15.44 kB / 1.031 GB, free: 7.523 MB / 0.7794 GB Notification: Performance of SimCode: time 4.81e-07/0.7125, allocations: 0 / 1.031 GB, free: 7.523 MB / 0.7794 GB Notification: Performance of Templates: time 0.003635/0.7161, allocations: 1.924 MB / 1.033 GB, free: 5.605 MB / 0.7794 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative.makefile make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative.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.DerivativeCalcHelperMain.o OMCppBuildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.DerivativeCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.DerivativeCalcHelperMain.o] Error 1