Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects.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.SimpleControlledDrive.ClockedWith_AD_DA_Effects,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.SimpleControlledDrive.ClockedWith_AD_DA_Effects") translateModel(Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects,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.SimpleControlledDrive.ClockedWith_AD_DA_Effects") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008149/0.000815, allocations: 92.66 kB / 16.95 MB, free: 5.996 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.0008405/0.0008404, allocations: 183.7 kB / 17.84 MB, free: 5.648 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.541/1.541, allocations: 223.2 MB / 241.9 MB, free: 340 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003173/0.0003173, allocations: 8 kB / 301.4 MB, free: 6.457 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1208/0.1211, allocations: 50.42 MB / 351.9 MB, free: 4.027 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects): time 0.003052/0.1242, allocations: 2.245 MB / 354.1 MB, free: 1.762 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001428/0.1257, allocations: 0.8613 MB / 355 MB, free: 0.8984 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001818/0.1259, allocations: 11.94 kB / 355 MB, free: 0.8867 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000181/0.126, allocations: 39.59 kB / 355 MB, free: 0.8477 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002529/0.1263, allocations: 43.62 kB / 355.1 MB, free: 0.8047 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005979/0.1269, allocations: 195 kB / 355.3 MB, free: 0.6172 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003532/0.1273, allocations: 339 kB / 355.6 MB, free: 292 kB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002421/0.1275, allocations: 127.5 kB / 355.7 MB, free: 164 kB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001274/0.1277, allocations: 91.52 kB / 355.8 MB, free: 72 kB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001607/0.1278, allocations: 107.3 kB / 355.9 MB, free: 15.96 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.965e-05/0.1279, allocations: 8 kB / 355.9 MB, free: 15.96 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001077/0.128, allocations: 47.91 kB / 356 MB, free: 15.91 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 8.021e-05/0.1281, allocations: 47.77 kB / 356 MB, free: 15.86 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 8.804e-05/0.1282, allocations: 73.52 kB / 356.1 MB, free: 15.79 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003109/0.1285, allocations: 299.5 kB / 356.4 MB, free: 15.49 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.232e-06/0.1285, allocations: 0 / 356.4 MB, free: 15.49 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.1285, allocations: 0 / 356.4 MB, free: 15.49 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.55e-06/0.1285, allocations: 0 / 356.4 MB, free: 15.49 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 72 * Number of variables: 72 Notification: Performance of Generate backend data structure: time 0.001083/0.1296, allocations: 0.5923 MB / 357 MB, free: 14.85 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.085e-05/0.1296, allocations: 12.03 kB / 357 MB, free: 14.84 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.064e-05/0.1297, allocations: 35.53 kB / 357 MB, free: 14.8 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000415/0.1302, allocations: 314.8 kB / 357.3 MB, free: 14.46 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.696e-05/0.1302, allocations: 20.56 kB / 357.3 MB, free: 14.44 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.349e-05/0.1302, allocations: 32 kB / 357.4 MB, free: 14.41 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001323/0.1316, allocations: 0.7756 MB / 358.1 MB, free: 13.6 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.49e-05/0.1316, allocations: 4 kB / 358.1 MB, free: 13.6 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.096e-05/0.1316, allocations: 12 kB / 358.2 MB, free: 13.59 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.035e-05/0.1317, allocations: 8 kB / 358.2 MB, free: 13.58 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005426/0.1322, allocations: 243.8 kB / 358.4 MB, free: 13.34 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008802/0.1331, allocations: 0.7719 MB / 359.2 MB, free: 12.49 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001042/0.1342, allocations: 0.6458 MB / 359.8 MB, free: 11.77 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004422/0.1346, allocations: 275.3 kB / 360.1 MB, free: 11.48 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006183/0.1352, allocations: 0.5934 MB / 360.7 MB, free: 10.76 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.035e-05/0.1353, allocations: 46.55 kB / 360.7 MB, free: 10.71 MB / 302.1 MB Notification: Performance of pre-optimization done (n=52): time 1.964e-06/0.1353, allocations: 0 / 360.7 MB, free: 10.71 MB / 302.1 MB Notification: Performance of matching and sorting (n=52): time 0.001175/0.1365, allocations: 0.5641 MB / 361.3 MB, free: 10.14 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001406/0.1366, allocations: 211.8 kB / 361.5 MB, free: 9.887 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002759/0.1369, allocations: 254.8 kB / 361.7 MB, free: 9.629 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.93e-05/0.1369, allocations: 33.7 kB / 361.8 MB, free: 9.59 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001128/0.1371, allocations: 148.8 kB / 361.9 MB, free: 9.441 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.724e-05/0.1371, allocations: 51.61 kB / 362 MB, free: 9.391 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.499e-05/0.1371, allocations: 8.109 kB / 362 MB, free: 9.383 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001449/0.1373, allocations: 354.7 kB / 362.3 MB, free: 9.027 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001812/0.1375, allocations: 85.02 kB / 362.4 MB, free: 8.945 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004278/0.1379, allocations: 443 kB / 362.8 MB, free: 8.344 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002537/0.1382, allocations: 155.8 kB / 363 MB, free: 8.191 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.563e-06/0.1382, allocations: 8 kB / 363 MB, free: 8.184 MB / 302.1 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.0007406/0.1389, allocations: 0.489 MB / 363.5 MB, free: 7.688 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.994e-05/0.139, allocations: 12 kB / 363.5 MB, free: 7.676 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.475e-05/0.139, allocations: 12.84 kB / 363.5 MB, free: 7.664 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.563e-05/0.139, allocations: 19.95 kB / 363.5 MB, free: 7.645 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003056/0.1393, allocations: 127.8 kB / 363.7 MB, free: 7.52 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.118e-05/0.1394, allocations: 19.92 kB / 363.7 MB, free: 7.5 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000249/0.1396, allocations: 55.67 kB / 363.7 MB, free: 7.445 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.902e-05/0.1397, allocations: 28 kB / 363.8 MB, free: 7.418 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 53 * Number of states: 0 () * Number of discrete variables: 6 (sample1.noise.seedState[3],$CLKPRE.sample1.noise.seedState[3],sample1.noise.seedState[2],$CLKPRE.sample1.noise.seedState[2],sample1.noise.seedState[1],$CLKPRE.sample1.noise.seedState[1]) * Number of discrete states: 0 () * Number of clocked states: 4 (PI.x,sample1.noise.seedState[3],sample1.noise.seedState[2],sample1.noise.seedState[1]) * Top-level inputs: 0 Notification: Strong component statistics for initialization (61): * Single equations (assignments): 61 * 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.0001955/0.1399, allocations: 192.4 kB / 364 MB, free: 7.223 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005978/0.1405, allocations: 349 kB / 364.3 MB, free: 6.875 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006828/0.1412, allocations: 374.3 kB / 364.7 MB, free: 6.5 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.211e-05/0.1412, allocations: 11.95 kB / 364.7 MB, free: 6.488 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.352e-06/0.1412, allocations: 0 / 364.7 MB, free: 6.488 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.745e-06/0.1412, allocations: 4 kB / 364.7 MB, free: 6.484 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003657/0.1416, allocations: 345 kB / 365 MB, free: 6.098 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.041e-06/0.1416, allocations: 0 / 365 MB, free: 6.098 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003737/0.142, allocations: 107.9 kB / 365.1 MB, free: 5.992 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.908e-06/0.142, allocations: 0 / 365.1 MB, free: 5.992 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.875e-05/0.142, allocations: 16 kB / 365.1 MB, free: 5.977 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.603e-06/0.142, allocations: 4 kB / 365.1 MB, free: 5.973 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/0.142, allocations: 7.891 kB / 365.1 MB, free: 5.965 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001206/0.1433, allocations: 0.8138 MB / 366 MB, free: 5.133 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.029e-05/0.1434, allocations: 116.9 kB / 366.1 MB, free: 5 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.293e-05/0.1434, allocations: 19.98 kB / 366.1 MB, free: 4.98 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002325/0.1437, allocations: 32.05 kB / 366.1 MB, free: 4.949 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.524e-05/0.1437, allocations: 11.94 kB / 366.1 MB, free: 4.938 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.344e-05/0.1437, allocations: 16 kB / 366.2 MB, free: 4.922 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001612/0.1439, allocations: 178 kB / 366.3 MB, free: 4.75 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1439, allocations: 0 / 366.3 MB, free: 4.75 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004902/0.1444, allocations: 76 kB / 366.4 MB, free: 4.676 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (load.phi,load.w) * Number of discrete variables: 3 (sample1.noise.seedState[1],sample1.noise.seedState[2],sample1.noise.seedState[3]) * Number of discrete states: 0 () * Number of clocked states: 4 (sample1.noise.seedState[1],sample1.noise.seedState[2],sample1.noise.seedState[3],PI.x) * Top-level inputs: 0 Notification: Strong component statistics for simulation (49): * Single equations (assignments): 48 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.0001764/0.1446, allocations: 127.1 kB / 366.5 MB, free: 4.543 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0006779/0.1453, allocations: 373.9 kB / 366.9 MB, free: 4.176 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.1453, allocations: 0 / 366.9 MB, free: 4.176 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 9.814e-05/0.1454, allocations: 43.97 kB / 366.9 MB, free: 4.133 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009665/0.1464, allocations: 301.8 kB / 367.2 MB, free: 3.832 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001414/0.1478, allocations: 0.92 MB / 368.1 MB, free: 2.871 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00039/0.1482, allocations: 0.8161 MB / 369 MB, free: 2.031 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.212e-05/0.1483, allocations: 31.44 kB / 369 MB, free: 2 MB / 302.1 MB Notification: Performance of SimCode: time 4.118e-06/0.1483, allocations: 4 kB / 369 MB, free: 1.996 MB / 302.1 MB Notification: Performance of Templates: time 0.2034/0.3516, allocations: 4.387 MB / 373.4 MB, free: 23.37 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects.makefile make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects.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.SimpleControlledDrive.ClockedWith_AD_DA_EffectsCalcHelperMain.o OMCppModelica_4.0.0_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_EffectsCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_4.0.0_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_EffectsCalcHelperMain.o] Error 1