Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.Discrete.Examples.BooleanDelay") translateModel(Buildings.Controls.Discrete.Examples.BooleanDelay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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.0008112/0.0008113, allocations: 103 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.0009274/0.0009273, allocations: 173.1 kB / 16.58 MB, free: 6.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.867/1.867, allocations: 205.4 MB / 222.8 MB, free: 5.871 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.901/1.901, allocations: 292.7 MB / 0.5505 GB, free: 14.57 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005689/0.000569, allocations: 19.25 kB / 0.6743 GB, free: 26.33 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2591/0.2597, allocations: 116.3 MB / 0.7879 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Discrete.Examples.BooleanDelay): time 0.001594/0.2614, allocations: 1.133 MB / 0.789 GB, free: 10.83 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.000816/0.2622, allocations: 461.2 kB / 0.7895 GB, free: 10.37 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.974e-05/0.2622, allocations: 0 / 0.7895 GB, free: 10.37 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.159e-05/0.2623, allocations: 3.938 kB / 0.7895 GB, free: 10.37 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001071/0.2624, allocations: 7.938 kB / 0.7895 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001767/0.2626, allocations: 11.98 kB / 0.7895 GB, free: 10.35 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 9.614e-05/0.2627, allocations: 47.83 kB / 0.7895 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001057/0.2628, allocations: 4 kB / 0.7895 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 7.548e-05/0.2629, allocations: 19.88 kB / 0.7896 GB, free: 10.28 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 8.801e-05/0.263, allocations: 23.91 kB / 0.7896 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.222e-05/0.263, allocations: 7.938 kB / 0.7896 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 1.167e-05/0.263, allocations: 0 / 0.7896 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.024e-05/0.263, allocations: 4 kB / 0.7896 GB, free: 10.24 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.561e-05/0.2631, allocations: 33.7 kB / 0.7896 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 8.229e-05/0.2632, allocations: 28.22 kB / 0.7896 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 7.605e-06/0.2632, allocations: 7.938 kB / 0.7897 GB, free: 10.17 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.284e-06/0.2632, allocations: 0 / 0.7897 GB, free: 10.17 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.398e-06/0.2632, allocations: 0 / 0.7897 GB, free: 10.17 MB / 0.6075 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.0006035/0.2638, allocations: 388.9 kB / 0.79 GB, free: 9.734 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.03e-05/0.2639, allocations: 8.031 kB / 0.79 GB, free: 9.727 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.254e-05/0.2639, allocations: 7.906 kB / 0.79 GB, free: 9.719 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001396/0.2641, allocations: 175 kB / 0.7902 GB, free: 9.508 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.538e-05/0.2641, allocations: 0 / 0.7902 GB, free: 9.508 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.779e-05/0.2641, allocations: 8 kB / 0.7902 GB, free: 9.5 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000115/0.2642, allocations: 45.69 kB / 0.7903 GB, free: 9.449 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.023e-06/0.2643, allocations: 4 kB / 0.7903 GB, free: 9.445 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.211e-05/0.2643, allocations: 0 / 0.7903 GB, free: 9.445 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.548e-06/0.2643, allocations: 0 / 0.7903 GB, free: 9.445 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.714e-05/0.2643, allocations: 23.92 kB / 0.7903 GB, free: 9.422 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004242/0.2648, allocations: 272.8 kB / 0.7905 GB, free: 9.105 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 8.326e-05/0.2649, allocations: 38.56 kB / 0.7906 GB, free: 9.059 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.814e-05/0.2649, allocations: 24.98 kB / 0.7906 GB, free: 9.031 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.019e-05/0.2649, allocations: 4 kB / 0.7906 GB, free: 9.027 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001985/0.2651, allocations: 109 kB / 0.7907 GB, free: 8.902 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=9): time 1.452e-06/0.2652, allocations: 0 / 0.7907 GB, free: 8.902 MB / 0.6075 GB Notification: Performance of matching and sorting (n=9): time 0.0002894/0.2655, allocations: 139.3 kB / 0.7908 GB, free: 8.754 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.036e-05/0.2655, allocations: 81.11 kB / 0.7909 GB, free: 8.656 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.358e-05/0.2656, allocations: 117.7 kB / 0.791 GB, free: 8.531 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.657e-05/0.2656, allocations: 29.7 kB / 0.7911 GB, free: 8.496 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.47e-05/0.2657, allocations: 88.14 kB / 0.7911 GB, free: 8.406 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.2e-05/0.2657, allocations: 23.73 kB / 0.7912 GB, free: 8.383 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.739e-06/0.2658, allocations: 0 / 0.7912 GB, free: 8.383 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001198/0.2659, allocations: 314.8 kB / 0.7915 GB, free: 8.066 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.369e-05/0.2659, allocations: 15.98 kB / 0.7915 GB, free: 8.051 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.091e-05/0.266, allocations: 42.5 kB / 0.7915 GB, free: 8 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.513e-05/0.266, allocations: 49.7 kB / 0.7916 GB, free: 7.945 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.266, allocations: 0 / 0.7916 GB, free: 7.945 MB / 0.6075 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000164/0.2662, allocations: 123.2 kB / 0.7917 GB, free: 7.812 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 3.51e-05/0.2663, allocations: 33.7 kB / 0.7917 GB, free: 7.773 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.983e-06/0.2663, allocations: 3.984 kB / 0.7917 GB, free: 7.77 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.359e-05/0.2663, allocations: 4 kB / 0.7917 GB, free: 7.766 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.819e-05/0.2663, allocations: 8 kB / 0.7917 GB, free: 7.758 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.033e-06/0.2664, allocations: 4 kB / 0.7917 GB, free: 7.754 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.476e-05/0.2664, allocations: 16.02 kB / 0.7918 GB, free: 7.738 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.506e-06/0.2664, allocations: 4 kB / 0.7918 GB, free: 7.734 MB / 0.6075 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.000118/0.2666, allocations: 150.8 kB / 0.7919 GB, free: 7.574 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.603e-05/0.2666, allocations: 7.906 kB / 0.7919 GB, free: 7.566 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.09e-05/0.2666, allocations: 8.375 kB / 0.7919 GB, free: 7.559 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.276e-06/0.2666, allocations: 4 kB / 0.7919 GB, free: 7.555 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.079e-06/0.2666, allocations: 0 / 0.7919 GB, free: 7.555 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.2667, allocations: 0 / 0.7919 GB, free: 7.555 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003911/0.267, allocations: 408.5 kB / 0.7923 GB, free: 7.094 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.2671, allocations: 0 / 0.7923 GB, free: 7.094 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.875e-06/0.2671, allocations: 3.938 kB / 0.7923 GB, free: 7.09 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.2671, allocations: 0 / 0.7923 GB, free: 7.09 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.204e-05/0.2671, allocations: 4 kB / 0.7923 GB, free: 7.086 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.595e-06/0.2671, allocations: 0 / 0.7923 GB, free: 7.086 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.255e-06/0.2671, allocations: 7.891 kB / 0.7923 GB, free: 7.078 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000213/0.2673, allocations: 225.1 kB / 0.7925 GB, free: 6.836 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.987e-05/0.2674, allocations: 85.11 kB / 0.7926 GB, free: 6.734 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.354e-05/0.2674, allocations: 7.984 kB / 0.7926 GB, free: 6.727 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.435e-05/0.2675, allocations: 8 kB / 0.7926 GB, free: 6.719 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.418e-05/0.2676, allocations: 7.938 kB / 0.7926 GB, free: 6.711 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.676e-05/0.2676, allocations: 4 kB / 0.7927 GB, free: 6.707 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.378e-05/0.2677, allocations: 91.81 kB / 0.7927 GB, free: 6.617 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2677, allocations: 3.938 kB / 0.7927 GB, free: 6.613 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002288/0.2679, allocations: 16 kB / 0.7928 GB, free: 6.598 MB / 0.6075 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.000153/0.2681, allocations: 103.2 kB / 0.7929 GB, free: 6.488 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001895/0.2683, allocations: 119.3 kB / 0.793 GB, free: 6.359 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.2683, allocations: 3.938 kB / 0.793 GB, free: 6.355 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 9.891e-05/0.2684, allocations: 87.39 kB / 0.7931 GB, free: 6.258 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002922/0.2687, allocations: 8 kB / 0.7931 GB, free: 6.25 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003667/0.2691, allocations: 194.8 kB / 0.7933 GB, free: 6.023 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002532/0.2693, allocations: 0.6809 MB / 0.7939 GB, free: 5.316 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.102e-05/0.2694, allocations: 11.44 kB / 0.7939 GB, free: 5.305 MB / 0.6075 GB Notification: Performance of SimCode: time 2.3e-07/0.2694, allocations: 0 / 0.7939 GB, free: 5.305 MB / 0.6075 GB Notification: Performance of Templates: time 0.002537/0.2719, allocations: 0.9032 MB / 0.7948 GB, free: 4.406 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Controls.Discrete.Examples.BooleanDelay.makefile make -j1 -f Buildings_8_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_8_Buildings.Controls.Discrete.Examples.BooleanDelayCalcHelperMain.o OMCppBuildings_8_Buildings.Controls.Discrete.Examples.BooleanDelayCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_8_Buildings.Controls.Discrete.Examples.BooleanDelayCalcHelperMain.o] Error 1