Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.CascadeControlledDrive.SuperSampled.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.CascadeControlledDrive.SuperSampled,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|load.phi|load.w|PI.x|PI.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.CascadeControlledDrive.SuperSampled") translateModel(Modelica.Clocked.Examples.CascadeControlledDrive.SuperSampled,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|load.phi|load.w|PI.x|PI.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.CascadeControlledDrive.SuperSampled") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001437/0.001437, allocations: 95.3 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.001808/0.001808, 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.566/1.566, allocations: 223.2 MB / 241.8 MB, free: 324 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003578/0.0003578, allocations: 8 kB / 301.4 MB, free: 6.465 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1258/0.1262, allocations: 50.41 MB / 351.9 MB, free: 4.043 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.CascadeControlledDrive.SuperSampled): time 0.002688/0.129, allocations: 1.933 MB / 353.8 MB, free: 2.09 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001392/0.1304, allocations: 0.7448 MB / 354.5 MB, free: 1.34 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001489/0.1306, allocations: 7.938 kB / 354.5 MB, free: 1.332 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002726/0.1308, allocations: 35.77 kB / 354.6 MB, free: 1.297 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001912/0.131, allocations: 47.69 kB / 354.6 MB, free: 1.25 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004674/0.1315, allocations: 127.8 kB / 354.7 MB, free: 1.125 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003649/0.1319, allocations: 331.6 kB / 355.1 MB, free: 0.8008 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000202/0.1321, allocations: 77.86 kB / 355.1 MB, free: 0.7266 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002038/0.1323, allocations: 131.5 kB / 355.3 MB, free: 0.5977 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002028/0.1325, allocations: 143.4 kB / 355.4 MB, free: 468 kB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.973e-05/0.1326, allocations: 20 kB / 355.4 MB, free: 448 kB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.079e-05/0.1326, allocations: 16 kB / 355.5 MB, free: 432 kB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 9.596e-05/0.1327, allocations: 75.72 kB / 355.5 MB, free: 356 kB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 6.904e-05/0.1328, allocations: 65.58 kB / 355.6 MB, free: 284 kB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002267/0.133, allocations: 223.7 kB / 355.8 MB, free: 60 kB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.793e-06/0.1331, allocations: 0 / 355.8 MB, free: 60 kB / 286.1 MB Notification: Performance of FrontEnd: time 1.784e-06/0.1331, allocations: 0 / 355.8 MB, free: 60 kB / 286.1 MB Notification: Performance of Transformations before backend: time 5.22e-06/0.1331, allocations: 0 / 355.8 MB, free: 60 kB / 286.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 70 * Number of variables: 70 Notification: Performance of Generate backend data structure: time 0.001092/0.1342, allocations: 0.581 MB / 356.4 MB, free: 15.43 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.266e-05/0.1342, allocations: 12.03 kB / 356.4 MB, free: 15.42 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.742e-05/0.1343, allocations: 39.58 kB / 356.4 MB, free: 15.38 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003353/0.1347, allocations: 270.3 kB / 356.7 MB, free: 15.08 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002011/0.1349, allocations: 145.6 kB / 356.8 MB, free: 14.92 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.224e-05/0.1349, allocations: 35.94 kB / 356.9 MB, free: 14.88 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001118/0.1361, allocations: 0.5572 MB / 357.4 MB, free: 14.3 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.646e-05/0.1361, allocations: 4 kB / 357.4 MB, free: 14.3 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.385e-05/0.1361, allocations: 8 kB / 357.4 MB, free: 14.29 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.177e-06/0.1361, allocations: 12 kB / 357.5 MB, free: 14.28 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001271/0.1374, allocations: 0.5269 MB / 358 MB, free: 13.75 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001495/0.1389, allocations: 1.022 MB / 359 MB, free: 12.65 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001459/0.1404, allocations: 0.5147 MB / 359.5 MB, free: 12.1 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000588/0.141, allocations: 267.8 kB / 359.8 MB, free: 11.83 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.703e-05/0.1411, allocations: 12.11 kB / 359.8 MB, free: 11.82 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.986e-05/0.1411, allocations: 42.75 kB / 359.8 MB, free: 11.77 MB / 302.1 MB Notification: Performance of pre-optimization done (n=44): time 1.334e-05/0.1411, allocations: 0 / 359.8 MB, free: 11.77 MB / 302.1 MB Notification: Performance of matching and sorting (n=72): time 0.03429/0.1754, allocations: 6.742 MB / 366.6 MB, free: 5.012 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001176/0.1756, allocations: 145 kB / 366.7 MB, free: 4.84 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002461/0.1759, allocations: 199.1 kB / 366.9 MB, free: 4.633 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 7.423e-05/0.1759, allocations: 37.7 kB / 367 MB, free: 4.59 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001111/0.1761, allocations: 141.6 kB / 367.1 MB, free: 4.449 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002123/0.1763, allocations: 197.3 kB / 367.3 MB, free: 4.254 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.009e-05/0.1764, allocations: 12 kB / 367.3 MB, free: 4.242 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001522/0.1765, allocations: 338.8 kB / 367.6 MB, free: 3.902 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001507/0.178, allocations: 0.65 MB / 368.3 MB, free: 3.25 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001601/0.1796, allocations: 0.8431 MB / 369.1 MB, free: 2.332 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001431/0.1811, allocations: 0.602 MB / 369.7 MB, free: 1.727 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.168e-06/0.1811, allocations: 3.938 kB / 369.7 MB, free: 1.723 MB / 302.1 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.003294/0.1844, allocations: 1.472 MB / 371.2 MB, free: 252 kB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.629e-05/0.1844, allocations: 8 kB / 371.2 MB, free: 244 kB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.449e-05/0.1845, allocations: 7.984 kB / 371.2 MB, free: 236 kB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.999e-05/0.1845, allocations: 12 kB / 371.2 MB, free: 224 kB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001254/0.1858, allocations: 224.1 kB / 371.4 MB, free: 0 / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2808/0.4665, allocations: 9.953 kB / 371.5 MB, free: 25.49 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001384/0.468, allocations: 118.5 kB / 371.6 MB, free: 25.49 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001364/0.4681, allocations: 29.5 kB / 371.6 MB, free: 25.49 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * Number of states: 0 () * Number of discrete variables: 2 (kinematicPTP.moving[1],kinematicPTP.noWphase) * Number of discrete states: 0 () * Number of clocked states: 1 (PI.x) * Top-level inputs: 0 Notification: Strong component statistics for initialization (83): * Single equations (assignments): 83 * 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.0004868/0.4686, allocations: 185 kB / 371.8 MB, free: 25.38 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005574/0.4692, allocations: 151.8 kB / 371.9 MB, free: 25.35 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002758/0.4695, allocations: 61.53 kB / 372 MB, free: 25.34 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.835e-05/0.4695, allocations: 8.75 kB / 372 MB, free: 25.34 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.7e-05/0.4695, allocations: 7.234 kB / 372 MB, free: 25.34 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.667e-05/0.4695, allocations: 8.188 kB / 372 MB, free: 25.34 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006292/0.4758, allocations: 2.285 MB / 374.3 MB, free: 24.67 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.607e-05/0.4759, allocations: 11.73 kB / 374.3 MB, free: 24.67 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009266/0.4768, allocations: 203.1 kB / 374.5 MB, free: 24.66 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.966e-05/0.4769, allocations: 15.81 kB / 374.5 MB, free: 24.66 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.131e-05/0.477, allocations: 29.72 kB / 374.6 MB, free: 24.66 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.092e-05/0.477, allocations: 23.33 kB / 374.6 MB, free: 24.65 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.015e-05/0.477, allocations: 19.53 kB / 374.6 MB, free: 24.65 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003723/0.4808, allocations: 1.662 MB / 376.3 MB, free: 23.96 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002863/0.4811, allocations: 161.9 kB / 376.4 MB, free: 23.84 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001176/0.4812, allocations: 29.38 kB / 376.4 MB, free: 23.82 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006197/0.4818, allocations: 101.4 kB / 376.5 MB, free: 23.81 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002953/0.4821, allocations: 99.59 kB / 376.6 MB, free: 23.78 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.127e-05/0.4822, allocations: 34.59 kB / 376.7 MB, free: 23.77 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001838/0.4824, allocations: 134.1 kB / 376.8 MB, free: 23.68 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4824, allocations: 0 / 376.8 MB, free: 23.68 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0008751/0.4833, allocations: 123.2 kB / 376.9 MB, free: 23.66 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 45 * Number of states: 2 (load.w,speed.flange.phi) * Number of discrete variables: 2 (kinematicPTP.moving[1],kinematicPTP.noWphase) * Number of discrete states: 0 () * Number of clocked states: 1 (PI.x) * Top-level inputs: 0 Notification: Strong component statistics for simulation (72): * Single equations (assignments): 72 * 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.0002105/0.4835, allocations: 141.5 kB / 377.1 MB, free: 23.55 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.003174/0.4867, allocations: 1.184 MB / 378.2 MB, free: 23.12 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 8.206e-06/0.4867, allocations: 1.938 kB / 378.2 MB, free: 23.12 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001217/0.4879, allocations: 377.1 kB / 378.6 MB, free: 23.03 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001022/0.489, allocations: 140.3 kB / 378.8 MB, free: 22.98 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002693/0.4917, allocations: 1.365 MB / 380.1 MB, free: 21.95 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005707/0.4923, allocations: 0.8153 MB / 380.9 MB, free: 21.25 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003641/0.4926, allocations: 43.09 kB / 381 MB, free: 21.24 MB / 302.1 MB Notification: Performance of SimCode: time 1.923e-06/0.4926, allocations: 0 / 381 MB, free: 21.24 MB / 302.1 MB Notification: Performance of Templates: time 0.01624/0.5089, allocations: 7.083 MB / 388.1 MB, free: 18.66 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.CascadeControlledDrive.SuperSampled.makefile make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.CascadeControlledDrive.SuperSampled.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.CascadeControlledDrive.SuperSampledCalcHelperMain.o OMCppModelica_4.0.0_Modelica.Clocked.Examples.CascadeControlledDrive.SuperSampledCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_4.0.0_Modelica.Clocked.Examples.CascadeControlledDrive.SuperSampledCalcHelperMain.o] Error 1