Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.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) 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(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009733/0.0009734, allocations: 94.28 kB / 16.96 MB, free: 6.457 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001063/0.001063, allocations: 179.9 kB / 17.85 MB, free: 6 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.471/1.471, allocations: 223.3 MB / 241.9 MB, free: 256 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002832/0.0002832, allocations: 4 kB / 301.4 MB, free: 6.434 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1382/0.1385, allocations: 50.42 MB / 351.9 MB, free: 4 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep): time 0.001804/0.1403, allocations: 1.127 MB / 353 MB, free: 2.859 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002883/0.1406, allocations: 104.4 kB / 353.1 MB, free: 2.758 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.915e-05/0.1407, allocations: 0 / 353.1 MB, free: 2.758 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 1.938e-05/0.1407, allocations: 11.92 kB / 353.1 MB, free: 2.746 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 4.147e-05/0.1408, allocations: 4 kB / 353.1 MB, free: 2.742 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003114/0.1411, allocations: 23.98 kB / 353.1 MB, free: 2.719 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 8.783e-05/0.1412, allocations: 23.92 kB / 353.2 MB, free: 2.695 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001038/0.1413, allocations: 4 kB / 353.2 MB, free: 2.691 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.342e-05/0.1414, allocations: 11.92 kB / 353.2 MB, free: 2.68 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.184e-05/0.1414, allocations: 7.938 kB / 353.2 MB, free: 2.672 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.032e-05/0.1414, allocations: 4 kB / 353.2 MB, free: 2.668 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.126e-05/0.1414, allocations: 0 / 353.2 MB, free: 2.668 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 2.026e-05/0.1415, allocations: 3.984 kB / 353.2 MB, free: 2.664 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 3.712e-05/0.1415, allocations: 33.64 kB / 353.2 MB, free: 2.625 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 7.488e-05/0.1416, allocations: 19.97 kB / 353.2 MB, free: 2.605 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.031e-06/0.1416, allocations: 0 / 353.2 MB, free: 2.605 MB / 286.1 MB Notification: Performance of FrontEnd: time 5.169e-06/0.1416, allocations: 0 / 353.2 MB, free: 2.605 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.36e-06/0.1416, allocations: 3.938 kB / 353.3 MB, free: 2.602 MB / 286.1 MB 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.0005059/0.1421, allocations: 335.5 kB / 353.6 MB, free: 2.227 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.818e-05/0.1422, allocations: 12.03 kB / 353.6 MB, free: 2.215 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.87e-05/0.1422, allocations: 3.953 kB / 353.6 MB, free: 2.211 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002281/0.1425, allocations: 171 kB / 353.8 MB, free: 2.004 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.236e-05/0.1425, allocations: 4 kB / 353.8 MB, free: 2 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.261e-05/0.1425, allocations: 8 kB / 353.8 MB, free: 1.992 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003041/0.1428, allocations: 99.31 kB / 353.9 MB, free: 1.883 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.677e-06/0.1429, allocations: 0 / 353.9 MB, free: 1.883 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.367e-06/0.1429, allocations: 0 / 353.9 MB, free: 1.883 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-06/0.1429, allocations: 0 / 353.9 MB, free: 1.883 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.74e-05/0.143, allocations: 19.95 kB / 353.9 MB, free: 1.863 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001781/0.1431, allocations: 157.7 kB / 354 MB, free: 1.66 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001399/0.1433, allocations: 54.53 kB / 354.1 MB, free: 1.598 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.672e-05/0.1434, allocations: 20.89 kB / 354.1 MB, free: 1.574 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.399e-05/0.1434, allocations: 4 kB / 354.1 MB, free: 1.57 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.29e-05/0.1434, allocations: 34.56 kB / 354.2 MB, free: 1.527 MB / 286.1 MB Notification: Performance of pre-optimization done (n=4): time 1.173e-06/0.1434, allocations: 0 / 354.2 MB, free: 1.527 MB / 286.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002209/0.1437, allocations: 61.62 kB / 354.2 MB, free: 1.461 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.22e-05/0.1437, allocations: 55.41 kB / 354.3 MB, free: 1.395 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001167/0.1439, allocations: 105.8 kB / 354.4 MB, free: 1.281 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.768e-05/0.1439, allocations: 29.7 kB / 354.4 MB, free: 1.246 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.825e-05/0.1439, allocations: 88.14 kB / 354.5 MB, free: 1.156 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.788e-06/0.144, allocations: 3.984 kB / 354.5 MB, free: 1.152 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.226e-06/0.144, allocations: 3.938 kB / 354.5 MB, free: 1.148 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001367/0.1441, allocations: 314.8 kB / 354.8 MB, free: 0.832 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.556e-05/0.1441, allocations: 4 kB / 354.8 MB, free: 0.8281 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.911e-05/0.1442, allocations: 23.62 kB / 354.8 MB, free: 0.793 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.876e-05/0.1442, allocations: 15.98 kB / 354.8 MB, free: 0.7773 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.1442, allocations: 0 / 354.8 MB, free: 0.7773 MB / 286.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.721e-05/0.1443, allocations: 57.48 kB / 354.9 MB, free: 0.7148 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.452e-05/0.1443, allocations: 7.938 kB / 354.9 MB, free: 0.707 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.248e-06/0.1443, allocations: 4.094 kB / 354.9 MB, free: 0.7031 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.585e-05/0.1443, allocations: 3.984 kB / 354.9 MB, free: 0.6992 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.478e-05/0.1444, allocations: 7.984 kB / 354.9 MB, free: 0.6914 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.504e-06/0.1444, allocations: 4.125 kB / 354.9 MB, free: 0.6875 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.906e-05/0.1444, allocations: 0 / 354.9 MB, free: 0.6875 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.094e-06/0.1445, allocations: 7.953 kB / 354.9 MB, free: 0.6797 MB / 286.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 3 (assignClock1.y,assignClock1.u,step.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * 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.0001056/0.1446, allocations: 117.8 kB / 355.1 MB, free: 0.5547 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.838e-05/0.1447, allocations: 53.62 kB / 355.1 MB, free: 0.4961 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.897e-05/0.1447, allocations: 7.5 kB / 355.1 MB, free: 492 kB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.1447, allocations: 0 / 355.1 MB, free: 492 kB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.04e-06/0.1447, allocations: 0 / 355.1 MB, free: 492 kB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.1448, allocations: 4 kB / 355.1 MB, free: 488 kB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001265/0.1449, allocations: 165.5 kB / 355.3 MB, free: 272 kB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.133e-06/0.1449, allocations: 0 / 355.3 MB, free: 272 kB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.975e-05/0.1449, allocations: 4.25 kB / 355.3 MB, free: 268 kB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.1449, allocations: 0 / 355.3 MB, free: 268 kB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.064e-05/0.1449, allocations: 4 kB / 355.3 MB, free: 264 kB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.1449, allocations: 0 / 355.3 MB, free: 264 kB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.006e-06/0.145, allocations: 3.984 kB / 355.3 MB, free: 260 kB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001353/0.1451, allocations: 93 kB / 355.4 MB, free: 148 kB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.274e-05/0.1452, allocations: 77.11 kB / 355.5 MB, free: 52 kB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.32e-05/0.1452, allocations: 4 kB / 355.5 MB, free: 48 kB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.809e-05/0.1452, allocations: 0 / 355.5 MB, free: 48 kB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.532e-06/0.1452, allocations: 0 / 355.5 MB, free: 48 kB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.096e-06/0.1452, allocations: 0 / 355.5 MB, free: 48 kB / 286.1 MB Notification: Performance of sorting global known variables: time 5.896e-05/0.1453, allocations: 87.27 kB / 355.5 MB, free: 15.96 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1453, allocations: 4 kB / 355.5 MB, free: 15.96 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0001862/0.1455, allocations: 0 / 355.5 MB, free: 15.96 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (step.y,assignClock1.u,assignClock1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0001361/0.1456, allocations: 103.2 kB / 355.7 MB, free: 15.84 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001092/0.1457, allocations: 23.92 kB / 355.7 MB, free: 15.82 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.995e-06/0.1457, allocations: 0 / 355.7 MB, free: 15.82 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.41e-07/0.1458, allocations: 0 / 355.7 MB, free: 15.82 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002471/0.146, allocations: 19.95 kB / 355.7 MB, free: 15.8 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003295/0.1463, allocations: 162.5 kB / 355.9 MB, free: 15.61 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002781/0.1466, allocations: 0.6809 MB / 356.5 MB, free: 14.9 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.259e-05/0.1467, allocations: 7.438 kB / 356.5 MB, free: 14.89 MB / 302.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1467, allocations: 0 / 356.5 MB, free: 14.89 MB / 302.1 MB Notification: Performance of Templates: time 0.002168/0.1488, allocations: 0.5347 MB / 357.1 MB, free: 14.36 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.makefile make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.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 OMCppModelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStepCalcHelperMain.o OMCppModelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStepCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStepCalcHelperMain.o] Error 1