Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.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.OBC.CDL.Integers.Validation.OnCounter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|onCounter.trigger|onCounter.reset|onCounter.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|onCounter.trigger|onCounter.reset|onCounter.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007998/0.0007997, allocations: 100.5 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.0009116/0.0009115, allocations: 178.1 kB / 16.58 MB, free: 6.879 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.537/1.537, allocations: 223.2 MB / 240.6 MB, free: 5.434 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.495/2.495, allocations: 390.4 MB / 0.6662 GB, free: 2.879 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003328/0.0003328, allocations: 12 kB / 0.8154 GB, free: 14.15 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8876/0.888, allocations: 142.3 MB / 0.9544 GB, free: 8.055 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter): time 0.0008824/0.8889, allocations: 406.1 kB / 0.9548 GB, free: 7.746 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001415/0.8903, allocations: 1.178 MB / 0.956 GB, free: 6.797 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.139e-05/0.8904, allocations: 0 / 0.956 GB, free: 6.797 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.781e-05/0.8904, allocations: 4.812 kB / 0.956 GB, free: 6.793 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.313e-05/0.8905, allocations: 8.828 kB / 0.956 GB, free: 6.785 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006482/0.8911, allocations: 192.8 kB / 0.9562 GB, free: 6.668 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001595/0.8913, allocations: 143.3 kB / 0.9563 GB, free: 6.582 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.469e-05/0.8914, allocations: 9.016 kB / 0.9563 GB, free: 6.578 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001043/0.8915, allocations: 59.86 kB / 0.9564 GB, free: 6.551 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001014/0.8916, allocations: 57.88 kB / 0.9564 GB, free: 6.508 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.157e-05/0.8916, allocations: 8.75 kB / 0.9564 GB, free: 6.508 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 7.962e-05/0.8917, allocations: 27.17 kB / 0.9564 GB, free: 6.496 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.04e-05/0.8918, allocations: 7.438 kB / 0.9565 GB, free: 6.492 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 5.62e-05/0.8918, allocations: 40.45 kB / 0.9565 GB, free: 6.457 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001486/0.892, allocations: 108.8 kB / 0.9566 GB, free: 6.375 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.953e-06/0.892, allocations: 1.188 kB / 0.9566 GB, free: 6.375 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.693e-06/0.892, allocations: 0 / 0.9566 GB, free: 6.375 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.738e-06/0.892, allocations: 0 / 0.9566 GB, free: 6.375 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003651/0.8924, allocations: 417.5 kB / 0.957 GB, free: 5.93 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.684e-05/0.8924, allocations: 8.219 kB / 0.957 GB, free: 5.93 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.124e-05/0.8925, allocations: 12.09 kB / 0.957 GB, free: 5.926 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.098e-05/0.8926, allocations: 170.4 kB / 0.9572 GB, free: 5.723 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.66e-05/0.8926, allocations: 8.406 kB / 0.9572 GB, free: 5.719 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.513e-05/0.8927, allocations: 13.39 kB / 0.9572 GB, free: 5.715 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001135/0.8928, allocations: 43.62 kB / 0.9572 GB, free: 5.676 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.055e-06/0.8928, allocations: 0 / 0.9572 GB, free: 5.676 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.298e-05/0.8928, allocations: 9.047 kB / 0.9572 GB, free: 5.668 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.224e-06/0.8928, allocations: 4.953 kB / 0.9573 GB, free: 5.664 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.123e-05/0.8929, allocations: 18.64 kB / 0.9573 GB, free: 5.652 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004657/0.8933, allocations: 356.4 kB / 0.9576 GB, free: 5.289 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 7.937e-05/0.8934, allocations: 33.52 kB / 0.9576 GB, free: 5.258 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.789e-05/0.8935, allocations: 24.09 kB / 0.9577 GB, free: 5.238 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 6.041e-06/0.8935, allocations: 0 / 0.9577 GB, free: 5.238 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001434/0.8936, allocations: 97.25 kB / 0.9578 GB, free: 5.156 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=9): time 1.293e-06/0.8936, allocations: 4 kB / 0.9578 GB, free: 5.152 MB / 0.7169 GB Notification: Performance of matching and sorting (n=9): time 0.0002762/0.8939, allocations: 120.6 kB / 0.9579 GB, free: 5.086 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.645e-05/0.894, allocations: 58 kB / 0.9579 GB, free: 5.02 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.668e-05/0.894, allocations: 123 kB / 0.958 GB, free: 4.902 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.596e-05/0.8941, allocations: 29.95 kB / 0.9581 GB, free: 4.871 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.331e-05/0.8941, allocations: 93.7 kB / 0.9582 GB, free: 4.781 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.834e-05/0.8942, allocations: 18.12 kB / 0.9582 GB, free: 4.766 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.097e-05/0.8942, allocations: 12.56 kB / 0.9582 GB, free: 4.758 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.333e-05/0.8942, allocations: 324 kB / 0.9585 GB, free: 4.434 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001236/0.8944, allocations: 57.47 kB / 0.9586 GB, free: 4.41 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001514/0.8945, allocations: 114 kB / 0.9587 GB, free: 4.312 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001519/0.8947, allocations: 125.5 kB / 0.9588 GB, free: 4.211 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.8947, allocations: 1.25 kB / 0.9588 GB, free: 4.211 MB / 0.7169 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004334/0.8951, allocations: 279.2 kB / 0.9591 GB, free: 4.027 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 4.752e-05/0.8952, allocations: 73.19 kB / 0.9591 GB, free: 3.953 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.182e-06/0.8952, allocations: 1.406 kB / 0.9591 GB, free: 3.953 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.174e-05/0.8952, allocations: 2.281 kB / 0.9591 GB, free: 3.953 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.113e-05/0.8953, allocations: 9.531 kB / 0.9591 GB, free: 3.949 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.552e-06/0.8953, allocations: 1.688 kB / 0.9591 GB, free: 3.949 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003551/0.8957, allocations: 87.11 kB / 0.9592 GB, free: 3.918 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.333e-05/0.8957, allocations: 13.03 kB / 0.9592 GB, free: 3.914 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 12 ($PRE.onCounter.y,onCounter.y,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition2,$PRE.reset.y,reset.y,$whenCondition1,$PRE.booPul.y,booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 2 * 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.887e-05/0.8958, allocations: 126.7 kB / 0.9594 GB, free: 3.789 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.376e-05/0.8958, allocations: 7.469 kB / 0.9594 GB, free: 3.785 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.918e-05/0.8958, allocations: 14.11 kB / 0.9594 GB, free: 3.773 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.8958, allocations: 1.812 kB / 0.9594 GB, free: 3.773 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.09e-06/0.8959, allocations: 0 / 0.9594 GB, free: 3.773 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.8959, allocations: 0 / 0.9594 GB, free: 3.773 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002707/0.8961, allocations: 361.9 kB / 0.9597 GB, free: 3.418 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.8962, allocations: 0 / 0.9597 GB, free: 3.418 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.083e-05/0.8962, allocations: 5.328 kB / 0.9597 GB, free: 3.414 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.376e-06/0.8962, allocations: 1.375 kB / 0.9597 GB, free: 3.414 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.398e-06/0.8962, allocations: 1.375 kB / 0.9597 GB, free: 3.414 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.555e-06/0.8962, allocations: 0 / 0.9597 GB, free: 3.414 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.8962, allocations: 3.938 kB / 0.9597 GB, free: 3.41 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001681/0.8964, allocations: 200.5 kB / 0.9599 GB, free: 3.242 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.423e-05/0.8964, allocations: 83.67 kB / 0.96 GB, free: 3.145 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.903e-05/0.8964, allocations: 5.266 kB / 0.96 GB, free: 3.141 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.196e-05/0.8965, allocations: 8.812 kB / 0.96 GB, free: 3.133 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.741e-05/0.8965, allocations: 6.953 kB / 0.96 GB, free: 3.129 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.494e-05/0.8966, allocations: 3.375 kB / 0.96 GB, free: 3.129 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.09e-05/0.8966, allocations: 92.3 kB / 0.9601 GB, free: 3.047 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8966, allocations: 0 / 0.9601 GB, free: 3.047 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002809/0.8969, allocations: 32.47 kB / 0.9601 GB, free: 3.043 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 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition2,$whenCondition1,onCounter.y,booPul.y,reset.y) * Number of discrete states: 1 (onCounter.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0001529/0.897, allocations: 112.4 kB / 0.9603 GB, free: 2.941 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.000329/0.8974, allocations: 255 kB / 0.9605 GB, free: 2.746 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.8974, allocations: 0 / 0.9605 GB, free: 2.746 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 6.448e-05/0.8975, allocations: 37.17 kB / 0.9605 GB, free: 2.73 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002891/0.8978, allocations: 17.14 kB / 0.9606 GB, free: 2.723 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003332/0.8981, allocations: 208.2 kB / 0.9607 GB, free: 2.535 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001353/0.8982, allocations: 0.6848 MB / 0.9614 GB, free: 1.836 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.06e-05/0.8983, allocations: 16.42 kB / 0.9614 GB, free: 1.824 MB / 0.7169 GB Notification: Performance of SimCode: time 2e-07/0.8983, allocations: 0 / 0.9614 GB, free: 1.824 MB / 0.7169 GB Notification: Performance of Templates: time 0.002893/0.9012, allocations: 1.475 MB / 0.9629 GB, free: 1.07 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.makefile make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.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.OBC.CDL.Integers.Validation.OnCounterCalcHelperMain.o OMCppBuildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounterCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounterCalcHelperMain.o] Error 1