Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_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 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.OBC.CDL.Logical.Validation.ZeroCrossing,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|zeroCrossing.u|zeroCrossing.enable|triggeredSampler.u|triggeredSampler.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.ZeroCrossing") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.ZeroCrossing,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|zeroCrossing.u|zeroCrossing.enable|triggeredSampler.u|triggeredSampler.y",fileNamePrefix="Buildings_latest_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.001003/0.001003, allocations: 102.8 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.0009754/0.0009754, allocations: 170.6 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.483/1.483, allocations: 223.3 MB / 240.6 MB, free: 5.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.85/2.85, allocations: 436.7 MB / 0.7113 GB, free: 7.848 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.000517/0.0005173, allocations: 8 kB / 0.8717 GB, free: 4.742 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8643/0.8649, allocations: 153.7 MB / 1.022 GB, free: 1.102 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.ZeroCrossing): time 0.001071/0.866, allocations: 0.5176 MB / 1.022 GB, free: 0.5859 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001651/0.8677, allocations: 1.179 MB / 1.023 GB, free: 15.39 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.783e-05/0.8677, allocations: 4 kB / 1.023 GB, free: 15.39 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.742e-05/0.8678, allocations: 0 / 1.023 GB, free: 15.39 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 8.234e-05/0.8679, allocations: 11.86 kB / 1.023 GB, free: 15.38 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004945/0.8684, allocations: 134.4 kB / 1.024 GB, free: 15.25 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001507/0.8685, allocations: 123.7 kB / 1.024 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001038/0.8686, allocations: 20.2 kB / 1.024 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001052/0.8687, allocations: 55.83 kB / 1.024 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001058/0.8689, allocations: 51.81 kB / 1.024 GB, free: 15 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.715e-05/0.8689, allocations: 8 kB / 1.024 GB, free: 14.99 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 6.668e-05/0.869, allocations: 27.97 kB / 1.024 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 2.525e-05/0.869, allocations: 15.92 kB / 1.024 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 6.127e-05/0.8691, allocations: 37.7 kB / 1.024 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001453/0.8692, allocations: 99.77 kB / 1.024 GB, free: 14.81 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 6.241e-06/0.8692, allocations: 3.938 kB / 1.024 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of FrontEnd: time 6.442e-06/0.8692, allocations: 0 / 1.024 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 8.967e-06/0.8693, allocations: 3.938 kB / 1.024 GB, free: 14.8 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0007713/0.87, allocations: 436.6 kB / 1.024 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 5.03e-05/0.8701, allocations: 11.98 kB / 1.024 GB, free: 14.31 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.504e-05/0.8702, allocations: 15.81 kB / 1.024 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000157/0.8703, allocations: 167 kB / 1.025 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.385e-05/0.8704, allocations: 8 kB / 1.025 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.097e-05/0.8704, allocations: 11.98 kB / 1.025 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003078/0.8707, allocations: 113.6 kB / 1.025 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.586e-06/0.8707, allocations: 0 / 1.025 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.361e-05/0.8708, allocations: 0 / 1.025 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.973e-06/0.8708, allocations: 4 kB / 1.025 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000339/0.8711, allocations: 115.8 kB / 1.025 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006361/0.8718, allocations: 384.6 kB / 1.025 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000267/0.872, allocations: 114.6 kB / 1.025 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001742/0.8722, allocations: 64.81 kB / 1.025 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.643e-05/0.8723, allocations: 4 kB / 1.025 GB, free: 13.22 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003332/0.8726, allocations: 127.3 kB / 1.025 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=12): time 1.362e-06/0.8726, allocations: 0 / 1.025 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of matching and sorting (n=12): time 0.0006477/0.8733, allocations: 253.3 kB / 1.026 GB, free: 12.83 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.903e-05/0.8733, allocations: 51.41 kB / 1.026 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001107/0.8734, allocations: 131.6 kB / 1.026 GB, free: 12.63 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.986e-05/0.8735, allocations: 29.7 kB / 1.026 GB, free: 12.6 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 7.104e-05/0.8735, allocations: 100.1 kB / 1.026 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.421e-05/0.8736, allocations: 35.59 kB / 1.026 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.384e-05/0.8736, allocations: 0 / 1.026 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001347/0.8737, allocations: 330.8 kB / 1.026 GB, free: 12.13 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002337/0.874, allocations: 87.94 kB / 1.026 GB, free: 12.04 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002513/0.8742, allocations: 128.1 kB / 1.027 GB, free: 11.9 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002386/0.8745, allocations: 113.7 kB / 1.027 GB, free: 11.79 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.8745, allocations: 0 / 1.027 GB, free: 11.79 MB / 0.7794 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0006134/0.8751, allocations: 291.9 kB / 1.027 GB, free: 11.49 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 4.291e-05/0.8752, allocations: 37.69 kB / 1.027 GB, free: 11.45 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.296e-06/0.8752, allocations: 0 / 1.027 GB, free: 11.45 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.566e-05/0.8752, allocations: 7.938 kB / 1.027 GB, free: 11.44 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001415/0.8754, allocations: 28.11 kB / 1.027 GB, free: 11.41 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.774e-06/0.8754, allocations: 0 / 1.027 GB, free: 11.41 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002489/0.8756, allocations: 71.78 kB / 1.027 GB, free: 11.34 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.404e-05/0.8757, allocations: 4 kB / 1.027 GB, free: 11.34 MB / 0.7794 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 ($PRE.triggeredSampler.y,triggeredSampler.y,$whenCondition1,$whenCondition2,$whenCondition3,$PRE.booPul1.y,booPul1.y,zeroCrossing.y,$PRE.zeroCrossing.enable,zeroCrossing.enable,$PRE.zeroCrossing.disable,zeroCrossing.disable,$PRE.zeroCrossing.u_pos,zeroCrossing.u_pos) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001264/0.8758, allocations: 137.7 kB / 1.027 GB, free: 11.19 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.66e-05/0.8758, allocations: 7.906 kB / 1.027 GB, free: 11.18 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004802/0.8763, allocations: 186 kB / 1.027 GB, free: 11 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.704e-06/0.8763, allocations: 7.984 kB / 1.027 GB, free: 10.99 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.544e-06/0.8763, allocations: 0 / 1.027 GB, free: 10.99 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/0.8763, allocations: 0 / 1.027 GB, free: 10.99 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006836/0.877, allocations: 478.2 kB / 1.028 GB, free: 10.46 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.877, allocations: 0 / 1.028 GB, free: 10.46 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001008/0.8771, allocations: 23.92 kB / 1.028 GB, free: 10.44 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/0.8772, allocations: 0 / 1.028 GB, free: 10.44 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.432e-05/0.8772, allocations: 4 kB / 1.028 GB, free: 10.44 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.884e-06/0.8772, allocations: 0 / 1.028 GB, free: 10.44 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/0.8772, allocations: 4 kB / 1.028 GB, free: 10.43 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000447/0.8776, allocations: 283.2 kB / 1.028 GB, free: 10.14 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.305e-05/0.8777, allocations: 89 kB / 1.028 GB, free: 10.04 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.179e-05/0.8777, allocations: 0 / 1.028 GB, free: 10.04 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001148/0.8779, allocations: 15.98 kB / 1.028 GB, free: 10.02 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.264e-05/0.8779, allocations: 19.97 kB / 1.028 GB, free: 10 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.137e-05/0.878, allocations: 4 kB / 1.028 GB, free: 9.996 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 6.116e-05/0.878, allocations: 102.6 kB / 1.028 GB, free: 9.898 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.878, allocations: 0 / 1.028 GB, free: 9.898 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002758/0.8783, allocations: 39.89 kB / 1.028 GB, free: 9.859 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 (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 (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.0002073/0.8785, allocations: 119.1 kB / 1.029 GB, free: 9.734 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0005729/0.8791, allocations: 255.2 kB / 1.029 GB, free: 9.473 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.8791, allocations: 0 / 1.029 GB, free: 9.473 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0002066/0.8793, allocations: 85.17 kB / 1.029 GB, free: 9.391 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002983/0.8796, allocations: 22.52 kB / 1.029 GB, free: 9.371 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004963/0.8801, allocations: 254.9 kB / 1.029 GB, free: 9.09 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003185/0.8805, allocations: 0.6965 MB / 1.03 GB, free: 8.367 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.448e-05/0.8805, allocations: 15.44 kB / 1.03 GB, free: 8.352 MB / 0.7794 GB Notification: Performance of SimCode: time 2.2e-07/0.8805, allocations: 0 / 1.03 GB, free: 8.352 MB / 0.7794 GB Notification: Performance of Templates: time 0.003662/0.8842, allocations: 1.622 MB / 1.031 GB, free: 6.742 MB / 0.7794 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.ZeroCrossing.makefile make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.ZeroCrossing.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.OBC.CDL.Logical.Validation.ZeroCrossingCalcHelperMain.o OMCppBuildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.ZeroCrossingCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.ZeroCrossingCalcHelperMain.o] Error 1