Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Controls.Discrete.Examples.BooleanDelay.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Controls.Discrete.Examples.BooleanDelay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Controls.Discrete.Examples.BooleanDelay") translateModel(BuildingSystems.Controls.Discrete.Examples.BooleanDelay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Controls.Discrete.Examples.BooleanDelay") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001256/0.001256, allocations: 100.1 kB / 15.88 MB, free: 12 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.001136/0.001136, allocations: 196.7 kB / 16.79 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.401/1.401, allocations: 222.9 MB / 240.5 MB, free: 4.457 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002289/0.00229, allocations: 274.8 kB / 290.9 MB, free: 2.078 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9609/0.9609, allocations: 169.2 MB / 0.4984 GB, free: 14.1 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001661/0.001661, allocations: 93.19 kB / 0.5951 GB, free: 28.35 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1917/0.1934, allocations: 86.99 MB / 0.6801 GB, free: 1.168 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Controls.Discrete.Examples.BooleanDelay): time 0.002735/0.1961, allocations: 1.479 MB / 0.6815 GB, free: 15.68 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007159/0.1969, allocations: 427.6 kB / 0.6819 GB, free: 15.26 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.423e-05/0.1969, allocations: 0 / 0.6819 GB, free: 15.26 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3.206e-05/0.197, allocations: 0 / 0.6819 GB, free: 15.26 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 8.85e-05/0.1971, allocations: 11.92 kB / 0.6819 GB, free: 15.25 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001563/0.1972, allocations: 23.92 kB / 0.682 GB, free: 15.23 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 7.867e-05/0.1973, allocations: 39.86 kB / 0.682 GB, free: 15.19 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.598e-05/0.1974, allocations: 15.98 kB / 0.682 GB, free: 15.17 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.535e-05/0.1975, allocations: 15.92 kB / 0.682 GB, free: 15.16 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.811e-05/0.1976, allocations: 23.91 kB / 0.682 GB, free: 15.13 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.756e-05/0.1976, allocations: 0 / 0.682 GB, free: 15.13 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.433e-05/0.1976, allocations: 4 kB / 0.6821 GB, free: 15.13 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.565e-05/0.1976, allocations: 7.938 kB / 0.6821 GB, free: 15.12 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 5.958e-05/0.1977, allocations: 27.8 kB / 0.6821 GB, free: 15.09 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 7.658e-05/0.1978, allocations: 24.19 kB / 0.6821 GB, free: 15.07 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.1978, allocations: 0 / 0.6821 GB, free: 15.07 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.1978, allocations: 0 / 0.6821 GB, free: 15.07 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.699e-06/0.1978, allocations: 4 kB / 0.6821 GB, free: 15.07 MB / 494.1 MB 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.0005895/0.1984, allocations: 397.1 kB / 0.6825 GB, free: 14.62 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.986e-05/0.1985, allocations: 8.031 kB / 0.6825 GB, free: 14.62 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.762e-05/0.1985, allocations: 12.78 kB / 0.6825 GB, free: 14.61 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001295/0.1986, allocations: 168.4 kB / 0.6827 GB, free: 14.4 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.18e-05/0.1987, allocations: 4.375 kB / 0.6827 GB, free: 14.4 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.526e-05/0.1987, allocations: 4.375 kB / 0.6827 GB, free: 14.39 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001309/0.1988, allocations: 54 kB / 0.6827 GB, free: 14.34 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.003e-05/0.1988, allocations: 3.984 kB / 0.6827 GB, free: 14.33 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.351e-05/0.1989, allocations: 4 kB / 0.6827 GB, free: 14.33 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.139e-06/0.1989, allocations: 0 / 0.6827 GB, free: 14.33 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.574e-05/0.1989, allocations: 19.94 kB / 0.6828 GB, free: 14.31 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004012/0.1993, allocations: 268.8 kB / 0.683 GB, free: 14 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.456e-05/0.1994, allocations: 42.56 kB / 0.6831 GB, free: 13.95 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.825e-05/0.1995, allocations: 24.97 kB / 0.6831 GB, free: 13.92 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.126e-05/0.1995, allocations: 7.984 kB / 0.6831 GB, free: 13.91 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001621/0.1997, allocations: 97.03 kB / 0.6832 GB, free: 13.8 MB / 494.1 MB Notification: Performance of pre-optimization done (n=9): time 1.463e-06/0.1997, allocations: 0 / 0.6832 GB, free: 13.8 MB / 494.1 MB Notification: Performance of matching and sorting (n=9): time 0.0002894/0.2, allocations: 143.3 kB / 0.6833 GB, free: 13.64 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.188e-05/0.2, allocations: 85.11 kB / 0.6834 GB, free: 13.54 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.92e-05/0.2001, allocations: 113.9 kB / 0.6835 GB, free: 13.42 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.628e-05/0.2002, allocations: 33.7 kB / 0.6835 GB, free: 13.38 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.582e-05/0.2002, allocations: 84.12 kB / 0.6836 GB, free: 13.3 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.095e-05/0.2002, allocations: 19.75 kB / 0.6836 GB, free: 13.28 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.008e-05/0.2003, allocations: 21.72 kB / 0.6837 GB, free: 13.25 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001329/0.2004, allocations: 326.8 kB / 0.684 GB, free: 12.92 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.391e-05/0.2005, allocations: 15.98 kB / 0.684 GB, free: 12.91 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.638e-05/0.2005, allocations: 38.86 kB / 0.684 GB, free: 12.86 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001072/0.2006, allocations: 110 kB / 0.6841 GB, free: 12.73 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.2006, allocations: 7.938 kB / 0.6841 GB, free: 12.72 MB / 494.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000152/0.2008, allocations: 127.2 kB / 0.6843 GB, free: 12.59 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.625e-05/0.2008, allocations: 39.88 kB / 0.6843 GB, free: 12.54 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.079e-06/0.2009, allocations: 0 / 0.6843 GB, free: 12.54 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.172e-05/0.2009, allocations: 4.062 kB / 0.6843 GB, free: 12.54 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.298e-05/0.2009, allocations: 4 kB / 0.6843 GB, free: 12.54 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.384e-06/0.2009, allocations: 0 / 0.6843 GB, free: 12.54 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.864e-05/0.201, allocations: 7.938 kB / 0.6843 GB, free: 12.53 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.737e-06/0.201, allocations: 7.984 kB / 0.6843 GB, free: 12.52 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 11 (del.firstTrigger,$PRE.del.firstTrigger,$whenCondition2,booleanPulse.pulseStart,$PRE.booleanPulse.pulseStart,booleanPulse.y,del.ySample,del.sampleTrigger,del.y,$whenCondition3,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00012/0.2011, allocations: 161.4 kB / 0.6845 GB, free: 12.35 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.747e-05/0.2012, allocations: 7.906 kB / 0.6845 GB, free: 12.34 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.569e-05/0.2012, allocations: 4.375 kB / 0.6845 GB, free: 12.34 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.283e-06/0.2012, allocations: 4 kB / 0.6845 GB, free: 12.33 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.2012, allocations: 4 kB / 0.6845 GB, free: 12.33 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.959e-06/0.2012, allocations: 3.984 kB / 0.6845 GB, free: 12.32 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003943/0.2016, allocations: 400.1 kB / 0.6849 GB, free: 11.87 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.223e-06/0.2016, allocations: 0 / 0.6849 GB, free: 11.87 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.021e-05/0.2016, allocations: 4.062 kB / 0.6849 GB, free: 11.87 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.463e-06/0.2016, allocations: 0 / 0.6849 GB, free: 11.87 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.355e-05/0.2017, allocations: 8 kB / 0.6849 GB, free: 11.86 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.2017, allocations: 0 / 0.6849 GB, free: 11.86 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.2017, allocations: 0 / 0.6849 GB, free: 11.86 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002219/0.2019, allocations: 237 kB / 0.6851 GB, free: 11.61 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.415e-05/0.202, allocations: 77.11 kB / 0.6852 GB, free: 11.51 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.315e-05/0.202, allocations: 7.984 kB / 0.6852 GB, free: 11.5 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.883e-05/0.2021, allocations: 8 kB / 0.6852 GB, free: 11.5 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.45e-05/0.2022, allocations: 11.92 kB / 0.6852 GB, free: 11.48 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.695e-05/0.2022, allocations: 4 kB / 0.6852 GB, free: 11.48 MB / 494.1 MB Notification: Performance of sorting global known variables: time 5.02e-05/0.2022, allocations: 87.27 kB / 0.6853 GB, free: 11.39 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2023, allocations: 8 kB / 0.6853 GB, free: 11.39 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.000221/0.2025, allocations: 15.94 kB / 0.6853 GB, free: 11.37 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 9 (del.sampleTrigger,$whenCondition2,$whenCondition1,$whenCondition3,del.y,del.firstTrigger,del.ySample,booleanPulse.y,booleanPulse.pulseStart) * Number of discrete states: 3 (del.ySample,del.y,$whenCondition3) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001075/0.2026, allocations: 99.91 kB / 0.6854 GB, free: 11.27 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001832/0.2028, allocations: 115.3 kB / 0.6855 GB, free: 11.14 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.2028, allocations: 4 kB / 0.6855 GB, free: 11.14 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001008/0.2029, allocations: 91.33 kB / 0.6856 GB, free: 11.04 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002978/0.2032, allocations: 16.12 kB / 0.6856 GB, free: 11.02 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003886/0.2036, allocations: 196.8 kB / 0.6858 GB, free: 10.79 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003012/0.2039, allocations: 0.6848 MB / 0.6865 GB, free: 10.08 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.889e-05/0.204, allocations: 11.44 kB / 0.6865 GB, free: 10.07 MB / 494.1 MB Notification: Performance of SimCode: time 2.21e-07/0.204, allocations: 0 / 0.6865 GB, free: 10.07 MB / 494.1 MB Notification: Performance of Templates: time 0.002484/0.2064, allocations: 0.8976 MB / 0.6874 GB, free: 9.176 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.Controls.Discrete.Examples.BooleanDelay.makefile make -j1 -f BuildingSystems_BuildingSystems.Controls.Discrete.Examples.BooleanDelay.makefile clang++ -std=c++14 NOTFOUND -Winvalid-pch -O2 -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/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppBuildingSystems_BuildingSystems.Controls.Discrete.Examples.BooleanDelayCalcHelperMain.o OMCppBuildingSystems_BuildingSystems.Controls.Discrete.Examples.BooleanDelayCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildingSystems_BuildingSystems.Controls.Discrete.Examples.BooleanDelayCalcHelperMain.o] Error 1