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.001695/0.001695, allocations: 96.14 kB / 15.87 MB, free: 16 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.002511/0.002511, allocations: 192.9 kB / 16.79 MB, free: 6.812 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.863/1.863, allocations: 205.1 MB / 222.6 MB, free: 5.012 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.746/1.746, allocations: 292.3 MB / 0.5491 GB, free: 13.66 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.001418/0.001418, allocations: 66.67 kB / 0.6715 GB, free: 26.15 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3748/0.3762, allocations: 114.5 MB / 0.7833 GB, free: 14.03 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.ZeroCrossing): time 0.004202/0.3805, allocations: 0.8756 MB / 0.7842 GB, free: 13.15 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002998/0.3836, allocations: 1.22 MB / 0.7854 GB, free: 11.91 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.85e-05/0.3837, allocations: 0 / 0.7854 GB, free: 11.91 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 5.805e-05/0.3838, allocations: 0 / 0.7854 GB, free: 11.91 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001536/0.384, allocations: 15.86 kB / 0.7854 GB, free: 11.9 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009356/0.385, allocations: 138.8 kB / 0.7855 GB, free: 11.77 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0003582/0.3853, allocations: 139.7 kB / 0.7857 GB, free: 11.63 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001986/0.3856, allocations: 16.22 kB / 0.7857 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002695/0.3858, allocations: 63.83 kB / 0.7857 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001921/0.386, allocations: 51.81 kB / 0.7858 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 8.589e-05/0.3861, allocations: 8 kB / 0.7858 GB, free: 11.49 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001986/0.3864, allocations: 19.98 kB / 0.7858 GB, free: 11.47 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 4.572e-05/0.3864, allocations: 19.92 kB / 0.7858 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001133/0.3865, allocations: 55.75 kB / 0.7859 GB, free: 11.4 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002244/0.3868, allocations: 100 kB / 0.786 GB, free: 11.3 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 9.598e-06/0.3868, allocations: 4 kB / 0.786 GB, free: 11.3 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.583e-06/0.3868, allocations: 0 / 0.786 GB, free: 11.3 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 8.416e-06/0.3868, allocations: 0 / 0.786 GB, free: 11.3 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.001067/0.3879, allocations: 440.9 kB / 0.7864 GB, free: 10.81 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.173e-05/0.3879, allocations: 12.03 kB / 0.7864 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001011/0.388, allocations: 16.83 kB / 0.7864 GB, free: 10.78 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000163/0.3882, allocations: 176.2 kB / 0.7866 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.53e-05/0.3883, allocations: 8.375 kB / 0.7866 GB, free: 10.56 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.404e-05/0.3883, allocations: 12.38 kB / 0.7866 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00043/0.3887, allocations: 90.19 kB / 0.7867 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.013e-05/0.3888, allocations: 4.188 kB / 0.7867 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.043e-05/0.3888, allocations: 11.92 kB / 0.7867 GB, free: 10.44 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.908e-06/0.3888, allocations: 7.938 kB / 0.7867 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000343/0.3892, allocations: 83.92 kB / 0.7868 GB, free: 10.35 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009887/0.3902, allocations: 396.4 kB / 0.7872 GB, free: 9.914 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003895/0.3906, allocations: 98.58 kB / 0.7873 GB, free: 9.809 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002556/0.3908, allocations: 56.83 kB / 0.7873 GB, free: 9.75 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.442e-05/0.3909, allocations: 7.984 kB / 0.7873 GB, free: 9.742 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006052/0.3915, allocations: 115.2 kB / 0.7875 GB, free: 9.617 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=12): time 2.745e-06/0.3915, allocations: 0 / 0.7875 GB, free: 9.617 MB / 0.6075 GB Notification: Performance of matching and sorting (n=12): time 0.0009231/0.3924, allocations: 217.4 kB / 0.7877 GB, free: 9.398 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.88e-05/0.3925, allocations: 51.41 kB / 0.7877 GB, free: 9.336 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001587/0.3927, allocations: 127.1 kB / 0.7878 GB, free: 9.203 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 4.851e-05/0.3928, allocations: 33.7 kB / 0.7879 GB, free: 9.164 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001173/0.3929, allocations: 104 kB / 0.788 GB, free: 9.059 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 5.672e-05/0.393, allocations: 31.62 kB / 0.788 GB, free: 9.027 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001369/0.3931, allocations: 49.61 kB / 0.788 GB, free: 8.973 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001981/0.3933, allocations: 326.8 kB / 0.7884 GB, free: 8.645 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003618/0.3937, allocations: 75.94 kB / 0.7884 GB, free: 8.57 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000498/0.3942, allocations: 124.2 kB / 0.7885 GB, free: 8.434 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006214/0.3948, allocations: 176.5 kB / 0.7887 GB, free: 8.242 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.131e-06/0.3949, allocations: 8 kB / 0.7887 GB, free: 8.234 MB / 0.6075 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0009678/0.3958, allocations: 263 kB / 0.789 GB, free: 7.965 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 7.05e-05/0.3959, allocations: 37.7 kB / 0.789 GB, free: 7.922 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.628e-06/0.3959, allocations: 0 / 0.789 GB, free: 7.922 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.694e-05/0.396, allocations: 4 kB / 0.789 GB, free: 7.918 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000204/0.3962, allocations: 28.03 kB / 0.789 GB, free: 7.891 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.432e-05/0.3962, allocations: 4 kB / 0.789 GB, free: 7.887 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003836/0.3966, allocations: 47.8 kB / 0.7891 GB, free: 7.84 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.799e-05/0.3967, allocations: 11.98 kB / 0.7891 GB, free: 7.828 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.0002702/0.397, allocations: 125.8 kB / 0.7892 GB, free: 7.695 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.953e-05/0.397, allocations: 15.84 kB / 0.7892 GB, free: 7.68 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007819/0.3978, allocations: 169.9 kB / 0.7894 GB, free: 7.508 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.294e-06/0.3978, allocations: 0 / 0.7894 GB, free: 7.508 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.697e-06/0.3979, allocations: 0 / 0.7894 GB, free: 7.508 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.249e-05/0.3979, allocations: 3.984 kB / 0.7894 GB, free: 7.504 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001313/0.3992, allocations: 446.3 kB / 0.7898 GB, free: 7.012 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.057e-06/0.3992, allocations: 0 / 0.7898 GB, free: 7.012 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001453/0.3994, allocations: 19.97 kB / 0.7898 GB, free: 6.992 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.692e-06/0.3994, allocations: 0 / 0.7898 GB, free: 6.992 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.567e-05/0.3995, allocations: 11.94 kB / 0.7899 GB, free: 6.98 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.557e-06/0.3995, allocations: 0 / 0.7899 GB, free: 6.98 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.258e-06/0.3995, allocations: 3.938 kB / 0.7899 GB, free: 6.977 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000726/0.4002, allocations: 259.2 kB / 0.7901 GB, free: 6.707 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 8.307e-05/0.4003, allocations: 85.02 kB / 0.7902 GB, free: 6.605 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.464e-05/0.4004, allocations: 4 kB / 0.7902 GB, free: 6.602 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001834/0.4006, allocations: 19.97 kB / 0.7902 GB, free: 6.582 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001039/0.4007, allocations: 15.92 kB / 0.7902 GB, free: 6.566 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.031e-05/0.4007, allocations: 7.984 kB / 0.7902 GB, free: 6.559 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 9.665e-05/0.4008, allocations: 101.1 kB / 0.7903 GB, free: 6.461 MB / 0.6075 GB Notification: Performance of sort global known variables: time 5.21e-07/0.4008, allocations: 0 / 0.7903 GB, free: 6.461 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0004482/0.4013, allocations: 35.97 kB / 0.7904 GB, free: 6.426 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.0003137/0.4016, allocations: 116.3 kB / 0.7905 GB, free: 6.309 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0008757/0.4025, allocations: 240 kB / 0.7907 GB, free: 6.062 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 6.983e-06/0.4025, allocations: 0 / 0.7907 GB, free: 6.062 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0002823/0.4028, allocations: 67.89 kB / 0.7908 GB, free: 5.996 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00049/0.4033, allocations: 16.67 kB / 0.7908 GB, free: 5.98 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008498/0.4042, allocations: 246.1 kB / 0.791 GB, free: 5.703 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005075/0.4047, allocations: 0.7043 MB / 0.7917 GB, free: 4.973 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.812e-05/0.4048, allocations: 15.42 kB / 0.7917 GB, free: 4.957 MB / 0.6075 GB Notification: Performance of SimCode: time 8.42e-07/0.4048, allocations: 0 / 0.7917 GB, free: 4.957 MB / 0.6075 GB Notification: Performance of Templates: time 0.006091/0.4109, allocations: 1.631 MB / 0.7933 GB, free: 3.34 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