Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.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/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.Discrete.Examples.BooleanDelay,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|del.u|del.y",fileNamePrefix="Buildings_latest_Buildings.Controls.Discrete.Examples.BooleanDelay") translateModel(Buildings.Controls.Discrete.Examples.BooleanDelay,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|del.u|del.y",fileNamePrefix="Buildings_latest_Buildings.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.001184/0.001184, allocations: 102.7 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.001333/0.001333, allocations: 173.8 kB / 16.58 MB, free: 6.402 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.512/1.512, allocations: 223.3 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.991/2.991, allocations: 436.7 MB / 0.7113 GB, free: 7.824 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003717/0.0003719, allocations: 11.98 kB / 0.8717 GB, free: 4.773 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8303/0.8307, allocations: 153.7 MB / 1.022 GB, free: 1.117 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Discrete.Examples.BooleanDelay): time 0.001633/0.8324, allocations: 1.137 MB / 1.023 GB, free: 15.97 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0006439/0.833, allocations: 399.4 kB / 1.023 GB, free: 15.58 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.663e-05/0.8331, allocations: 0 / 1.023 GB, free: 15.58 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.892e-05/0.8331, allocations: 7.938 kB / 1.023 GB, free: 15.57 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 8.71e-05/0.8332, allocations: 15.92 kB / 1.023 GB, free: 15.55 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001535/0.8334, allocations: 19.97 kB / 1.023 GB, free: 15.54 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 8.801e-05/0.8335, allocations: 39.86 kB / 1.023 GB, free: 15.5 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 8.458e-05/0.8336, allocations: 4 kB / 1.023 GB, free: 15.49 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 5.98e-05/0.8336, allocations: 19.92 kB / 1.023 GB, free: 15.47 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 6.592e-05/0.8337, allocations: 19.86 kB / 1.023 GB, free: 15.45 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.892e-05/0.8337, allocations: 4 kB / 1.023 GB, free: 15.45 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 1.058e-05/0.8337, allocations: 0 / 1.023 GB, free: 15.45 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 2.067e-05/0.8338, allocations: 11.98 kB / 1.023 GB, free: 15.44 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 4.421e-05/0.8338, allocations: 29.7 kB / 1.023 GB, free: 15.4 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 7.436e-05/0.8339, allocations: 31.88 kB / 1.023 GB, free: 15.37 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.55e-06/0.8339, allocations: 0 / 1.023 GB, free: 15.37 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.573e-06/0.8339, allocations: 0 / 1.023 GB, free: 15.37 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.26e-06/0.8339, allocations: 0 / 1.023 GB, free: 15.37 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.0006992/0.8346, allocations: 402.8 kB / 1.024 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.209e-05/0.8347, allocations: 11.98 kB / 1.024 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.094e-05/0.8347, allocations: 4 kB / 1.024 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001535/0.8349, allocations: 167 kB / 1.024 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.649e-05/0.8349, allocations: 0 / 1.024 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.69e-05/0.8349, allocations: 4 kB / 1.024 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001389/0.8351, allocations: 57.62 kB / 1.024 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.368e-06/0.8351, allocations: 0 / 1.024 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.058e-05/0.8351, allocations: 3.938 kB / 1.024 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.32e-06/0.8351, allocations: 0 / 1.024 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.622e-05/0.8352, allocations: 23.98 kB / 1.024 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004608/0.8356, allocations: 284.6 kB / 1.024 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 8.288e-05/0.8357, allocations: 34.58 kB / 1.024 GB, free: 14.24 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.015e-05/0.8358, allocations: 20.97 kB / 1.024 GB, free: 14.22 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.104e-05/0.8358, allocations: 4 kB / 1.024 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002126/0.836, allocations: 101.1 kB / 1.024 GB, free: 14.1 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=9): time 1.432e-06/0.836, allocations: 3.938 kB / 1.024 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of matching and sorting (n=9): time 0.0002889/0.8363, allocations: 139.3 kB / 1.025 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.059e-05/0.8364, allocations: 85.09 kB / 1.025 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.205e-05/0.8365, allocations: 113.8 kB / 1.025 GB, free: 13.72 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.975e-05/0.8365, allocations: 29.7 kB / 1.025 GB, free: 13.69 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.293e-05/0.8366, allocations: 84.14 kB / 1.025 GB, free: 13.6 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.083e-05/0.8366, allocations: 19.88 kB / 1.025 GB, free: 13.58 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.322e-06/0.8366, allocations: 4 kB / 1.025 GB, free: 13.58 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001355/0.8368, allocations: 318.8 kB / 1.025 GB, free: 13.26 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.186e-05/0.8368, allocations: 16 kB / 1.025 GB, free: 13.24 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.56e-05/0.8369, allocations: 30.84 kB / 1.025 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.143e-05/0.837, allocations: 49.66 kB / 1.025 GB, free: 13.15 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.837, allocations: 96 / 1.025 GB, free: 13.15 MB / 0.7794 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001626/0.8371, allocations: 139.2 kB / 1.025 GB, free: 13 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 3.59e-05/0.8372, allocations: 29.7 kB / 1.025 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.653e-06/0.8372, allocations: 3.984 kB / 1.025 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.221e-05/0.8372, allocations: 4 kB / 1.025 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.507e-05/0.8373, allocations: 7.938 kB / 1.026 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.442e-06/0.8373, allocations: 400 / 1.026 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.439e-05/0.8373, allocations: 11.98 kB / 1.026 GB, free: 12.94 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.442e-06/0.8373, allocations: 0 / 1.026 GB, free: 12.94 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: 11 ($PRE.del.firstTrigger,del.firstTrigger,$whenCondition2,$whenCondition1,$whenCondition3,del.y,del.sampleTrigger,del.ySample,booleanPulse.y,$PRE.booleanPulse.pulseStart,booleanPulse.pulseStart) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001385/0.8375, allocations: 155.6 kB / 1.026 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.59e-05/0.8375, allocations: 11.89 kB / 1.026 GB, free: 12.76 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.482e-05/0.8375, allocations: 8.375 kB / 1.026 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.867e-06/0.8376, allocations: 0 / 1.026 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.8376, allocations: 3.938 kB / 1.026 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.8376, allocations: 0 / 1.026 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004039/0.838, allocations: 404.1 kB / 1.026 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.838, allocations: 0 / 1.026 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.284e-06/0.838, allocations: 4 kB / 1.026 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.694e-06/0.838, allocations: 0 / 1.026 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.58e-05/0.838, allocations: 8 kB / 1.026 GB, free: 12.28 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.946e-06/0.838, allocations: 3.984 kB / 1.026 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.838, allocations: 0 / 1.026 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002197/0.8383, allocations: 233.1 kB / 1.026 GB, free: 12.02 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.669e-05/0.8383, allocations: 77.11 kB / 1.026 GB, free: 11.93 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.986e-05/0.8384, allocations: 4 kB / 1.026 GB, free: 11.93 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001006/0.8385, allocations: 19.98 kB / 1.026 GB, free: 11.91 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.699e-05/0.8385, allocations: 4 kB / 1.026 GB, free: 11.9 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.507e-05/0.8386, allocations: 3.984 kB / 1.026 GB, free: 11.9 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.129e-05/0.8386, allocations: 91.34 kB / 1.026 GB, free: 11.81 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.41e-07/0.8386, allocations: 0 / 1.026 GB, free: 11.81 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002233/0.8388, allocations: 12 kB / 1.027 GB, free: 11.8 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: 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 (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.000128/0.839, allocations: 117 kB / 1.027 GB, free: 11.68 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001801/0.8392, allocations: 111.4 kB / 1.027 GB, free: 11.55 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.8392, allocations: 0 / 1.027 GB, free: 11.55 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001063/0.8393, allocations: 95.31 kB / 1.027 GB, free: 11.45 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002953/0.8396, allocations: 19.94 kB / 1.027 GB, free: 11.43 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004252/0.84, allocations: 194.4 kB / 1.027 GB, free: 11.21 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003442/0.8404, allocations: 0.6815 MB / 1.028 GB, free: 10.5 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.292e-05/0.8404, allocations: 11.44 kB / 1.028 GB, free: 10.49 MB / 0.7794 GB Notification: Performance of SimCode: time 2e-07/0.8404, allocations: 3.938 kB / 1.028 GB, free: 10.48 MB / 0.7794 GB Notification: Performance of Templates: time 0.002747/0.8432, allocations: 0.886 MB / 1.029 GB, free: 9.605 MB / 0.7794 GB make -j1 -f Buildings_latest_Buildings.Controls.Discrete.Examples.BooleanDelay.makefile make -j1 -f Buildings_latest_Buildings.Controls.Discrete.Examples.BooleanDelay.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.Discrete.Examples.BooleanDelayCalcHelperMain.o OMCppBuildings_latest_Buildings.Controls.Discrete.Examples.BooleanDelayCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_latest_Buildings.Controls.Discrete.Examples.BooleanDelayCalcHelperMain.o] Error 1