Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis.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.Hysteresis,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|hysteresis.u|hysteresis.y|hysteresis1.u|hysteresis1.y|hysteresis2.u|hysteresis2.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|hysteresis.u|hysteresis.y|hysteresis1.u|hysteresis1.y|hysteresis2.u|hysteresis2.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009394/0.0009394, allocations: 100.1 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.001155/0.001154, allocations: 175 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.51/1.51, allocations: 223.2 MB / 240.6 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.872/2.872, allocations: 436.7 MB / 0.7113 GB, free: 7.879 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003483/0.0003484, allocations: 12 kB / 0.8717 GB, free: 4.828 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8762/0.8766, allocations: 153.7 MB / 1.022 GB, free: 1.176 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis): time 0.001101/0.8777, allocations: 0.5486 MB / 1.022 GB, free: 0.6328 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001081/0.8788, allocations: 0.8702 MB / 1.023 GB, free: 15.75 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.33e-05/0.8789, allocations: 4 kB / 1.023 GB, free: 15.75 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 2.622e-05/0.8789, allocations: 7.875 kB / 1.023 GB, free: 15.74 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001034/0.879, allocations: 11.86 kB / 1.023 GB, free: 15.73 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001826/0.8792, allocations: 43.88 kB / 1.023 GB, free: 15.68 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001617/0.8794, allocations: 95.7 kB / 1.023 GB, free: 15.59 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001226/0.8795, allocations: 25.09 kB / 1.023 GB, free: 15.57 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001307/0.8797, allocations: 47.83 kB / 1.023 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 8.812e-05/0.8798, allocations: 47.77 kB / 1.023 GB, free: 15.47 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.373e-05/0.8798, allocations: 4 kB / 1.023 GB, free: 15.47 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 1.702e-05/0.8798, allocations: 11.94 kB / 1.023 GB, free: 15.46 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 3.364e-05/0.8798, allocations: 15.92 kB / 1.023 GB, free: 15.44 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 3.631e-05/0.8799, allocations: 37.64 kB / 1.023 GB, free: 15.4 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.00011/0.88, allocations: 77.78 kB / 1.024 GB, free: 15.32 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 8.366e-06/0.88, allocations: 7.984 kB / 1.024 GB, free: 15.32 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.523e-06/0.88, allocations: 0 / 1.024 GB, free: 15.32 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.217e-06/0.88, allocations: 0 / 1.024 GB, free: 15.32 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.0006949/0.8807, allocations: 438.8 kB / 1.024 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.929e-05/0.8808, allocations: 11.98 kB / 1.024 GB, free: 14.83 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.471e-05/0.8808, allocations: 11.89 kB / 1.024 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00049/0.8813, allocations: 266.7 kB / 1.024 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.118e-05/0.8814, allocations: 8 kB / 1.024 GB, free: 14.51 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.032e-05/0.8814, allocations: 7.953 kB / 1.024 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002746/0.8817, allocations: 128.1 kB / 1.024 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.044e-05/0.8817, allocations: 0 / 1.024 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.299e-05/0.8817, allocations: 0 / 1.024 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.352e-06/0.8817, allocations: 4 kB / 1.024 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002779/0.882, allocations: 95.86 kB / 1.024 GB, free: 14.26 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006584/0.8827, allocations: 0.5049 MB / 1.025 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002485/0.8829, allocations: 119.8 kB / 1.025 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000159/0.8831, allocations: 70.55 kB / 1.025 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.675e-05/0.8832, allocations: 0 / 1.025 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.634e-05/0.8832, allocations: 34.56 kB / 1.025 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=8): time 1.082e-06/0.8832, allocations: 0 / 1.025 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of matching and sorting (n=8): time 0.0006078/0.8838, allocations: 193.7 kB / 1.025 GB, free: 13.24 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.993e-05/0.8839, allocations: 106.8 kB / 1.025 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001266/0.884, allocations: 144.9 kB / 1.026 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.615e-05/0.8841, allocations: 33.69 kB / 1.026 GB, free: 12.92 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 7.519e-05/0.8841, allocations: 104.3 kB / 1.026 GB, free: 12.81 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.395e-05/0.8842, allocations: 23.64 kB / 1.026 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.765e-06/0.8842, allocations: 4 kB / 1.026 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001268/0.8843, allocations: 330.8 kB / 1.026 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001544/0.8845, allocations: 51.95 kB / 1.026 GB, free: 12.4 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001696/0.8847, allocations: 93 kB / 1.026 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001429/0.8848, allocations: 59.91 kB / 1.026 GB, free: 12.23 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.8848, allocations: 0 / 1.026 GB, free: 12.23 MB / 0.7794 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003663/0.8852, allocations: 149.5 kB / 1.026 GB, free: 12.08 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.761e-05/0.8852, allocations: 8 kB / 1.026 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.8852, allocations: 0 / 1.026 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.546e-05/0.8853, allocations: 4 kB / 1.026 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001406/0.8854, allocations: 23.92 kB / 1.026 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.853e-06/0.8854, allocations: 0 / 1.026 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000121/0.8855, allocations: 35.88 kB / 1.026 GB, free: 12.01 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.04e-05/0.8856, allocations: 0 / 1.026 GB, free: 12.01 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.hysteresis.y,hysteresis.y,$PRE.hysteresis1.y,hysteresis1.y,$PRE.hysteresis2.y,hysteresis2.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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.000117/0.8857, allocations: 125.8 kB / 1.027 GB, free: 11.88 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.042e-05/0.8858, allocations: 7.906 kB / 1.027 GB, free: 11.87 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002626/0.886, allocations: 105.8 kB / 1.027 GB, free: 11.76 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/0.886, allocations: 0 / 1.027 GB, free: 11.76 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.082e-06/0.886, allocations: 0 / 1.027 GB, free: 11.76 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.448e-06/0.8861, allocations: 4 kB / 1.027 GB, free: 11.75 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003089/0.8864, allocations: 205.6 kB / 1.027 GB, free: 11.5 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.8864, allocations: 0 / 1.027 GB, free: 11.5 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000104/0.8865, allocations: 19.98 kB / 1.027 GB, free: 11.48 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.444e-06/0.8865, allocations: 0 / 1.027 GB, free: 11.48 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.346e-05/0.8865, allocations: 11.98 kB / 1.027 GB, free: 11.47 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/0.8865, allocations: 4 kB / 1.027 GB, free: 11.47 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.8865, allocations: 0 / 1.027 GB, free: 11.47 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004106/0.887, allocations: 389.8 kB / 1.027 GB, free: 11.07 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.491e-05/0.887, allocations: 85.02 kB / 1.027 GB, free: 10.97 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.736e-05/0.887, allocations: 4 kB / 1.027 GB, free: 10.96 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001923/0.8872, allocations: 27.97 kB / 1.027 GB, free: 10.94 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.306e-05/0.8873, allocations: 19.95 kB / 1.027 GB, free: 10.92 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.935e-06/0.8873, allocations: 4 kB / 1.027 GB, free: 10.91 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 7.591e-05/0.8874, allocations: 111.9 kB / 1.028 GB, free: 10.8 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8874, allocations: 0 / 1.028 GB, free: 10.8 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003051/0.8877, allocations: 16 kB / 1.028 GB, free: 10.79 MB / 0.7794 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 3 (hysteresis.y,hysteresis1.y,hysteresis2.y) * Number of discrete states: 3 (hysteresis2.y,hysteresis1.y,hysteresis.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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.0001532/0.8879, allocations: 115.2 kB / 1.028 GB, free: 10.66 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003454/0.8882, allocations: 116.2 kB / 1.028 GB, free: 10.55 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.8882, allocations: 0 / 1.028 GB, free: 10.55 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001646/0.8884, allocations: 59.95 kB / 1.028 GB, free: 10.49 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004338/0.8889, allocations: 13.67 kB / 1.028 GB, free: 10.48 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004806/0.8894, allocations: 280.9 kB / 1.028 GB, free: 10.16 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002647/0.8896, allocations: 0.708 MB / 1.029 GB, free: 9.43 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.504e-05/0.8897, allocations: 19.42 kB / 1.029 GB, free: 9.41 MB / 0.7794 GB Notification: Performance of SimCode: time 4.91e-07/0.8897, allocations: 3.938 kB / 1.029 GB, free: 9.406 MB / 0.7794 GB Notification: Performance of Templates: time 0.003013/0.8927, allocations: 1.476 MB / 1.03 GB, free: 7.934 MB / 0.7794 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis.makefile make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis.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.HysteresisCalcHelperMain.o OMCppBuildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.HysteresisCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.HysteresisCalcHelperMain.o] Error 1