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.0007571/0.0007572, allocations: 99.19 kB / 16.02 MB, free: 76 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.0008059/0.0008059, allocations: 185.6 kB / 16.92 MB, free: 6.688 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.317/1.317, allocations: 223.2 MB / 240.9 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00174/0.00174, allocations: 274.8 kB / 292.3 MB, free: 1.863 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9445/0.9445, allocations: 169.5 MB / 0.501 GB, free: 14.13 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004271/0.0004271, allocations: 17.69 kB / 0.5993 GB, free: 27.98 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1517/0.1522, allocations: 88.54 MB / 0.6858 GB, free: 15.1 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Controls.Discrete.Examples.BooleanDelay): time 0.001453/0.1537, allocations: 1.142 MB / 0.6869 GB, free: 13.95 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006602/0.1543, allocations: 421.3 kB / 0.6873 GB, free: 13.53 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.107e-05/0.1544, allocations: 0 / 0.6873 GB, free: 13.53 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.755e-05/0.1544, allocations: 2.531 kB / 0.6873 GB, free: 13.53 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 8.333e-05/0.1545, allocations: 3.938 kB / 0.6873 GB, free: 13.53 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00014/0.1546, allocations: 27.91 kB / 0.6873 GB, free: 13.5 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 7.558e-05/0.1547, allocations: 43.86 kB / 0.6873 GB, free: 13.46 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.217e-05/0.1548, allocations: 11.92 kB / 0.6874 GB, free: 13.45 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.301e-05/0.1549, allocations: 17.16 kB / 0.6874 GB, free: 13.43 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.21e-05/0.1549, allocations: 19.92 kB / 0.6874 GB, free: 13.41 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.625e-05/0.155, allocations: 0 / 0.6874 GB, free: 13.41 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.117e-05/0.155, allocations: 6.312 kB / 0.6874 GB, free: 13.41 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.33e-05/0.155, allocations: 11.91 kB / 0.6874 GB, free: 13.39 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 6.492e-05/0.1551, allocations: 45.64 kB / 0.6875 GB, free: 13.34 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 6.711e-05/0.1552, allocations: 20.17 kB / 0.6875 GB, free: 13.32 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.526e-06/0.1552, allocations: 0 / 0.6875 GB, free: 13.32 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.1552, allocations: 4 kB / 0.6875 GB, free: 13.32 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.637e-06/0.1552, allocations: 0 / 0.6875 GB, free: 13.32 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.0005407/0.1557, allocations: 399.8 kB / 0.6879 GB, free: 12.88 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.659e-05/0.1558, allocations: 8.031 kB / 0.6879 GB, free: 12.87 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.467e-05/0.1558, allocations: 13.48 kB / 0.6879 GB, free: 12.86 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001218/0.1559, allocations: 168 kB / 0.688 GB, free: 12.66 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.502e-05/0.156, allocations: 384 / 0.688 GB, free: 12.66 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.44e-05/0.156, allocations: 8.312 kB / 0.688 GB, free: 12.65 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001129/0.1561, allocations: 57.98 kB / 0.6881 GB, free: 12.59 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.083e-06/0.1561, allocations: 0 / 0.6881 GB, free: 12.59 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.019e-05/0.1561, allocations: 0 / 0.6881 GB, free: 12.59 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.118e-06/0.1561, allocations: 0 / 0.6881 GB, free: 12.59 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.201e-05/0.1562, allocations: 16 kB / 0.6881 GB, free: 12.57 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003778/0.1566, allocations: 277.4 kB / 0.6884 GB, free: 12.25 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.984e-05/0.1567, allocations: 39.72 kB / 0.6884 GB, free: 12.21 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.707e-05/0.1567, allocations: 22.19 kB / 0.6884 GB, free: 12.18 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.957e-05/0.1568, allocations: 4 kB / 0.6884 GB, free: 12.18 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001778/0.1569, allocations: 106.3 kB / 0.6885 GB, free: 12.06 MB / 494.1 MB Notification: Performance of pre-optimization done (n=9): time 1.372e-06/0.1569, allocations: 0 / 0.6885 GB, free: 12.06 MB / 494.1 MB Notification: Performance of matching and sorting (n=9): time 0.0002489/0.1572, allocations: 132 kB / 0.6887 GB, free: 11.92 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.082e-05/0.1573, allocations: 87.02 kB / 0.6888 GB, free: 11.82 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.898e-05/0.1574, allocations: 118 kB / 0.6889 GB, free: 11.69 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.612e-05/0.1574, allocations: 25.7 kB / 0.6889 GB, free: 11.66 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.903e-05/0.1574, allocations: 92.19 kB / 0.689 GB, free: 11.57 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.894e-05/0.1575, allocations: 19.69 kB / 0.689 GB, free: 11.55 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.636e-05/0.1575, allocations: 21.72 kB / 0.689 GB, free: 11.52 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001084/0.1576, allocations: 326.8 kB / 0.6893 GB, free: 11.19 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.138e-05/0.1576, allocations: 12 kB / 0.6893 GB, free: 11.18 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.346e-05/0.1577, allocations: 42.5 kB / 0.6894 GB, free: 11.13 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.57e-05/0.1578, allocations: 109.9 kB / 0.6895 GB, free: 11 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/0.1578, allocations: 8 kB / 0.6895 GB, free: 10.99 MB / 494.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001516/0.158, allocations: 119.2 kB / 0.6896 GB, free: 10.86 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.495e-05/0.158, allocations: 39.58 kB / 0.6896 GB, free: 10.82 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.158, allocations: 3.984 kB / 0.6897 GB, free: 10.82 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.977e-06/0.158, allocations: 0 / 0.6897 GB, free: 10.82 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.863e-05/0.1581, allocations: 4 kB / 0.6897 GB, free: 10.81 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.609e-06/0.1581, allocations: 400 / 0.6897 GB, free: 10.81 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.135e-05/0.1582, allocations: 8 kB / 0.6897 GB, free: 10.8 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.356e-06/0.1582, allocations: 8.062 kB / 0.6897 GB, free: 10.8 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.0001121/0.1583, allocations: 162 kB / 0.6898 GB, free: 10.62 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.38e-05/0.1583, allocations: 7.938 kB / 0.6898 GB, free: 10.62 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.249e-05/0.1583, allocations: 8.375 kB / 0.6898 GB, free: 10.61 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.1583, allocations: 64 / 0.6898 GB, free: 10.61 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/0.1584, allocations: 4 kB / 0.6898 GB, free: 10.61 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.1584, allocations: 0 / 0.6898 GB, free: 10.61 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003708/0.1587, allocations: 408 kB / 0.6902 GB, free: 10.14 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.243e-06/0.1588, allocations: 4 kB / 0.6902 GB, free: 10.14 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.236e-06/0.1588, allocations: 4 kB / 0.6902 GB, free: 10.14 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.462e-06/0.1588, allocations: 0 / 0.6902 GB, free: 10.14 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.476e-06/0.1588, allocations: 0 / 0.6902 GB, free: 10.14 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.1588, allocations: 0 / 0.6902 GB, free: 10.14 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.1588, allocations: 80 / 0.6902 GB, free: 10.14 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001966/0.159, allocations: 237.2 kB / 0.6905 GB, free: 9.883 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.045e-05/0.159, allocations: 88.95 kB / 0.6906 GB, free: 9.777 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.753e-05/0.1591, allocations: 7.984 kB / 0.6906 GB, free: 9.77 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.757e-05/0.1592, allocations: 8 kB / 0.6906 GB, free: 9.762 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.86e-05/0.1593, allocations: 15.92 kB / 0.6906 GB, free: 9.746 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.411e-05/0.1593, allocations: 4 kB / 0.6906 GB, free: 9.742 MB / 494.1 MB Notification: Performance of sorting global known variables: time 4.533e-05/0.1593, allocations: 95.25 kB / 0.6907 GB, free: 9.648 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1593, allocations: 0 / 0.6907 GB, free: 9.648 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002196/0.1596, allocations: 12 kB / 0.6907 GB, free: 9.637 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 8.718e-05/0.1596, allocations: 103.2 kB / 0.6908 GB, free: 9.527 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001639/0.1598, allocations: 123.3 kB / 0.6909 GB, free: 9.395 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.023e-06/0.1598, allocations: 0 / 0.6909 GB, free: 9.395 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 7.94e-05/0.1599, allocations: 87.39 kB / 0.691 GB, free: 9.297 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002769/0.1602, allocations: 13.83 kB / 0.691 GB, free: 9.285 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003391/0.1605, allocations: 204.5 kB / 0.6912 GB, free: 9.051 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002382/0.1608, allocations: 0.6809 MB / 0.6919 GB, free: 8.344 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.687e-05/0.1608, allocations: 11.44 kB / 0.6919 GB, free: 8.332 MB / 494.1 MB Notification: Performance of SimCode: time 3e-07/0.1608, allocations: 0 / 0.6919 GB, free: 8.332 MB / 494.1 MB Notification: Performance of Templates: time 0.002143/0.163, allocations: 0.8931 MB / 0.6927 GB, free: 7.445 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