Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009868/0.0009927, allocations: 92.11 kB / 17.63 MB, free: 6.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001207/0.001207, allocations: 192.5 kB / 18.54 MB, free: 5.434 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.534/1.534, allocations: 227.3 MB / 246.6 MB, free: 12.03 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002517/0.0002519, allocations: 4 kB / 307.3 MB, free: 1.641 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1274/0.1277, allocations: 51.48 MB / 358.8 MB, free: 14.14 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects): time 0.00305/0.1308, allocations: 2.262 MB / 361 MB, free: 11.87 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001754/0.1326, allocations: 0.8926 MB / 361.9 MB, free: 10.97 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002017/0.1328, allocations: 11.94 kB / 361.9 MB, free: 10.96 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001836/0.133, allocations: 43.58 kB / 362 MB, free: 10.92 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002136/0.1332, allocations: 51.7 kB / 362 MB, free: 10.87 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006016/0.1338, allocations: 195.3 kB / 362.2 MB, free: 10.68 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003565/0.1342, allocations: 327 kB / 362.6 MB, free: 10.36 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002565/0.1345, allocations: 131.6 kB / 362.7 MB, free: 10.23 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001235/0.1346, allocations: 99.44 kB / 362.8 MB, free: 10.14 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00015/0.1347, allocations: 99.36 kB / 362.9 MB, free: 10.04 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.306e-05/0.1348, allocations: 12 kB / 362.9 MB, free: 10.03 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001064/0.1349, allocations: 47.95 kB / 362.9 MB, free: 9.98 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 8.509e-05/0.135, allocations: 55.64 kB / 363 MB, free: 9.926 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 7.925e-05/0.1351, allocations: 73.52 kB / 363.1 MB, free: 9.848 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003313/0.1354, allocations: 299.5 kB / 363.3 MB, free: 9.555 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.951e-06/0.1354, allocations: 0 / 363.3 MB, free: 9.555 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.234e-06/0.1354, allocations: 0 / 363.3 MB, free: 9.555 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.36e-06/0.1354, allocations: 0 / 363.3 MB, free: 9.555 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.0009831/0.1364, allocations: 0.5989 MB / 363.9 MB, free: 8.91 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.919e-05/0.1365, allocations: 8.031 kB / 364 MB, free: 8.902 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.681e-05/0.1366, allocations: 43.52 kB / 364 MB, free: 8.859 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000413/0.137, allocations: 318.7 kB / 364.3 MB, free: 8.508 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.849e-05/0.137, allocations: 20.56 kB / 364.3 MB, free: 8.488 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.342e-05/0.1371, allocations: 28 kB / 364.4 MB, free: 8.461 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001326/0.1384, allocations: 0.7637 MB / 365.1 MB, free: 7.656 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.85e-05/0.1384, allocations: 8 kB / 365.1 MB, free: 7.648 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.831e-05/0.1385, allocations: 8 kB / 365.1 MB, free: 7.641 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.178e-05/0.1385, allocations: 8 kB / 365.1 MB, free: 7.633 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006219/0.1391, allocations: 251.5 kB / 365.4 MB, free: 7.387 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009845/0.1401, allocations: 0.7682 MB / 366.2 MB, free: 6.543 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001078/0.1412, allocations: 0.6459 MB / 366.8 MB, free: 5.824 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004528/0.1417, allocations: 279.4 kB / 367.1 MB, free: 5.539 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006385/0.1423, allocations: 0.5934 MB / 367.7 MB, free: 4.816 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.429e-05/0.1424, allocations: 46.5 kB / 367.7 MB, free: 4.762 MB / 302.1 MB Notification: Performance of pre-optimization done (n=52): time 2.124e-06/0.1424, allocations: 0 / 367.7 MB, free: 4.762 MB / 302.1 MB Notification: Performance of matching and sorting (n=52): time 0.001192/0.1436, allocations: 0.5602 MB / 368.3 MB, free: 4.195 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001615/0.1437, allocations: 219.9 kB / 368.5 MB, free: 3.938 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00028/0.144, allocations: 246.6 kB / 368.7 MB, free: 3.688 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.402e-05/0.1441, allocations: 37.7 kB / 368.8 MB, free: 3.645 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001361/0.1442, allocations: 148.8 kB / 368.9 MB, free: 3.496 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.869e-05/0.1443, allocations: 47.66 kB / 369 MB, free: 3.449 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.599e-05/0.1443, allocations: 12 kB / 369 MB, free: 3.438 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001497/0.1445, allocations: 346.8 kB / 369.3 MB, free: 3.09 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001826/0.1446, allocations: 85.06 kB / 369.4 MB, free: 3.008 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004562/0.1451, allocations: 442.9 kB / 369.8 MB, free: 2.41 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002595/0.1454, allocations: 155.9 kB / 370 MB, free: 2.258 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.787e-06/0.1454, allocations: 7.953 kB / 370 MB, free: 2.25 MB / 302.1 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.0007573/0.1462, allocations: 0.4971 MB / 370.5 MB, free: 1.746 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.328e-05/0.1462, allocations: 8 kB / 370.5 MB, free: 1.738 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.187e-05/0.1462, allocations: 12 kB / 370.5 MB, free: 1.727 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.541e-05/0.1462, allocations: 20 kB / 370.5 MB, free: 1.707 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003107/0.1466, allocations: 127.7 kB / 370.6 MB, free: 1.582 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.129e-05/0.1466, allocations: 20.41 kB / 370.7 MB, free: 1.562 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002433/0.1468, allocations: 55.67 kB / 370.7 MB, free: 1.508 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.953e-05/0.1469, allocations: 32 kB / 370.8 MB, free: 1.477 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.0002098/0.1472, allocations: 189 kB / 370.9 MB, free: 1.285 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006368/0.1478, allocations: 365.8 kB / 371.3 MB, free: 0.9219 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006854/0.1485, allocations: 373.4 kB / 371.7 MB, free: 0.5508 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.426e-06/0.1485, allocations: 4 kB / 371.7 MB, free: 0.5469 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.793e-06/0.1485, allocations: 0 / 371.7 MB, free: 0.5469 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.057e-06/0.1486, allocations: 7.984 kB / 371.7 MB, free: 0.5391 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003735/0.1489, allocations: 333.1 kB / 372 MB, free: 168 kB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.141e-06/0.1489, allocations: 0 / 372 MB, free: 168 kB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003769/0.1493, allocations: 112.3 kB / 372.1 MB, free: 56 kB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.081e-06/0.1493, allocations: 4 kB / 372.1 MB, free: 52 kB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.968e-05/0.1494, allocations: 15.98 kB / 372.1 MB, free: 36 kB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.17e-06/0.1494, allocations: 3.938 kB / 372.1 MB, free: 32 kB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.016e-06/0.1494, allocations: 4 kB / 372.1 MB, free: 28 kB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2282/0.3776, allocations: 0.7989 MB / 372.9 MB, free: 19.61 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.076e-05/0.3777, allocations: 119.2 kB / 373 MB, free: 19.52 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.308e-05/0.3777, allocations: 16.55 kB / 373.1 MB, free: 19.52 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002505/0.378, allocations: 31.25 kB / 373.1 MB, free: 19.52 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.113e-05/0.378, allocations: 6.562 kB / 373.1 MB, free: 19.52 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.97e-05/0.3781, allocations: 15.97 kB / 373.1 MB, free: 19.52 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001914/0.3783, allocations: 184 kB / 373.3 MB, free: 19.44 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3783, allocations: 1.125 kB / 373.3 MB, free: 19.44 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005575/0.3788, allocations: 77.38 kB / 373.4 MB, free: 19.43 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.0001956/0.379, allocations: 127.4 kB / 373.5 MB, free: 19.35 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0007926/0.3798, allocations: 375.9 kB / 373.9 MB, free: 19.33 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.118e-06/0.3799, allocations: 1.031 kB / 373.9 MB, free: 19.33 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001021/0.38, allocations: 38.12 kB / 373.9 MB, free: 19.32 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009875/0.381, allocations: 300.7 kB / 374.2 MB, free: 19.27 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001461/0.3824, allocations: 0.9164 MB / 375.1 MB, free: 18.78 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003394/0.3828, allocations: 0.8156 MB / 375.9 MB, free: 18.07 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.822e-05/0.3829, allocations: 33.53 kB / 376 MB, free: 18.06 MB / 302.1 MB Notification: Performance of SimCode: time 2.21e-07/0.3829, allocations: 0 / 376 MB, free: 18.06 MB / 302.1 MB Notification: Performance of Templates: time 0.008682/0.3916, allocations: 4.392 MB / 380.4 MB, free: 17.71 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects.makefile make -j1 -f Modelica_trunk_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_trunk_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_EffectsCalcHelperMain.o OMCppModelica_trunk_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_EffectsCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_trunk_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_EffectsCalcHelperMain.o] Error 1