Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscretizedContinuousController.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.ClockedWithDiscretizedContinuousController,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.ClockedWithDiscretizedContinuousController") translateModel(Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscretizedContinuousController,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.ClockedWithDiscretizedContinuousController") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008695/0.0008697, allocations: 89.77 kB / 16.95 MB, free: 5.66 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.0008573/0.0008572, allocations: 183.6 kB / 17.85 MB, free: 5.312 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.596/1.596, allocations: 223.3 MB / 241.9 MB, free: 14.44 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002981/0.0002981, allocations: 9.656 kB / 301.4 MB, free: 6.223 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.118/0.1183, allocations: 50.42 MB / 351.9 MB, free: 3.789 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscretizedContinuousController): time 0.002308/0.1207, allocations: 1.708 MB / 353.6 MB, free: 2.066 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007821/0.1215, allocations: 487 kB / 354.1 MB, free: 1.586 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001012/0.1216, allocations: 4 kB / 354.1 MB, free: 1.582 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 9.423e-05/0.1217, allocations: 15.86 kB / 354.1 MB, free: 1.566 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 5.77e-05/0.1218, allocations: 15.84 kB / 354.1 MB, free: 1.551 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002666/0.1221, allocations: 51.89 kB / 354.1 MB, free: 1.5 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001642/0.1222, allocations: 111.6 kB / 354.2 MB, free: 1.391 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001431/0.1224, allocations: 57.39 kB / 354.3 MB, free: 1.332 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.388e-05/0.1225, allocations: 35.8 kB / 354.3 MB, free: 1.297 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.881e-05/0.1225, allocations: 43.78 kB / 354.4 MB, free: 1.254 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.946e-05/0.1226, allocations: 4 kB / 354.4 MB, free: 1.25 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.714e-05/0.1226, allocations: 4 kB / 354.4 MB, free: 1.246 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 2.834e-05/0.1226, allocations: 19.92 kB / 354.4 MB, free: 1.227 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 3.874e-05/0.1227, allocations: 41.64 kB / 354.4 MB, free: 1.18 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001199/0.1228, allocations: 96.02 kB / 354.5 MB, free: 1.086 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.1228, allocations: 0 / 354.5 MB, free: 1.086 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.1228, allocations: 4 kB / 354.5 MB, free: 1.082 MB / 286.1 MB Notification: Performance of Transformations before backend: time 4.208e-06/0.1228, allocations: 0 / 354.5 MB, free: 1.082 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: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.0005288/0.1234, allocations: 418.8 kB / 355 MB, free: 0.625 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.537e-05/0.1234, allocations: 8.031 kB / 355 MB, free: 0.6172 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.224e-05/0.1235, allocations: 23.73 kB / 355 MB, free: 0.5938 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002222/0.1237, allocations: 198.8 kB / 355.2 MB, free: 368 kB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.323e-05/0.1237, allocations: 16 kB / 355.2 MB, free: 352 kB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.929e-05/0.1237, allocations: 12 kB / 355.2 MB, free: 340 kB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004372/0.1242, allocations: 226.5 kB / 355.4 MB, free: 88 kB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.524e-05/0.1242, allocations: 7.859 kB / 355.4 MB, free: 80 kB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.31e-05/0.1242, allocations: 8 kB / 355.4 MB, free: 72 kB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.194e-06/0.1242, allocations: 4 kB / 355.4 MB, free: 68 kB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002393/0.1245, allocations: 87.92 kB / 355.5 MB, free: 15.98 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006349/0.1251, allocations: 0.5959 MB / 356.1 MB, free: 15.31 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003099/0.1255, allocations: 163.9 kB / 356.3 MB, free: 15.12 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001624/0.1256, allocations: 78.64 kB / 356.4 MB, free: 15.04 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.04e-05/0.1257, allocations: 4 kB / 356.4 MB, free: 15.04 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.952e-05/0.1257, allocations: 30.56 kB / 356.4 MB, free: 15 MB / 302.1 MB Notification: Performance of pre-optimization done (n=14): time 1.323e-06/0.1257, allocations: 4 kB / 356.4 MB, free: 14.99 MB / 302.1 MB Notification: Performance of matching and sorting (n=14): time 0.0004901/0.1262, allocations: 193.4 kB / 356.6 MB, free: 14.8 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.397e-05/0.1263, allocations: 110.8 kB / 356.7 MB, free: 14.66 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001173/0.1264, allocations: 146.2 kB / 356.8 MB, free: 14.51 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.837e-05/0.1264, allocations: 25.7 kB / 356.9 MB, free: 14.48 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.324e-05/0.1265, allocations: 115.9 kB / 357 MB, free: 14.36 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.473e-05/0.1265, allocations: 27.7 kB / 357 MB, free: 14.33 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.861e-06/0.1266, allocations: 0 / 357 MB, free: 14.33 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001284/0.1267, allocations: 326.8 kB / 357.3 MB, free: 14 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001094/0.1268, allocations: 44.34 kB / 357.4 MB, free: 13.96 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001585/0.127, allocations: 146.5 kB / 357.5 MB, free: 13.77 MB / 302.1 MB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: PI.y = 0.0 (PI.y_start = 0.0) Notification: Performance of analyzeInitialSystem (initialization): time 0.000273/0.1273, allocations: 149.3 kB / 357.7 MB, free: 13.61 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.527e-06/0.1273, allocations: 7.938 kB / 357.7 MB, free: 13.6 MB / 302.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003569/0.1276, allocations: 201.6 kB / 357.9 MB, free: 13.39 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.603e-05/0.1277, allocations: 14.72 kB / 357.9 MB, free: 13.38 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/0.1277, allocations: 0 / 357.9 MB, free: 13.38 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.43e-05/0.1277, allocations: 8.375 kB / 357.9 MB, free: 13.38 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001506/0.1278, allocations: 47.91 kB / 357.9 MB, free: 13.33 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.24e-05/0.1279, allocations: 11.89 kB / 357.9 MB, free: 13.32 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001051/0.128, allocations: 27.83 kB / 358 MB, free: 13.29 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.358e-05/0.128, allocations: 11.94 kB / 358 MB, free: 13.28 MB / 302.1 MB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: PI.y = 0.0. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 1 (PI.x) * Top-level inputs: 0 Notification: Strong component statistics for initialization (21): * Single equations (assignments): 21 * 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.0001354/0.1281, allocations: 137.7 kB / 358.1 MB, free: 13.13 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001607/0.1283, allocations: 89.5 kB / 358.2 MB, free: 13.04 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.757e-05/0.1284, allocations: 20.64 kB / 358.2 MB, free: 13.02 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.548e-06/0.1284, allocations: 4 kB / 358.2 MB, free: 13.01 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.591e-06/0.1284, allocations: 0 / 358.2 MB, free: 13.01 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.755e-06/0.1284, allocations: 7.953 kB / 358.2 MB, free: 13 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002545/0.1286, allocations: 197.6 kB / 358.4 MB, free: 12.76 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-06/0.1287, allocations: 0 / 358.4 MB, free: 12.76 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002004/0.1289, allocations: 51.95 kB / 358.5 MB, free: 12.71 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.836e-06/0.1289, allocations: 0 / 358.5 MB, free: 12.71 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.733e-05/0.1289, allocations: 12 kB / 358.5 MB, free: 12.7 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.854e-06/0.1289, allocations: 0 / 358.5 MB, free: 12.7 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.1289, allocations: 0 / 358.5 MB, free: 12.7 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000505/0.1294, allocations: 410.4 kB / 358.9 MB, free: 12.28 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.584e-05/0.1295, allocations: 88.95 kB / 359 MB, free: 12.18 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.374e-05/0.1295, allocations: 4 kB / 359 MB, free: 12.17 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001379/0.1296, allocations: 16.05 kB / 359 MB, free: 12.16 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.499e-05/0.1297, allocations: 0 / 359 MB, free: 12.16 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.392e-06/0.1297, allocations: 4 kB / 359 MB, free: 12.15 MB / 302.1 MB Notification: Performance of sorting global known variables: time 7.124e-05/0.1298, allocations: 114.1 kB / 359.1 MB, free: 12.04 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1298, allocations: 0 / 359.1 MB, free: 12.04 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000311/0.1301, allocations: 31.91 kB / 359.1 MB, free: 12.01 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (load.phi,load.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 1 (PI.x) * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 15 * 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.0001079/0.1302, allocations: 103.2 kB / 359.3 MB, free: 11.9 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002917/0.1305, allocations: 131.8 kB / 359.4 MB, free: 11.77 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.1305, allocations: 0.9375 kB / 359.4 MB, free: 11.77 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 8.76e-05/0.1306, allocations: 35.97 kB / 359.4 MB, free: 11.74 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004651/0.1311, allocations: 70.75 kB / 359.5 MB, free: 11.67 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007758/0.1319, allocations: 0.5132 MB / 360 MB, free: 11.11 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002331/0.1321, allocations: 0.7167 MB / 360.7 MB, free: 10.37 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.133e-05/0.1322, allocations: 23.36 kB / 360.7 MB, free: 10.35 MB / 302.1 MB Notification: Performance of SimCode: time 2.11e-07/0.1322, allocations: 0 / 360.7 MB, free: 10.35 MB / 302.1 MB Notification: Performance of Templates: time 0.002788/0.135, allocations: 1.587 MB / 362.3 MB, free: 8.77 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscretizedContinuousController.makefile make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscretizedContinuousController.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.ClockedWithDiscretizedContinuousControllerCalcHelperMain.o OMCppModelica_4.0.0_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscretizedContinuousControllerCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_4.0.0_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscretizedContinuousControllerCalcHelperMain.o] Error 1