Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.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.RealSignals.AssignClock,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009355/0.0009358, allocations: 92.62 kB / 16.95 MB, free: 5.949 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.001102/0.001102, allocations: 177.7 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.468/1.468, allocations: 223.2 MB / 241.8 MB, free: 232 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002943/0.0002944, allocations: 4 kB / 301.5 MB, free: 6.453 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1198/0.1201, allocations: 50.42 MB / 351.9 MB, free: 4.02 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock): time 0.001331/0.1215, allocations: 0.6455 MB / 352.5 MB, free: 3.371 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003061/0.1218, allocations: 131.6 kB / 352.6 MB, free: 3.242 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.77e-05/0.1219, allocations: 0 / 352.6 MB, free: 3.242 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 2.951e-05/0.1219, allocations: 3.938 kB / 352.7 MB, free: 3.238 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001284/0.122, allocations: 7.984 kB / 352.7 MB, free: 3.23 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002111/0.1223, allocations: 27.91 kB / 352.7 MB, free: 3.203 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 9.277e-05/0.1224, allocations: 35.86 kB / 352.7 MB, free: 3.168 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001117/0.1225, allocations: 20.16 kB / 352.7 MB, free: 3.145 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.125e-05/0.1225, allocations: 11.94 kB / 352.8 MB, free: 3.133 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.65e-05/0.1226, allocations: 15.92 kB / 352.8 MB, free: 3.117 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.502e-05/0.1226, allocations: 4 kB / 352.8 MB, free: 3.113 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.008e-05/0.1226, allocations: 0 / 352.8 MB, free: 3.113 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 3.668e-05/0.1227, allocations: 15.92 kB / 352.8 MB, free: 3.098 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 3.353e-05/0.1227, allocations: 41.58 kB / 352.8 MB, free: 3.051 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 7.523e-05/0.1228, allocations: 35.92 kB / 352.9 MB, free: 3.016 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.1228, allocations: 0 / 352.9 MB, free: 3.016 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.914e-06/0.1228, allocations: 0 / 352.9 MB, free: 3.016 MB / 286.1 MB Notification: Performance of Transformations before backend: time 3.847e-06/0.1228, allocations: 0 / 352.9 MB, free: 3.016 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.0004183/0.1232, allocations: 367.3 kB / 353.2 MB, free: 2.609 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.795e-05/0.1233, allocations: 8.031 kB / 353.2 MB, free: 2.602 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.201e-05/0.1233, allocations: 11.86 kB / 353.2 MB, free: 2.59 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002118/0.1235, allocations: 194.8 kB / 353.4 MB, free: 2.359 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.252e-05/0.1236, allocations: 4 kB / 353.4 MB, free: 2.355 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.619e-05/0.1236, allocations: 8 kB / 353.4 MB, free: 2.348 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002868/0.1239, allocations: 123.3 kB / 353.6 MB, free: 2.215 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.096e-06/0.1239, allocations: 0 / 353.6 MB, free: 2.215 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.004e-05/0.1239, allocations: 0 / 353.6 MB, free: 2.215 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.747e-06/0.1239, allocations: 3.953 kB / 353.6 MB, free: 2.211 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.145e-05/0.124, allocations: 15.98 kB / 353.6 MB, free: 2.195 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001626/0.1241, allocations: 169.6 kB / 353.8 MB, free: 1.98 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001259/0.1243, allocations: 70.64 kB / 353.8 MB, free: 1.902 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.124e-05/0.1243, allocations: 44.89 kB / 353.9 MB, free: 1.855 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.735e-06/0.1243, allocations: 0 / 353.9 MB, free: 1.855 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.798e-05/0.1244, allocations: 34.56 kB / 353.9 MB, free: 1.812 MB / 286.1 MB Notification: Performance of pre-optimization done (n=8): time 8.72e-07/0.1244, allocations: 0 / 353.9 MB, free: 1.812 MB / 286.1 MB Notification: Performance of matching and sorting (n=8): time 0.0001889/0.1246, allocations: 85.53 kB / 354 MB, free: 1.723 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.595e-05/0.1246, allocations: 59.36 kB / 354 MB, free: 1.652 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001232/0.1248, allocations: 140.5 kB / 354.2 MB, free: 1.508 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.61e-05/0.1248, allocations: 37.64 kB / 354.2 MB, free: 1.465 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.559e-05/0.1248, allocations: 88.14 kB / 354.3 MB, free: 1.375 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.321e-05/0.1249, allocations: 3.906 kB / 354.3 MB, free: 1.371 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.925e-06/0.1249, allocations: 0 / 354.3 MB, free: 1.371 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001431/0.125, allocations: 322.8 kB / 354.6 MB, free: 1.047 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.647e-05/0.125, allocations: 4 kB / 354.6 MB, free: 1.043 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.297e-05/0.1251, allocations: 66.8 kB / 354.7 MB, free: 0.9531 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.351e-05/0.1251, allocations: 12 kB / 354.7 MB, free: 0.9414 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.237e-06/0.1252, allocations: 4 kB / 354.7 MB, free: 0.9375 MB / 286.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001227/0.1253, allocations: 93.48 kB / 354.8 MB, free: 0.8398 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.544e-05/0.1253, allocations: 4 kB / 354.8 MB, free: 0.8359 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.053e-05/0.1253, allocations: 4.188 kB / 354.8 MB, free: 0.832 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.241e-05/0.1253, allocations: 0 / 354.8 MB, free: 0.832 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.422e-05/0.1254, allocations: 19.94 kB / 354.8 MB, free: 0.8125 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.572e-06/0.1254, allocations: 0 / 354.8 MB, free: 0.8125 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.745e-05/0.1255, allocations: 11.86 kB / 354.8 MB, free: 0.8008 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.945e-06/0.1255, allocations: 7.938 kB / 354.8 MB, free: 0.793 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: 0 () * 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 9.245e-05/0.1256, allocations: 126.1 kB / 355 MB, free: 0.6602 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.803e-05/0.1257, allocations: 77.73 kB / 355 MB, free: 0.5781 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.503e-05/0.1257, allocations: 8.719 kB / 355 MB, free: 0.5664 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.127e-06/0.1257, allocations: 4 kB / 355.1 MB, free: 0.5625 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.1258, allocations: 0 / 355.1 MB, free: 0.5625 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.956e-06/0.1258, allocations: 0 / 355.1 MB, free: 0.5625 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001192/0.1259, allocations: 177.5 kB / 355.2 MB, free: 348 kB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.1259, allocations: 0 / 355.2 MB, free: 348 kB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.652e-05/0.126, allocations: 19.94 kB / 355.2 MB, free: 328 kB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.186e-06/0.126, allocations: 4 kB / 355.2 MB, free: 324 kB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.783e-06/0.126, allocations: 0 / 355.2 MB, free: 324 kB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-06/0.126, allocations: 0 / 355.2 MB, free: 324 kB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.126, allocations: 4 kB / 355.3 MB, free: 320 kB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001266/0.1261, allocations: 105.4 kB / 355.4 MB, free: 196 kB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.046e-05/0.1262, allocations: 93 kB / 355.4 MB, free: 84 kB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.57e-05/0.1262, allocations: 0 / 355.4 MB, free: 84 kB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.57e-05/0.1262, allocations: 0 / 355.4 MB, free: 84 kB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.512e-06/0.1262, allocations: 0 / 355.4 MB, free: 84 kB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.813e-06/0.1263, allocations: 11.98 kB / 355.5 MB, free: 72 kB / 286.1 MB Notification: Performance of sorting global known variables: time 8.351e-05/0.1263, allocations: 107.2 kB / 355.6 MB, free: 15.96 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1264, allocations: 0 / 355.6 MB, free: 15.96 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0001975/0.1266, 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: 0 () * 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.0001414/0.1267, allocations: 103.2 kB / 355.7 MB, free: 15.85 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001185/0.1268, allocations: 40.45 kB / 355.7 MB, free: 15.81 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 5.12e-06/0.1268, allocations: 4.062 kB / 355.7 MB, free: 15.8 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 6.21e-07/0.1268, 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.0003691/0.1272, allocations: 54.64 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.0003491/0.1276, allocations: 209.1 kB / 356 MB, free: 15.51 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003449/0.1279, 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.131e-05/0.128, allocations: 11.44 kB / 356.7 MB, free: 14.77 MB / 302.1 MB Notification: Performance of SimCode: time 2.6e-07/0.128, allocations: 0 / 356.7 MB, free: 14.77 MB / 302.1 MB Notification: Performance of Templates: time 0.002493/0.1305, allocations: 0.7864 MB / 357.5 MB, free: 13.99 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.makefile make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.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.RealSignals.AssignClockCalcHelperMain.o OMCppModelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockCalcHelperMain.o] Error 1