Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/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_9_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_9_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.00106/0.00106, allocations: 99.59 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.001422/0.001422, allocations: 173.6 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.503/1.503, allocations: 223.2 MB / 240.6 MB, free: 5.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.525/2.525, allocations: 390.4 MB / 0.6662 GB, free: 2.902 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003718/0.0003719, allocations: 8 kB / 0.8154 GB, free: 14.2 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8679/0.8683, allocations: 142.3 MB / 0.9544 GB, free: 8.086 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Discrete.Examples.BooleanDelay): time 0.001536/0.8699, allocations: 1.139 MB / 0.9555 GB, free: 7.18 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0006686/0.8706, allocations: 403.8 kB / 0.9559 GB, free: 6.871 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.051e-05/0.8706, allocations: 0 / 0.9559 GB, free: 6.871 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.516e-05/0.8707, allocations: 0 / 0.9559 GB, free: 6.871 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 8.943e-05/0.8708, allocations: 18.5 kB / 0.9559 GB, free: 6.855 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001458/0.8709, allocations: 10.66 kB / 0.9559 GB, free: 6.848 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 8.638e-05/0.871, allocations: 49.31 kB / 0.956 GB, free: 6.816 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 8.341e-05/0.8711, allocations: 7.562 kB / 0.956 GB, free: 6.812 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 5.612e-05/0.8712, allocations: 20.14 kB / 0.956 GB, free: 6.801 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 7.699e-05/0.8712, allocations: 21.91 kB / 0.956 GB, free: 6.785 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.839e-05/0.8713, allocations: 1.156 kB / 0.956 GB, free: 6.785 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.144e-05/0.8713, allocations: 2.406 kB / 0.956 GB, free: 6.785 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.144e-05/0.8713, allocations: 5.125 kB / 0.956 GB, free: 6.781 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.908e-05/0.8714, allocations: 30.73 kB / 0.9561 GB, free: 6.75 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 7.511e-05/0.8714, allocations: 22.2 kB / 0.9561 GB, free: 6.734 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.117e-06/0.8715, allocations: 5 kB / 0.9561 GB, free: 6.73 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.593e-06/0.8715, allocations: 0 / 0.9561 GB, free: 6.73 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.637e-06/0.8715, allocations: 0 / 0.9561 GB, free: 6.73 MB / 0.7169 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.0005221/0.872, allocations: 395.7 kB / 0.9565 GB, free: 6.32 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.973e-05/0.872, allocations: 9.438 kB / 0.9565 GB, free: 6.32 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.923e-05/0.8721, allocations: 10.89 kB / 0.9565 GB, free: 6.312 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001021/0.8722, allocations: 166 kB / 0.9566 GB, free: 6.113 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.807e-05/0.8722, allocations: 1.094 kB / 0.9566 GB, free: 6.113 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.375e-05/0.8722, allocations: 7.25 kB / 0.9566 GB, free: 6.109 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001184/0.8724, allocations: 52.75 kB / 0.9567 GB, free: 6.062 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.157e-06/0.8724, allocations: 5.156 kB / 0.9567 GB, free: 6.059 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.093e-05/0.8724, allocations: 3.984 kB / 0.9567 GB, free: 6.055 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.571e-06/0.8724, allocations: 1.625 kB / 0.9567 GB, free: 6.055 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.65e-05/0.8725, allocations: 17.23 kB / 0.9567 GB, free: 6.047 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003537/0.8728, allocations: 281.3 kB / 0.957 GB, free: 5.738 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 8.175e-05/0.8729, allocations: 44.5 kB / 0.957 GB, free: 5.699 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.852e-05/0.873, allocations: 25.28 kB / 0.9571 GB, free: 5.68 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.988e-05/0.873, allocations: 1.25 kB / 0.9571 GB, free: 5.68 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001989/0.8732, allocations: 94.25 kB / 0.9571 GB, free: 5.586 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=9): time 1.472e-06/0.8732, allocations: 4 kB / 0.9571 GB, free: 5.582 MB / 0.7169 GB Notification: Performance of matching and sorting (n=9): time 0.000306/0.8735, allocations: 148.6 kB / 0.9573 GB, free: 5.477 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.96e-05/0.8736, allocations: 79.39 kB / 0.9574 GB, free: 5.383 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.149e-05/0.8737, allocations: 112.4 kB / 0.9575 GB, free: 5.273 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.285e-05/0.8737, allocations: 26.83 kB / 0.9575 GB, free: 5.242 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.399e-05/0.8737, allocations: 93.2 kB / 0.9576 GB, free: 5.148 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.985e-05/0.8738, allocations: 11.59 kB / 0.9576 GB, free: 5.141 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.74e-06/0.8738, allocations: 5.438 kB / 0.9576 GB, free: 5.137 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.723e-05/0.8738, allocations: 316.2 kB / 0.9579 GB, free: 4.82 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.995e-05/0.8739, allocations: 16.05 kB / 0.9579 GB, free: 4.812 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.293e-05/0.8739, allocations: 41.75 kB / 0.958 GB, free: 4.773 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.65e-05/0.874, allocations: 49.02 kB / 0.958 GB, free: 4.73 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.874, allocations: 0 / 0.958 GB, free: 4.73 MB / 0.7169 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001366/0.8741, allocations: 124.5 kB / 0.9581 GB, free: 4.637 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.042e-05/0.8742, allocations: 42.06 kB / 0.9582 GB, free: 4.598 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.16e-06/0.8742, allocations: 0 / 0.9582 GB, free: 4.598 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.429e-05/0.8742, allocations: 5.703 kB / 0.9582 GB, free: 4.594 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.244e-05/0.8742, allocations: 2.938 kB / 0.9582 GB, free: 4.594 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.633e-06/0.8743, allocations: 1 kB / 0.9582 GB, free: 4.594 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.613e-05/0.8743, allocations: 15.3 kB / 0.9582 GB, free: 4.586 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.678e-06/0.8743, allocations: 3.469 kB / 0.9582 GB, free: 4.586 MB / 0.7169 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 8.031e-05/0.8744, allocations: 150.5 kB / 0.9583 GB, free: 4.43 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.517e-05/0.8744, allocations: 15.75 kB / 0.9584 GB, free: 4.418 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.378e-05/0.8745, allocations: 5.469 kB / 0.9584 GB, free: 4.41 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.126e-06/0.8745, allocations: 8.922 kB / 0.9584 GB, free: 4.402 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.8745, allocations: 1.125 kB / 0.9584 GB, free: 4.402 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-06/0.8745, allocations: 7.969 kB / 0.9584 GB, free: 4.395 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003169/0.8748, allocations: 399 kB / 0.9588 GB, free: 4.004 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.8748, allocations: 0.9375 kB / 0.9588 GB, free: 4.004 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.085e-06/0.8748, allocations: 1.062 kB / 0.9588 GB, free: 4.004 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.296e-06/0.8749, allocations: 5.141 kB / 0.9588 GB, free: 4 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.144e-05/0.8749, allocations: 9.156 kB / 0.9588 GB, free: 3.992 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/0.8749, allocations: 1.094 kB / 0.9588 GB, free: 3.992 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.8749, allocations: 0 / 0.9588 GB, free: 3.992 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001718/0.8751, allocations: 228.8 kB / 0.959 GB, free: 3.797 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.254e-05/0.8751, allocations: 82.31 kB / 0.9591 GB, free: 3.699 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.083e-05/0.8751, allocations: 6.078 kB / 0.9591 GB, free: 3.695 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.962e-05/0.8752, allocations: 11.75 kB / 0.9591 GB, free: 3.691 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.379e-05/0.8753, allocations: 11.55 kB / 0.9591 GB, free: 3.684 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.604e-05/0.8753, allocations: 3.656 kB / 0.9591 GB, free: 3.684 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.128e-05/0.8753, allocations: 92.78 kB / 0.9592 GB, free: 3.598 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8753, allocations: 0 / 0.9592 GB, free: 3.598 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002275/0.8756, allocations: 13.84 kB / 0.9592 GB, free: 3.598 MB / 0.7169 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 9.06e-05/0.8757, allocations: 101 kB / 0.9593 GB, free: 3.504 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001542/0.8758, allocations: 115.1 kB / 0.9594 GB, free: 3.414 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.8758, allocations: 4.125 kB / 0.9594 GB, free: 3.41 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 7.337e-05/0.8759, allocations: 89.92 kB / 0.9595 GB, free: 3.332 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002755/0.8762, allocations: 18.75 kB / 0.9595 GB, free: 3.324 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003106/0.8765, allocations: 191.5 kB / 0.9597 GB, free: 3.141 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001287/0.8767, allocations: 0.693 MB / 0.9604 GB, free: 2.434 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.532e-05/0.8767, allocations: 14.03 kB / 0.9604 GB, free: 2.426 MB / 0.7169 GB Notification: Performance of SimCode: time 2.61e-07/0.8767, allocations: 0 / 0.9604 GB, free: 2.426 MB / 0.7169 GB Notification: Performance of Templates: time 0.002414/0.8791, allocations: 0.8862 MB / 0.9613 GB, free: 1.984 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Controls.Discrete.Examples.BooleanDelay.makefile make -j1 -f Buildings_9_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_9_Buildings.Controls.Discrete.Examples.BooleanDelayCalcHelperMain.o OMCppBuildings_9_Buildings.Controls.Discrete.Examples.BooleanDelayCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_9_Buildings.Controls.Discrete.Examples.BooleanDelayCalcHelperMain.o] Error 1