Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.CascadeControlledDrive.Continuous.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.Continuous,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.Continuous") translateModel(Modelica.Clocked.Examples.CascadeControlledDrive.Continuous,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.Continuous") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001098/0.001098, allocations: 92.23 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.0015/0.0015, allocations: 177.4 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.551/1.551, allocations: 223.2 MB / 241.8 MB, free: 260 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002583/0.0002583, allocations: 7.938 kB / 301.4 MB, free: 6.441 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.116/0.1162, allocations: 50.43 MB / 351.9 MB, free: 4.008 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.CascadeControlledDrive.Continuous): time 0.002482/0.1188, allocations: 1.777 MB / 353.6 MB, free: 2.211 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001078/0.1199, allocations: 0.6124 MB / 354.3 MB, free: 1.594 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001273/0.12, allocations: 7.875 kB / 354.3 MB, free: 1.586 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002607/0.1203, allocations: 31.83 kB / 354.3 MB, free: 1.555 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001215/0.1204, allocations: 39.69 kB / 354.3 MB, free: 1.516 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003148/0.1207, allocations: 99.88 kB / 354.4 MB, free: 1.418 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003315/0.1211, allocations: 299.2 kB / 354.7 MB, free: 1.125 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001812/0.1213, allocations: 56.22 kB / 354.8 MB, free: 1.066 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001935/0.1215, allocations: 127.5 kB / 354.9 MB, free: 0.9414 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002034/0.1217, allocations: 131.5 kB / 355 MB, free: 0.8125 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.867e-05/0.1217, allocations: 12 kB / 355 MB, free: 0.8008 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.829e-05/0.1218, allocations: 16 kB / 355.1 MB, free: 0.7852 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 8.633e-05/0.1219, allocations: 63.84 kB / 355.1 MB, free: 0.7227 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 5.846e-05/0.1219, allocations: 65.58 kB / 355.2 MB, free: 0.6523 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002308/0.1222, allocations: 191.8 kB / 355.4 MB, free: 476 kB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.212e-06/0.1222, allocations: 0 / 355.4 MB, free: 476 kB / 286.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.1222, allocations: 0 / 355.4 MB, free: 476 kB / 286.1 MB Notification: Performance of Transformations before backend: time 7.364e-06/0.1222, allocations: 0 / 355.4 MB, free: 476 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: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.001095/0.1233, allocations: 0.5609 MB / 355.9 MB, free: 15.86 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.588e-05/0.1234, allocations: 8.031 kB / 355.9 MB, free: 15.85 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.989e-05/0.1234, allocations: 35.67 kB / 356 MB, free: 15.81 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003059/0.1238, allocations: 242.5 kB / 356.2 MB, free: 15.54 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001981/0.124, allocations: 141.6 kB / 356.4 MB, free: 15.38 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.944e-05/0.124, allocations: 24 kB / 356.4 MB, free: 15.36 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007887/0.1248, allocations: 379.5 kB / 356.7 MB, free: 14.98 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.786e-05/0.1249, allocations: 7.906 kB / 356.8 MB, free: 14.97 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.041e-05/0.1249, allocations: 8 kB / 356.8 MB, free: 14.96 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.033e-05/0.1249, allocations: 11.95 kB / 356.8 MB, free: 14.95 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001255/0.1262, allocations: 0.5057 MB / 357.3 MB, free: 14.45 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001697/0.1279, allocations: 1.031 MB / 358.3 MB, free: 13.34 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0011/0.129, allocations: 351.1 kB / 358.7 MB, free: 12.99 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004746/0.1295, allocations: 194.1 kB / 358.8 MB, free: 12.8 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.782e-05/0.1295, allocations: 4.234 kB / 358.8 MB, free: 12.8 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.099e-05/0.1296, allocations: 34.73 kB / 358.9 MB, free: 12.75 MB / 302.1 MB Notification: Performance of pre-optimization done (n=28): time 1.402e-06/0.1296, allocations: 0 / 358.9 MB, free: 12.75 MB / 302.1 MB Notification: Performance of matching and sorting (n=52): time 0.02434/0.1539, allocations: 6.671 MB / 365.6 MB, free: 5.988 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.27e-05/0.154, allocations: 55.84 kB / 365.6 MB, free: 5.922 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002497/0.1542, allocations: 198.9 kB / 365.8 MB, free: 5.719 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 5.081e-05/0.1543, allocations: 33.7 kB / 365.8 MB, free: 5.68 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001249/0.1544, allocations: 156.6 kB / 366 MB, free: 5.523 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001862/0.1546, allocations: 181.3 kB / 366.2 MB, free: 5.344 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.557e-05/0.1547, allocations: 8 kB / 366.2 MB, free: 5.336 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001391/0.1548, allocations: 338.8 kB / 366.5 MB, free: 4.996 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001188/0.156, allocations: 0.4969 MB / 367 MB, free: 4.5 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001218/0.1573, allocations: 0.549 MB / 367.5 MB, free: 3.934 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001116/0.1584, allocations: 441.9 kB / 368 MB, free: 3.508 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.1584, allocations: 0 / 368 MB, free: 3.508 MB / 302.1 MB Notification: Performance of matching and sorting (n=65) (initialization): time 0.002687/0.1611, allocations: 1.057 MB / 369 MB, free: 2.441 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.891e-05/0.1611, allocations: 4 kB / 369 MB, free: 2.438 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.195e-05/0.1611, allocations: 4 kB / 369 MB, free: 2.434 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.883e-05/0.1612, allocations: 7.953 kB / 369.1 MB, free: 2.426 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009003/0.1621, allocations: 187.8 kB / 369.2 MB, free: 2.242 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.201e-05/0.1621, allocations: 4 kB / 369.2 MB, free: 2.238 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006172/0.1627, allocations: 107.9 kB / 369.3 MB, free: 2.133 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.261e-05/0.1628, allocations: 16 kB / 369.4 MB, free: 2.117 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 2 (kinematicPTP.moving[1],kinematicPTP.noWphase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (65): * Single equations (assignments): 65 * 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.0002509/0.1631, allocations: 161.7 kB / 369.5 MB, free: 1.949 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.315e-05/0.1632, allocations: 27.62 kB / 369.5 MB, free: 1.922 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001367/0.1633, allocations: 47.31 kB / 369.6 MB, free: 1.871 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.117e-06/0.1633, allocations: 11.95 kB / 369.6 MB, free: 1.859 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.146e-05/0.1633, allocations: 4 kB / 369.6 MB, free: 1.855 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.057e-06/0.1634, allocations: 3.984 kB / 369.6 MB, free: 1.852 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2547/0.418, allocations: 1.979 MB / 371.6 MB, free: 25.28 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.253e-05/0.4181, allocations: 8.219 kB / 371.6 MB, free: 25.28 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007621/0.4189, allocations: 164.4 kB / 371.8 MB, free: 25.28 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.44e-05/0.4189, allocations: 11.53 kB / 371.8 MB, free: 25.28 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.445e-05/0.419, allocations: 21.39 kB / 371.8 MB, free: 25.28 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.028e-05/0.419, allocations: 16.59 kB / 371.8 MB, free: 25.28 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.016e-05/0.419, allocations: 14.23 kB / 371.8 MB, free: 25.28 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003152/0.4222, allocations: 1.332 MB / 373.2 MB, free: 24.86 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002216/0.4224, allocations: 147.3 kB / 373.3 MB, free: 24.77 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.115e-05/0.4225, allocations: 26.89 kB / 373.3 MB, free: 24.77 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005447/0.4231, allocations: 90.91 kB / 373.4 MB, free: 24.77 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002214/0.4233, allocations: 93.8 kB / 373.5 MB, free: 24.76 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.881e-05/0.4233, allocations: 22.95 kB / 373.5 MB, free: 24.76 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001945/0.4235, allocations: 149.7 kB / 373.7 MB, free: 24.69 MB / 302.1 MB Notification: Performance of sort global known variables: time 9.22e-07/0.4236, allocations: 0 / 373.7 MB, free: 24.69 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005867/0.4241, allocations: 95.36 kB / 373.8 MB, free: 24.69 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 36 * Number of states: 3 (load.w,speed.flange.phi,PI.x) * Number of discrete variables: 2 (kinematicPTP.moving[1],kinematicPTP.noWphase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (52): * Single equations (assignments): 52 * 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.0001952/0.4243, allocations: 129.3 kB / 373.9 MB, free: 24.59 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.00253/0.4269, allocations: 0.915 MB / 374.8 MB, free: 24.56 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 5.591e-06/0.4269, allocations: 2.062 kB / 374.8 MB, free: 24.56 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001061/0.428, allocations: 368.1 kB / 375.2 MB, free: 24.52 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006987/0.4287, allocations: 71.16 kB / 375.2 MB, free: 24.52 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002471/0.4312, allocations: 1.193 MB / 376.4 MB, free: 23.75 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003331/0.4315, allocations: 0.7841 MB / 377.2 MB, free: 23.05 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002577/0.4318, allocations: 32.88 kB / 377.2 MB, free: 23.04 MB / 302.1 MB Notification: Performance of SimCode: time 1.593e-06/0.4318, allocations: 1.938 kB / 377.2 MB, free: 23.04 MB / 302.1 MB Notification: Performance of Templates: time 0.01435/0.4461, allocations: 5.507 MB / 382.8 MB, free: 21.98 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.CascadeControlledDrive.Continuous.makefile make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.CascadeControlledDrive.Continuous.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.ContinuousCalcHelperMain.o OMCppModelica_4.0.0_Modelica.Clocked.Examples.CascadeControlledDrive.ContinuousCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_4.0.0_Modelica.Clocked.Examples.CascadeControlledDrive.ContinuousCalcHelperMain.o] Error 1