Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.ZeroCrossing.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.OBC.CDL.Logical.Validation.ZeroCrossing,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.ZeroCrossing") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.ZeroCrossing,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.ZeroCrossing") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008765/0.0008765, allocations: 97.78 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.001255/0.001255, allocations: 181.8 kB / 16.92 MB, free: 6.918 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.813/1.813, allocations: 205.4 MB / 223.1 MB, free: 5.508 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.946/1.946, allocations: 292.7 MB / 0.5509 GB, free: 14.46 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.000634/0.0006338, allocations: 16.28 kB / 0.675 GB, free: 25.75 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3305/0.3311, allocations: 116.3 MB / 0.7886 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.ZeroCrossing): time 0.001175/0.3324, allocations: 0.5368 MB / 0.7891 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001661/0.334, allocations: 1.2 MB / 0.7903 GB, free: 9.82 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.5e-05/0.3341, allocations: 4 kB / 0.7903 GB, free: 9.816 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.448e-05/0.3341, allocations: 3.938 kB / 0.7903 GB, free: 9.812 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 8.292e-05/0.3342, allocations: 7.922 kB / 0.7903 GB, free: 9.805 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005411/0.3348, allocations: 142.1 kB / 0.7904 GB, free: 9.672 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001708/0.335, allocations: 139.7 kB / 0.7905 GB, free: 9.535 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000112/0.3351, allocations: 24.22 kB / 0.7906 GB, free: 9.512 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 9.91e-05/0.3352, allocations: 47.84 kB / 0.7906 GB, free: 9.465 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 9.685e-05/0.3353, allocations: 55.8 kB / 0.7907 GB, free: 9.41 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.606e-05/0.3353, allocations: 8 kB / 0.7907 GB, free: 9.402 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 7.305e-05/0.3354, allocations: 23.92 kB / 0.7907 GB, free: 9.379 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.617e-05/0.3354, allocations: 15.92 kB / 0.7907 GB, free: 9.363 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 8.974e-05/0.3355, allocations: 77.47 kB / 0.7908 GB, free: 9.281 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001417/0.3357, allocations: 95.98 kB / 0.7909 GB, free: 9.188 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.3357, allocations: 8 kB / 0.7909 GB, free: 9.18 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.914e-06/0.3357, allocations: 0 / 0.7909 GB, free: 9.18 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.84e-06/0.3357, allocations: 0 / 0.7909 GB, free: 9.18 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0006979/0.3364, allocations: 425 kB / 0.7913 GB, free: 8.707 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.266e-05/0.3365, allocations: 12.03 kB / 0.7913 GB, free: 8.695 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.225e-05/0.3365, allocations: 12.84 kB / 0.7913 GB, free: 8.684 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001345/0.3367, allocations: 176.2 kB / 0.7915 GB, free: 8.473 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.646e-05/0.3367, allocations: 8.375 kB / 0.7915 GB, free: 8.465 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.267e-05/0.3367, allocations: 12.38 kB / 0.7915 GB, free: 8.453 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003253/0.3371, allocations: 110.1 kB / 0.7916 GB, free: 8.34 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.804e-06/0.3371, allocations: 4.188 kB / 0.7916 GB, free: 8.336 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.536e-05/0.3371, allocations: 3.938 kB / 0.7916 GB, free: 8.332 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.729e-06/0.3371, allocations: 0 / 0.7916 GB, free: 8.332 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003666/0.3375, allocations: 119.9 kB / 0.7917 GB, free: 8.215 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006213/0.3381, allocations: 388.4 kB / 0.7921 GB, free: 7.785 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002785/0.3384, allocations: 102.7 kB / 0.7922 GB, free: 7.676 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002018/0.3386, allocations: 72.81 kB / 0.7923 GB, free: 7.602 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.384e-05/0.3386, allocations: 0 / 0.7923 GB, free: 7.602 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003162/0.339, allocations: 139.1 kB / 0.7924 GB, free: 7.453 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=12): time 1.293e-06/0.339, allocations: 0 / 0.7924 GB, free: 7.453 MB / 0.6075 GB Notification: Performance of matching and sorting (n=12): time 0.000737/0.3397, allocations: 241.5 kB / 0.7926 GB, free: 7.211 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.364e-05/0.3398, allocations: 51.41 kB / 0.7927 GB, free: 7.148 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001085/0.3399, allocations: 137.7 kB / 0.7928 GB, free: 7.004 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.501e-05/0.3399, allocations: 33.7 kB / 0.7928 GB, free: 6.965 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.99e-05/0.34, allocations: 96.12 kB / 0.7929 GB, free: 6.867 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.395e-05/0.34, allocations: 31.55 kB / 0.793 GB, free: 6.836 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.928e-05/0.3401, allocations: 29.7 kB / 0.793 GB, free: 6.801 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001377/0.3402, allocations: 326.7 kB / 0.7933 GB, free: 6.473 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002546/0.3405, allocations: 91.94 kB / 0.7934 GB, free: 6.383 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002714/0.3408, allocations: 128.2 kB / 0.7935 GB, free: 6.242 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000464/0.3413, allocations: 205.6 kB / 0.7937 GB, free: 6.023 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/0.3413, allocations: 4 kB / 0.7937 GB, free: 6.02 MB / 0.6075 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0006299/0.3419, allocations: 283 kB / 0.794 GB, free: 5.73 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 5.267e-05/0.342, allocations: 41.83 kB / 0.794 GB, free: 5.684 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.342, allocations: 0 / 0.794 GB, free: 5.684 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.824e-05/0.342, allocations: 4 kB / 0.794 GB, free: 5.68 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001457/0.3422, allocations: 23.97 kB / 0.794 GB, free: 5.656 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.358e-06/0.3422, allocations: 4 kB / 0.794 GB, free: 5.652 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002851/0.3425, allocations: 63.8 kB / 0.7941 GB, free: 5.59 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.406e-05/0.3425, allocations: 11.98 kB / 0.7941 GB, free: 5.578 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 14 (triggeredSampler.y,$PRE.triggeredSampler.y,$whenCondition1,$whenCondition2,zeroCrossing.u_pos,$PRE.zeroCrossing.u_pos,zeroCrossing.disable,$PRE.zeroCrossing.disable,zeroCrossing.enable,$PRE.zeroCrossing.enable,zeroCrossing.y,booPul1.y,$PRE.booPul1.y,$whenCondition3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 16 * 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.0001217/0.3426, allocations: 130.4 kB / 0.7942 GB, free: 5.441 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.573e-05/0.3427, allocations: 7.906 kB / 0.7942 GB, free: 5.434 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005097/0.3432, allocations: 197.9 kB / 0.7944 GB, free: 5.234 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.609e-06/0.3432, allocations: 4 kB / 0.7944 GB, free: 5.23 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.452e-06/0.3432, allocations: 0 / 0.7944 GB, free: 5.23 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.998e-06/0.3432, allocations: 3.938 kB / 0.7944 GB, free: 5.227 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006767/0.3439, allocations: 470.3 kB / 0.7949 GB, free: 4.711 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-06/0.3439, allocations: 0 / 0.7949 GB, free: 4.711 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001136/0.344, allocations: 31.91 kB / 0.7949 GB, free: 4.68 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.344, allocations: 4 kB / 0.7949 GB, free: 4.676 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.243e-05/0.3441, allocations: 4 kB / 0.7949 GB, free: 4.672 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.665e-06/0.3441, allocations: 4 kB / 0.7949 GB, free: 4.668 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.827e-06/0.3441, allocations: 3.938 kB / 0.7949 GB, free: 4.664 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004793/0.3446, allocations: 275.3 kB / 0.7952 GB, free: 4.379 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.589e-05/0.3446, allocations: 81.02 kB / 0.7953 GB, free: 4.281 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.612e-05/0.3446, allocations: 8 kB / 0.7953 GB, free: 4.273 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001287/0.3448, allocations: 23.97 kB / 0.7953 GB, free: 4.25 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.011e-05/0.3448, allocations: 19.91 kB / 0.7953 GB, free: 4.23 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.032e-05/0.3449, allocations: 4 kB / 0.7953 GB, free: 4.227 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 6.505e-05/0.3449, allocations: 99.25 kB / 0.7954 GB, free: 4.129 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.21e-07/0.3449, allocations: 3.938 kB / 0.7954 GB, free: 4.125 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002815/0.3452, allocations: 36.06 kB / 0.7955 GB, free: 4.09 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 (zeroCrossing.y,$whenCondition3,$whenCondition1,$whenCondition2,booPul1.y,zeroCrossing.enable,zeroCrossing.disable,zeroCrossing.u_pos,triggeredSampler.y) * Number of discrete states: 3 (zeroCrossing.u_pos,zeroCrossing.enable,zeroCrossing.disable) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * 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.0002243/0.3455, allocations: 111.2 kB / 0.7956 GB, free: 3.973 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0005919/0.3461, allocations: 264.1 kB / 0.7958 GB, free: 3.703 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.3461, allocations: 0 / 0.7958 GB, free: 3.703 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.000221/0.3463, allocations: 76.11 kB / 0.7959 GB, free: 3.629 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003161/0.3466, allocations: 23.34 kB / 0.7959 GB, free: 3.609 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004715/0.3471, allocations: 244.9 kB / 0.7962 GB, free: 3.336 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002658/0.3474, allocations: 0.7043 MB / 0.7968 GB, free: 2.605 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.772e-05/0.3474, allocations: 15.44 kB / 0.7969 GB, free: 2.59 MB / 0.6075 GB Notification: Performance of SimCode: time 4.91e-07/0.3475, allocations: 3.938 kB / 0.7969 GB, free: 2.586 MB / 0.6075 GB Notification: Performance of Templates: time 0.003442/0.3509, allocations: 1.631 MB / 0.7985 GB, free: 0.9727 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.ZeroCrossing.makefile make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.ZeroCrossing.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 OMCppBuildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.ZeroCrossingCalcHelperMain.o OMCppBuildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.ZeroCrossingCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.ZeroCrossingCalcHelperMain.o] Error 1