Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.SimpleControlledDrive.ExactlyClockedWithDiscreteController.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.ExactlyClockedWithDiscreteController,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.ExactlyClockedWithDiscreteController") translateModel(Modelica.Clocked.Examples.SimpleControlledDrive.ExactlyClockedWithDiscreteController,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.ExactlyClockedWithDiscreteController") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008542/0.0008543, allocations: 90.75 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.0008598/0.0008598, allocations: 177.6 kB / 17.84 MB, free: 5.621 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.58/1.58, allocations: 223.3 MB / 241.9 MB, free: 224 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002884/0.0002884, allocations: 8 kB / 301.4 MB, free: 6.422 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1395/0.1398, allocations: 50.42 MB / 351.9 MB, free: 3.992 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.SimpleControlledDrive.ExactlyClockedWithDiscreteController): time 0.003334/0.1432, allocations: 1.672 MB / 353.5 MB, free: 2.305 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001212/0.1445, allocations: 0.5457 MB / 354.1 MB, free: 1.754 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001201/0.1446, allocations: 7.938 kB / 354.1 MB, free: 1.746 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001071/0.1447, allocations: 7.922 kB / 354.1 MB, free: 1.738 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001821/0.1449, allocations: 31.78 kB / 354.1 MB, free: 1.707 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002909/0.1452, allocations: 67.11 kB / 354.2 MB, free: 1.645 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001621/0.1454, allocations: 111.6 kB / 354.3 MB, free: 1.535 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001492/0.1456, allocations: 41.39 kB / 354.3 MB, free: 1.496 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.369e-05/0.1457, allocations: 43.78 kB / 354.4 MB, free: 1.453 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.065e-05/0.1458, allocations: 47.78 kB / 354.4 MB, free: 1.406 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.51e-05/0.1458, allocations: 8 kB / 354.4 MB, free: 1.398 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.862e-05/0.1458, allocations: 4 kB / 354.5 MB, free: 1.395 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 5.663e-05/0.1459, allocations: 27.84 kB / 354.5 MB, free: 1.367 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 5.314e-05/0.1459, allocations: 53.58 kB / 354.5 MB, free: 1.309 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001484/0.1461, allocations: 100 kB / 354.6 MB, free: 1.211 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.711e-06/0.1461, allocations: 0 / 354.6 MB, free: 1.211 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.1461, allocations: 0 / 354.6 MB, free: 1.211 MB / 286.1 MB Notification: Performance of Transformations before backend: time 4.408e-06/0.1461, allocations: 0 / 354.6 MB, free: 1.211 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: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.0006708/0.1468, allocations: 434.8 kB / 355.1 MB, free: 0.7383 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.142e-05/0.1468, allocations: 8.031 kB / 355.1 MB, free: 0.7305 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.692e-05/0.1469, allocations: 27.67 kB / 355.1 MB, free: 0.7031 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002696/0.1472, allocations: 206.8 kB / 355.3 MB, free: 472 kB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.713e-05/0.1472, allocations: 8 kB / 355.3 MB, free: 464 kB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.622e-05/0.1472, allocations: 12 kB / 355.3 MB, free: 452 kB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005354/0.1478, allocations: 263 kB / 355.6 MB, free: 164 kB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.327e-05/0.1478, allocations: 0 / 355.6 MB, free: 164 kB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.566e-05/0.1478, allocations: 11.95 kB / 355.6 MB, free: 152 kB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.597e-06/0.1479, allocations: 4 kB / 355.6 MB, free: 148 kB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002569/0.1481, allocations: 95.88 kB / 355.7 MB, free: 52 kB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006872/0.1488, allocations: 0.5998 MB / 356.3 MB, free: 15.38 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003471/0.1492, allocations: 159.9 kB / 356.4 MB, free: 15.2 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001629/0.1493, allocations: 74.64 kB / 356.5 MB, free: 15.11 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.8e-05/0.1494, allocations: 11.98 kB / 356.5 MB, free: 15.1 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.422e-05/0.1494, allocations: 42.5 kB / 356.6 MB, free: 15.05 MB / 302.1 MB Notification: Performance of pre-optimization done (n=15): time 2.805e-06/0.1494, allocations: 0 / 356.6 MB, free: 15.05 MB / 302.1 MB Notification: Performance of matching and sorting (n=15): time 0.0005123/0.1499, allocations: 201.4 kB / 356.8 MB, free: 14.85 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.026e-05/0.15, allocations: 110.8 kB / 356.9 MB, free: 14.71 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001623/0.1502, allocations: 154.2 kB / 357 MB, free: 14.55 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.093e-05/0.1502, allocations: 29.7 kB / 357 MB, free: 14.52 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.318e-05/0.1503, allocations: 116.3 kB / 357.2 MB, free: 14.4 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.877e-05/0.1504, allocations: 23.66 kB / 357.2 MB, free: 14.38 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.702e-05/0.1504, allocations: 8.031 kB / 357.2 MB, free: 14.37 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001405/0.1505, allocations: 326.8 kB / 357.5 MB, free: 14.04 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001169/0.1507, allocations: 40.34 kB / 357.5 MB, free: 14 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001823/0.1509, allocations: 150.4 kB / 357.7 MB, free: 13.81 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001422/0.151, allocations: 55.92 kB / 357.7 MB, free: 13.75 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.151, allocations: 4 kB / 357.7 MB, free: 13.75 MB / 302.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003588/0.1514, allocations: 201.3 kB / 357.9 MB, free: 13.55 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.984e-05/0.1514, allocations: 8 kB / 358 MB, free: 13.54 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.708e-06/0.1514, allocations: 4 kB / 358 MB, free: 13.54 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.704e-05/0.1515, allocations: 4 kB / 358 MB, free: 13.53 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00015/0.1516, allocations: 51.91 kB / 358 MB, free: 13.48 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.153e-05/0.1516, allocations: 8 kB / 358 MB, free: 13.47 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001016/0.1517, allocations: 24.17 kB / 358 MB, free: 13.45 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.442e-05/0.1518, allocations: 16 kB / 358.1 MB, free: 13.43 MB / 302.1 MB 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.0001316/0.1519, allocations: 129.7 kB / 358.2 MB, free: 13.3 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001533/0.1521, allocations: 93.44 kB / 358.3 MB, free: 13.2 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.59e-05/0.1522, allocations: 20.7 kB / 358.3 MB, free: 13.18 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.899e-06/0.1522, allocations: 4 kB / 358.3 MB, free: 13.17 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.474e-06/0.1522, allocations: 4 kB / 358.3 MB, free: 13.17 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.928e-06/0.1522, allocations: 0 / 358.3 MB, free: 13.17 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002863/0.1525, allocations: 225.9 kB / 358.5 MB, free: 12.9 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.1525, allocations: 0 / 358.5 MB, free: 12.9 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001829/0.1527, allocations: 43.92 kB / 358.6 MB, free: 12.86 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.354e-06/0.1527, allocations: 0 / 358.6 MB, free: 12.86 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.594e-05/0.1527, allocations: 4 kB / 358.6 MB, free: 12.85 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.814e-06/0.1527, allocations: 3.938 kB / 358.6 MB, free: 12.85 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.357e-06/0.1527, allocations: 3.984 kB / 358.6 MB, free: 12.84 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005558/0.1533, allocations: 399.3 kB / 359 MB, free: 12.43 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.255e-05/0.1534, allocations: 108.9 kB / 359.1 MB, free: 12.31 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.574e-05/0.1534, allocations: 8 kB / 359.1 MB, free: 12.3 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001297/0.1536, allocations: 11.94 kB / 359.1 MB, free: 12.29 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.515e-05/0.1536, allocations: 4.219 kB / 359.1 MB, free: 12.29 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.258e-06/0.1536, allocations: 8 kB / 359.1 MB, free: 12.28 MB / 302.1 MB Notification: Performance of sorting global known variables: time 8.683e-05/0.1537, allocations: 120.1 kB / 359.2 MB, free: 12.16 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1537, allocations: 0 / 359.2 MB, free: 12.16 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003076/0.154, allocations: 27.94 kB / 359.3 MB, free: 12.13 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.0001338/0.1542, allocations: 115.2 kB / 359.4 MB, free: 12.01 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003563/0.1546, allocations: 132.6 kB / 359.5 MB, free: 11.88 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.1546, allocations: 0 / 359.5 MB, free: 11.88 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 9.137e-05/0.1547, allocations: 35.92 kB / 359.5 MB, free: 11.85 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000487/0.1552, allocations: 66.7 kB / 359.6 MB, free: 11.79 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008581/0.156, allocations: 0.53 MB / 360.1 MB, free: 11.21 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004004/0.1564, allocations: 0.7205 MB / 360.8 MB, free: 10.47 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.346e-05/0.1565, allocations: 23.42 kB / 360.9 MB, free: 10.45 MB / 302.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1565, allocations: 0 / 360.9 MB, free: 10.45 MB / 302.1 MB Notification: Performance of Templates: time 0.003486/0.16, allocations: 1.59 MB / 362.5 MB, free: 8.863 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.SimpleControlledDrive.ExactlyClockedWithDiscreteController.makefile make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.SimpleControlledDrive.ExactlyClockedWithDiscreteController.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.ExactlyClockedWithDiscreteControllerCalcHelperMain.o OMCppModelica_4.0.0_Modelica.Clocked.Examples.SimpleControlledDrive.ExactlyClockedWithDiscreteControllerCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_4.0.0_Modelica.Clocked.Examples.SimpleControlledDrive.ExactlyClockedWithDiscreteControllerCalcHelperMain.o] Error 1