Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.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.Logical.Validation.OnOffController,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|onOffController.reference|onOffController.u|onOffController.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|onOffController.reference|onOffController.u|onOffController.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008417/0.0008417, allocations: 99.36 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.0009889/0.0009894, allocations: 180.7 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.473/1.473, allocations: 223.2 MB / 240.6 MB, free: 5.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.823/2.823, allocations: 436.7 MB / 0.7113 GB, free: 7.859 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003906/0.0003906, allocations: 12.22 kB / 0.8717 GB, free: 4.805 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7574/0.7578, allocations: 153.7 MB / 1.022 GB, free: 1.242 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController): time 0.001037/0.7589, allocations: 442.2 kB / 1.022 GB, free: 0.8125 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001458/0.7603, allocations: 0.8235 MB / 1.023 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.664e-05/0.7604, allocations: 0 / 1.023 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 2.577e-05/0.7605, allocations: 7.922 kB / 1.023 GB, free: 15.97 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 8.13e-05/0.7605, allocations: 3.938 kB / 1.023 GB, free: 15.96 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002012/0.7608, allocations: 15.98 kB / 1.023 GB, free: 15.95 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001086/0.7609, allocations: 39.86 kB / 1.023 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001326/0.761, allocations: 19.95 kB / 1.023 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 7.564e-05/0.7611, allocations: 11.94 kB / 1.023 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 6.524e-05/0.7612, allocations: 15.92 kB / 1.023 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.834e-05/0.7612, allocations: 0 / 1.023 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 1.681e-05/0.7612, allocations: 4 kB / 1.023 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 2.018e-05/0.7613, allocations: 7.984 kB / 1.023 GB, free: 15.85 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 3.319e-05/0.7613, allocations: 25.7 kB / 1.023 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 9.218e-05/0.7614, allocations: 39.92 kB / 1.023 GB, free: 15.78 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.7614, allocations: 0 / 1.023 GB, free: 15.78 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.263e-06/0.7614, allocations: 0 / 1.023 GB, free: 15.78 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 6.352e-06/0.7615, allocations: 0 / 1.023 GB, free: 15.78 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0007855/0.7622, allocations: 393.1 kB / 1.024 GB, free: 15.35 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 5.035e-05/0.7623, allocations: 11.98 kB / 1.024 GB, free: 15.34 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.177e-05/0.7624, allocations: 7.906 kB / 1.024 GB, free: 15.33 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001624/0.7625, allocations: 163.1 kB / 1.024 GB, free: 15.13 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.719e-05/0.7625, allocations: 8 kB / 1.024 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.498e-05/0.7626, allocations: 0 / 1.024 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002677/0.7629, allocations: 73.62 kB / 1.024 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.616e-06/0.7629, allocations: 0 / 1.024 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.236e-05/0.7629, allocations: 0 / 1.024 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.951e-06/0.7629, allocations: 0 / 1.024 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002583/0.7632, allocations: 63.89 kB / 1.024 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006634/0.7638, allocations: 296.7 kB / 1.024 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003135/0.7642, allocations: 58.55 kB / 1.024 GB, free: 14.58 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001393/0.7643, allocations: 32.98 kB / 1.024 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.165e-05/0.7644, allocations: 4 kB / 1.024 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.043e-05/0.7644, allocations: 38.5 kB / 1.024 GB, free: 14.49 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=3): time 3.136e-06/0.7644, allocations: 0 / 1.024 GB, free: 14.49 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3): time 0.0004841/0.7649, allocations: 113.6 kB / 1.024 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.478e-05/0.765, allocations: 51.41 kB / 1.024 GB, free: 14.31 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001205/0.7651, allocations: 113.8 kB / 1.025 GB, free: 14.19 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.276e-05/0.7651, allocations: 29.7 kB / 1.025 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 7.698e-05/0.7652, allocations: 95.97 kB / 1.025 GB, free: 14.06 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.308e-05/0.7653, allocations: 11.97 kB / 1.025 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.561e-06/0.7653, allocations: 0 / 1.025 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001545/0.7654, allocations: 318.8 kB / 1.025 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001274/0.7656, allocations: 35.91 kB / 1.025 GB, free: 13.69 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000109/0.7657, allocations: 23.98 kB / 1.025 GB, free: 13.67 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001117/0.7658, allocations: 19.98 kB / 1.025 GB, free: 13.65 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.7658, allocations: 4 kB / 1.025 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0003006/0.7661, allocations: 89.64 kB / 1.025 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.225e-05/0.7662, allocations: 4 kB / 1.025 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.993e-06/0.7662, allocations: 0 / 1.025 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.453e-05/0.7662, allocations: 0 / 1.025 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.178e-05/0.7663, allocations: 16 kB / 1.025 GB, free: 13.53 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.424e-06/0.7663, allocations: 0 / 1.025 GB, free: 13.53 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001391/0.7665, allocations: 27.88 kB / 1.025 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.837e-06/0.7665, allocations: 0 / 1.025 GB, free: 13.5 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: 2 ($PRE.onOffController.y,onOffController.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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.0001424/0.7666, allocations: 117.7 kB / 1.025 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.808e-05/0.7667, allocations: 8 kB / 1.025 GB, free: 13.37 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003668/0.7671, allocations: 93.86 kB / 1.025 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.038e-06/0.7671, allocations: 0 / 1.025 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.453e-05/0.7671, allocations: 8 kB / 1.025 GB, free: 13.26 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.709e-06/0.7671, allocations: 0 / 1.025 GB, free: 13.26 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003115/0.7674, allocations: 177.6 kB / 1.026 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.7674, allocations: 0 / 1.026 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.49e-05/0.7675, allocations: 8 kB / 1.026 GB, free: 13.03 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.973e-06/0.7675, allocations: 0 / 1.026 GB, free: 13.03 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.392e-05/0.7676, allocations: 3.984 kB / 1.026 GB, free: 13.03 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.7676, allocations: 0 / 1.026 GB, free: 13.03 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.7676, allocations: 0 / 1.026 GB, free: 13.03 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003828/0.768, allocations: 183.4 kB / 1.026 GB, free: 12.83 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 8.609e-05/0.7681, allocations: 85.06 kB / 1.026 GB, free: 12.73 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.209e-05/0.7681, allocations: 3.938 kB / 1.026 GB, free: 12.73 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001969/0.7683, allocations: 27.97 kB / 1.026 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.225e-05/0.7684, allocations: 7.984 kB / 1.026 GB, free: 12.69 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.51e-06/0.7684, allocations: 0 / 1.026 GB, free: 12.69 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 8.49e-05/0.7685, allocations: 91.59 kB / 1.026 GB, free: 12.6 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.71e-07/0.7685, allocations: 0 / 1.026 GB, free: 12.6 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003845/0.7689, allocations: 8 kB / 1.026 GB, free: 12.59 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: 1 (onOffController.y) * Number of discrete states: 1 (onOffController.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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.0002137/0.7691, allocations: 99.23 kB / 1.026 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002992/0.7694, allocations: 67.89 kB / 1.026 GB, free: 12.42 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.7694, allocations: 0 / 1.026 GB, free: 12.42 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001286/0.7696, allocations: 23.98 kB / 1.026 GB, free: 12.39 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005139/0.7701, allocations: 22.25 kB / 1.026 GB, free: 12.38 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004715/0.7706, allocations: 164.3 kB / 1.026 GB, free: 12.19 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003532/0.771, allocations: 0.6809 MB / 1.027 GB, free: 11.48 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.997e-05/0.771, allocations: 11.44 kB / 1.027 GB, free: 11.47 MB / 0.7794 GB Notification: Performance of SimCode: time 3.21e-07/0.771, allocations: 0 / 1.027 GB, free: 11.47 MB / 0.7794 GB Notification: Performance of Templates: time 0.003384/0.7744, allocations: 0.7716 MB / 1.028 GB, free: 10.7 MB / 0.7794 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.makefile make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.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.Logical.Validation.OnOffControllerCalcHelperMain.o OMCppBuildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffControllerCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffControllerCalcHelperMain.o] Error 1