Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.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.IntegerSignals.AssignClock,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock") translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009342/0.0009341, allocations: 92.06 kB / 16.95 MB, free: 5.953 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.0009193/0.0009194, allocations: 178.5 kB / 17.84 MB, free: 5.617 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.415/1.415, allocations: 223.3 MB / 241.9 MB, free: 304 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002897/0.00029, allocations: 4 kB / 301.4 MB, free: 6.473 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1219/0.1222, allocations: 50.43 MB / 351.9 MB, free: 4.027 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock): time 0.001436/0.1237, allocations: 0.5386 MB / 352.4 MB, free: 3.488 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004062/0.1241, allocations: 127.6 kB / 352.5 MB, free: 3.363 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001058/0.1242, allocations: 0 / 352.5 MB, free: 3.363 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001066/0.1244, allocations: 11.94 kB / 352.5 MB, free: 3.352 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001459/0.1245, allocations: 3.984 kB / 352.6 MB, free: 3.348 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002702/0.1248, allocations: 31.91 kB / 352.6 MB, free: 3.316 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001135/0.1249, allocations: 39.84 kB / 352.6 MB, free: 3.277 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001158/0.125, allocations: 16 kB / 352.6 MB, free: 3.262 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.92e-05/0.1251, allocations: 15.92 kB / 352.7 MB, free: 3.246 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.151e-05/0.1252, allocations: 15.92 kB / 352.7 MB, free: 3.23 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.854e-05/0.1252, allocations: 0 / 352.7 MB, free: 3.23 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.219e-05/0.1252, allocations: 3.938 kB / 352.7 MB, free: 3.227 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 4.289e-05/0.1253, allocations: 15.94 kB / 352.7 MB, free: 3.211 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 4.571e-05/0.1253, allocations: 41.58 kB / 352.7 MB, free: 3.164 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 9.128e-05/0.1254, allocations: 43.91 kB / 352.8 MB, free: 3.121 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.661e-06/0.1254, allocations: 0 / 352.8 MB, free: 3.121 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.873e-06/0.1254, allocations: 0 / 352.8 MB, free: 3.121 MB / 286.1 MB Notification: Performance of Transformations before backend: time 4.208e-06/0.1254, allocations: 4 kB / 352.8 MB, free: 3.117 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0005211/0.126, allocations: 359.3 kB / 353.1 MB, free: 2.719 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.436e-05/0.126, allocations: 8.031 kB / 353.1 MB, free: 2.711 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.61e-05/0.1261, allocations: 15.86 kB / 353.2 MB, free: 2.695 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002304/0.1263, allocations: 190.8 kB / 353.3 MB, free: 2.469 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.446e-05/0.1263, allocations: 7.938 kB / 353.3 MB, free: 2.461 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.699e-05/0.1263, allocations: 8 kB / 353.4 MB, free: 2.453 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003144/0.1267, allocations: 131.3 kB / 353.5 MB, free: 2.312 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.284e-06/0.1267, allocations: 0 / 353.5 MB, free: 2.312 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.404e-05/0.1267, allocations: 3.953 kB / 353.5 MB, free: 2.309 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.814e-06/0.1267, allocations: 4 kB / 353.5 MB, free: 2.305 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.523e-05/0.1268, allocations: 23.98 kB / 353.5 MB, free: 2.281 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000172/0.127, allocations: 169.6 kB / 353.7 MB, free: 2.066 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000154/0.1271, allocations: 82.67 kB / 353.8 MB, free: 1.977 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.994e-05/0.1272, allocations: 40.84 kB / 353.8 MB, free: 1.934 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.114e-05/0.1272, allocations: 4 kB / 353.8 MB, free: 1.93 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.405e-05/0.1272, allocations: 30.56 kB / 353.8 MB, free: 1.891 MB / 286.1 MB Notification: Performance of pre-optimization done (n=8): time 1.483e-06/0.1272, allocations: 0 / 353.8 MB, free: 1.891 MB / 286.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002203/0.1275, allocations: 105.5 kB / 353.9 MB, free: 1.781 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.316e-05/0.1275, allocations: 63.36 kB / 354 MB, free: 1.707 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001347/0.1277, allocations: 148.4 kB / 354.1 MB, free: 1.551 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.678e-05/0.1277, allocations: 25.7 kB / 354.2 MB, free: 1.52 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.259e-05/0.1278, allocations: 92.08 kB / 354.3 MB, free: 1.426 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.577e-05/0.1278, allocations: 8 kB / 354.3 MB, free: 1.418 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.366e-06/0.1278, allocations: 0 / 354.3 MB, free: 1.418 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001339/0.1279, allocations: 318.8 kB / 354.6 MB, free: 1.098 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.301e-05/0.128, allocations: 8 kB / 354.6 MB, free: 1.09 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.006e-05/0.128, allocations: 66.8 kB / 354.6 MB, free: 1 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.665e-05/0.1281, allocations: 16 kB / 354.7 MB, free: 0.9844 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.1281, allocations: 4 kB / 354.7 MB, free: 0.9805 MB / 286.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000145/0.1282, allocations: 93.58 kB / 354.8 MB, free: 0.8828 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.814e-05/0.1283, allocations: 8 kB / 354.8 MB, free: 0.875 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.481e-06/0.1283, allocations: 3.938 kB / 354.8 MB, free: 0.8711 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.449e-05/0.1283, allocations: 4 kB / 354.8 MB, free: 0.8672 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.39e-05/0.1284, allocations: 15.98 kB / 354.8 MB, free: 0.8516 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.205e-05/0.1284, allocations: 7.953 kB / 354.8 MB, free: 0.8438 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.3e-05/0.1284, allocations: 8.188 kB / 354.8 MB, free: 0.8359 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.636e-06/0.1284, allocations: 4 kB / 354.8 MB, free: 0.832 MB / 286.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 9 (sum.y,sum.u[2],sum.u[1],const.y,unitDelay1.y,unitDelay1.u,$CLKPRE.unitDelay1.u,assignClock1.y,assignClock1.u) * Number of discrete states: 0 () * Number of clocked states: 1 (unitDelay1.u) * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * 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.0001172/0.1286, allocations: 129.8 kB / 354.9 MB, free: 0.6953 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000122/0.1287, allocations: 85.7 kB / 355 MB, free: 0.6055 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.142e-05/0.1288, allocations: 16.72 kB / 355 MB, free: 0.5859 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.1288, allocations: 0 / 355 MB, free: 0.5859 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/0.1288, allocations: 0 / 355 MB, free: 0.5859 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.23e-06/0.1288, allocations: 3.953 kB / 355 MB, free: 0.582 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000128/0.1289, allocations: 181.5 kB / 355.2 MB, free: 364 kB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.1289, allocations: 0 / 355.2 MB, free: 364 kB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.355e-05/0.129, allocations: 19.92 kB / 355.2 MB, free: 344 kB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.106e-06/0.129, allocations: 0 / 355.2 MB, free: 344 kB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.157e-06/0.129, allocations: 4 kB / 355.2 MB, free: 340 kB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.412e-06/0.129, allocations: 0 / 355.2 MB, free: 340 kB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.129, allocations: 0 / 355.2 MB, free: 340 kB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000146/0.1292, allocations: 109 kB / 355.3 MB, free: 212 kB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.158e-05/0.1293, allocations: 100.9 kB / 355.4 MB, free: 92 kB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.831e-05/0.1293, allocations: 4 kB / 355.5 MB, free: 88 kB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.232e-05/0.1293, allocations: 0 / 355.5 MB, free: 88 kB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.226e-06/0.1293, allocations: 0 / 355.5 MB, free: 88 kB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.846e-06/0.1293, allocations: 8 kB / 355.5 MB, free: 80 kB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001034/0.1294, allocations: 107.2 kB / 355.6 MB, free: 15.97 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1295, allocations: 0 / 355.6 MB, free: 15.97 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002053/0.1297, allocations: 8 kB / 355.6 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: 8 (assignClock1.u,assignClock1.y,unitDelay1.u,unitDelay1.y,const.y,sum.u[1],sum.u[2],sum.y) * Number of discrete states: 0 () * Number of clocked states: 1 (unitDelay1.u) * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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.0001236/0.1298, allocations: 111.1 kB / 355.7 MB, free: 15.85 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001277/0.1299, allocations: 43.92 kB / 355.7 MB, free: 15.8 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.1299, allocations: 0 / 355.7 MB, free: 15.8 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 8.31e-07/0.1299, allocations: 0 / 355.7 MB, free: 15.8 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003254/0.1303, allocations: 55.89 kB / 355.8 MB, free: 15.75 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003641/0.1306, allocations: 212.6 kB / 356 MB, free: 15.51 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003212/0.131, allocations: 0.7004 MB / 356.7 MB, free: 14.79 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.082e-05/0.131, allocations: 11.44 kB / 356.7 MB, free: 14.77 MB / 302.1 MB Notification: Performance of SimCode: time 1.9e-07/0.131, allocations: 0 / 356.7 MB, free: 14.77 MB / 302.1 MB Notification: Performance of Templates: time 0.00287/0.1339, allocations: 0.8636 MB / 357.6 MB, free: 13.91 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.makefile make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.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.IntegerSignals.AssignClockCalcHelperMain.o OMCppModelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockCalcHelperMain.o] Error 1