Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Discrete.Validation.UnitDelay.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.Discrete.Validation.UnitDelay,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|unitDelay1.u|unitDelay1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Discrete.Validation.UnitDelay") translateModel(Buildings.Controls.OBC.CDL.Discrete.Validation.UnitDelay,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|unitDelay1.u|unitDelay1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Discrete.Validation.UnitDelay") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009909/0.0009909, allocations: 102.6 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.001409/0.001409, allocations: 176.2 kB / 16.58 MB, free: 6.863 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.515/1.515, allocations: 223.2 MB / 240.6 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.86/2.86, allocations: 436.7 MB / 0.7113 GB, free: 7.891 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003584/0.0003584, allocations: 12 kB / 0.8717 GB, free: 4.77 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8371/0.8375, allocations: 153.7 MB / 1.022 GB, free: 1.141 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Discrete.Validation.UnitDelay): time 0.0009088/0.8384, allocations: 388.9 kB / 1.022 GB, free: 0.7656 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001252/0.8397, allocations: 1.039 MB / 1.023 GB, free: 15.71 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.737e-05/0.8397, allocations: 4 kB / 1.023 GB, free: 15.71 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.481e-05/0.8398, allocations: 0 / 1.023 GB, free: 15.71 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 6.844e-05/0.8398, allocations: 7.938 kB / 1.023 GB, free: 15.7 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002345/0.8401, allocations: 27.92 kB / 1.023 GB, free: 15.67 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 7.64e-05/0.8402, allocations: 39.91 kB / 1.023 GB, free: 15.63 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 8.893e-05/0.8403, allocations: 7.984 kB / 1.023 GB, free: 15.62 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 6.319e-05/0.8403, allocations: 15.92 kB / 1.023 GB, free: 15.61 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 5.271e-05/0.8404, allocations: 15.92 kB / 1.023 GB, free: 15.59 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.202e-05/0.8404, allocations: 0 / 1.023 GB, free: 15.59 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 5.97e-05/0.8405, allocations: 19.98 kB / 1.023 GB, free: 15.57 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.717e-05/0.8405, allocations: 11.92 kB / 1.023 GB, free: 15.56 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 3.522e-05/0.8406, allocations: 29.7 kB / 1.023 GB, free: 15.53 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 8.376e-05/0.8406, allocations: 31.92 kB / 1.023 GB, free: 15.5 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.98e-06/0.8407, allocations: 0 / 1.023 GB, free: 15.5 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.804e-06/0.8407, allocations: 3.938 kB / 1.023 GB, free: 15.49 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.386e-06/0.8407, allocations: 4 kB / 1.023 GB, free: 15.49 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004972/0.8412, allocations: 359.5 kB / 1.024 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.976e-05/0.8412, allocations: 11.98 kB / 1.024 GB, free: 15.08 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.618e-05/0.8413, allocations: 7.906 kB / 1.024 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001211/0.8414, allocations: 159.1 kB / 1.024 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.891e-05/0.8414, allocations: 11.92 kB / 1.024 GB, free: 14.87 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.505e-05/0.8414, allocations: 4 kB / 1.024 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000204/0.8416, allocations: 61.62 kB / 1.024 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.515e-06/0.8417, allocations: 4 kB / 1.024 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.246e-05/0.8417, allocations: 4 kB / 1.024 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.8417, allocations: 0 / 1.024 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001854/0.8419, allocations: 51.95 kB / 1.024 GB, free: 14.74 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004792/0.8424, allocations: 284.8 kB / 1.024 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001341/0.8425, allocations: 54.48 kB / 1.024 GB, free: 14.35 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.473e-05/0.8426, allocations: 32.94 kB / 1.024 GB, free: 14.31 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.389e-05/0.8426, allocations: 0 / 1.024 GB, free: 14.31 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001928/0.8428, allocations: 79.31 kB / 1.024 GB, free: 14.22 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=5): time 1.213e-06/0.8429, allocations: 0 / 1.024 GB, free: 14.22 MB / 0.7794 GB Notification: Performance of matching and sorting (n=5): time 0.0003801/0.8432, allocations: 121.6 kB / 1.025 GB, free: 14.1 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.298e-05/0.8433, allocations: 51.41 kB / 1.025 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.62e-05/0.8434, allocations: 105.8 kB / 1.025 GB, free: 13.92 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.284e-05/0.8434, allocations: 33.7 kB / 1.025 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.675e-05/0.8435, allocations: 92.06 kB / 1.025 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.157e-05/0.8435, allocations: 15.81 kB / 1.025 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.89e-06/0.8435, allocations: 0 / 1.025 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.000133/0.8437, allocations: 314.8 kB / 1.025 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.456e-05/0.8438, allocations: 23.97 kB / 1.025 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001061/0.8439, allocations: 59.41 kB / 1.025 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.943e-05/0.844, allocations: 31.94 kB / 1.025 GB, free: 13.33 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.844, allocations: 0 / 1.025 GB, free: 13.33 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002377/0.8442, allocations: 117.4 kB / 1.025 GB, free: 13.21 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.497e-05/0.8442, allocations: 4 kB / 1.025 GB, free: 13.21 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.995e-06/0.8443, allocations: 3.984 kB / 1.025 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.491e-05/0.8443, allocations: 4.125 kB / 1.025 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001077/0.8444, allocations: 19.98 kB / 1.025 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.783e-06/0.8444, allocations: 0 / 1.025 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.209e-05/0.8445, allocations: 8 kB / 1.025 GB, free: 13.17 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.418e-05/0.8445, allocations: 8 kB / 1.025 GB, free: 13.16 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 4 ($PRE.unitDelay1.y,unitDelay1.y,$whenCondition1,unitDelay1.sampleTrigger) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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 9.12e-05/0.8446, allocations: 121.7 kB / 1.025 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.328e-06/0.8446, allocations: 4 kB / 1.025 GB, free: 13.03 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002561/0.8449, allocations: 101.6 kB / 1.026 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.275e-06/0.8449, allocations: 0 / 1.026 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/0.8449, allocations: 4 kB / 1.026 GB, free: 12.92 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.683e-06/0.8449, allocations: 3.984 kB / 1.026 GB, free: 12.92 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004028/0.8453, allocations: 358.3 kB / 1.026 GB, free: 12.51 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-06/0.8453, allocations: 0 / 1.026 GB, free: 12.51 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.533e-05/0.8454, allocations: 11.98 kB / 1.026 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.8454, allocations: 0 / 1.026 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.393e-06/0.8454, allocations: 4 kB / 1.026 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.8454, allocations: 0.8438 kB / 1.026 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.8454, allocations: 0 / 1.026 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002688/0.8457, allocations: 199.4 kB / 1.026 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.066e-05/0.8458, allocations: 92.95 kB / 1.026 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.848e-05/0.8458, allocations: 3.984 kB / 1.026 GB, free: 12.17 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.712e-05/0.8459, allocations: 8 kB / 1.026 GB, free: 12.16 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.265e-05/0.8459, allocations: 7.984 kB / 1.026 GB, free: 12.16 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.68e-06/0.8459, allocations: 0 / 1.026 GB, free: 12.16 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.311e-05/0.846, allocations: 87.27 kB / 1.026 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.21e-07/0.846, allocations: 0 / 1.026 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002408/0.8462, allocations: 12 kB / 1.026 GB, free: 12.06 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: 3 (unitDelay1.sampleTrigger,$whenCondition1,unitDelay1.y) * Number of discrete states: 1 (unitDelay1.u) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0001658/0.8464, allocations: 113.5 kB / 1.026 GB, free: 11.94 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002339/0.8466, allocations: 63.89 kB / 1.027 GB, free: 11.88 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.8467, allocations: 256 / 1.027 GB, free: 11.88 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001/0.8468, allocations: 35.98 kB / 1.027 GB, free: 11.84 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002717/0.8471, allocations: 15.94 kB / 1.027 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003219/0.8474, allocations: 164.6 kB / 1.027 GB, free: 11.64 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002581/0.8477, allocations: 0.6848 MB / 1.027 GB, free: 10.93 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.688e-05/0.8477, allocations: 11.38 kB / 1.027 GB, free: 10.91 MB / 0.7794 GB Notification: Performance of SimCode: time 3.31e-07/0.8477, allocations: 0 / 1.027 GB, free: 10.91 MB / 0.7794 GB Notification: Performance of Templates: time 0.002591/0.8503, allocations: 0.8159 MB / 1.028 GB, free: 10.11 MB / 0.7794 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Discrete.Validation.UnitDelay.makefile make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Discrete.Validation.UnitDelay.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.Discrete.Validation.UnitDelayCalcHelperMain.o OMCppBuildings_latest_Buildings.Controls.OBC.CDL.Discrete.Validation.UnitDelayCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_latest_Buildings.Controls.OBC.CDL.Discrete.Validation.UnitDelayCalcHelperMain.o] Error 1