Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Blocks.Examples.PID_Controller.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.Blocks.Examples.PID_Controller,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|PI.I.y|inertia1.phi|inertia1.w|integrator.y|spring.phi_rel|spring.w_rel",fileNamePrefix="Modelica_4.0.0_Modelica.Blocks.Examples.PID_Controller") translateModel(Modelica.Blocks.Examples.PID_Controller,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|PI.I.y|inertia1.phi|inertia1.w|integrator.y|spring.phi_rel|spring.w_rel",fileNamePrefix="Modelica_4.0.0_Modelica.Blocks.Examples.PID_Controller") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007339/0.0007339, allocations: 91.28 kB / 16.95 MB, free: 5.676 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.0007945/0.0007947, allocations: 185.4 kB / 17.85 MB, free: 5.316 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.524/1.524, allocations: 223.2 MB / 241.9 MB, free: 292 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003911/0.0003912, allocations: 4 kB / 301.4 MB, free: 6.445 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1334/0.1338, allocations: 50.42 MB / 351.9 MB, free: 4.012 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.PID_Controller): time 0.003374/0.1372, allocations: 2.631 MB / 354.5 MB, free: 1.355 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001548/0.1388, allocations: 0.9158 MB / 355.4 MB, free: 448 kB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002054/0.139, allocations: 11.94 kB / 355.4 MB, free: 436 kB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000319/0.1393, allocations: 67.48 kB / 355.5 MB, free: 368 kB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001945/0.1395, allocations: 75.34 kB / 355.6 MB, free: 292 kB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005077/0.14, allocations: 177.5 kB / 355.7 MB, free: 116 kB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005179/0.1406, allocations: 463.1 kB / 356.2 MB, free: 15.65 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002729/0.1409, allocations: 131.5 kB / 356.3 MB, free: 15.52 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001836/0.1411, allocations: 155.2 kB / 356.5 MB, free: 15.37 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000234/0.1413, allocations: 167.1 kB / 356.6 MB, free: 15.21 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.467e-05/0.1413, allocations: 20 kB / 356.6 MB, free: 15.19 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.575e-05/0.1414, allocations: 16 kB / 356.7 MB, free: 15.17 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 9.028e-05/0.1415, allocations: 67.69 kB / 356.7 MB, free: 15.11 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 8.715e-05/0.1416, allocations: 97.45 kB / 356.8 MB, free: 15 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003421/0.1419, allocations: 351.4 kB / 357.2 MB, free: 14.66 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.142, allocations: 0 / 357.2 MB, free: 14.66 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.142, allocations: 0 / 357.2 MB, free: 14.66 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.482e-06/0.142, allocations: 0 / 357.2 MB, free: 14.66 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: 89 * Number of variables: 89 Notification: Performance of Generate backend data structure: time 0.0012/0.1432, allocations: 0.7132 MB / 357.9 MB, free: 13.9 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.061e-05/0.1432, allocations: 15.95 kB / 357.9 MB, free: 13.88 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.736e-05/0.1433, allocations: 51.44 kB / 357.9 MB, free: 13.83 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004342/0.1438, allocations: 342.6 kB / 358.3 MB, free: 13.46 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.734e-05/0.1438, allocations: 25 kB / 358.3 MB, free: 13.44 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.714e-05/0.1439, allocations: 39.98 kB / 358.3 MB, free: 13.4 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00084/0.1447, allocations: 466.4 kB / 358.8 MB, free: 12.92 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.297e-05/0.1448, allocations: 3.906 kB / 358.8 MB, free: 12.91 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.356e-05/0.1448, allocations: 19.94 kB / 358.8 MB, free: 12.89 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.707e-05/0.1448, allocations: 19.94 kB / 358.8 MB, free: 12.88 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009154/0.1457, allocations: 419.6 kB / 359.3 MB, free: 12.46 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001992/0.1477, allocations: 1.583 MB / 360.8 MB, free: 10.79 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000832/0.1486, allocations: 339.8 kB / 361.2 MB, free: 10.45 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004062/0.149, allocations: 184.8 kB / 361.3 MB, free: 10.26 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.217e-05/0.1491, allocations: 7.984 kB / 361.4 MB, free: 10.25 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.697e-05/0.1491, allocations: 38.5 kB / 361.4 MB, free: 10.21 MB / 302.1 MB Notification: Performance of pre-optimization done (n=30): time 1.312e-06/0.1491, allocations: 0 / 361.4 MB, free: 10.21 MB / 302.1 MB Notification: Performance of matching and sorting (n=32): time 0.003115/0.1522, allocations: 1.511 MB / 362.9 MB, free: 8.602 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.541e-05/0.1523, allocations: 85.11 kB / 363 MB, free: 8.5 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004289/0.1527, allocations: 353.6 kB / 363.3 MB, free: 8.148 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.435e-05/0.1528, allocations: 29.7 kB / 363.4 MB, free: 8.113 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001731/0.153, allocations: 235.9 kB / 363.6 MB, free: 7.879 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.911e-05/0.1531, allocations: 122.4 kB / 363.7 MB, free: 7.758 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.918e-05/0.1531, allocations: 12 kB / 363.7 MB, free: 7.746 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0002024/0.1533, allocations: 350.8 kB / 364.1 MB, free: 7.395 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004458/0.1538, allocations: 188.7 kB / 364.3 MB, free: 7.207 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004832/0.1543, allocations: 276.8 kB / 364.5 MB, free: 6.91 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004621/0.1547, allocations: 195.9 kB / 364.7 MB, free: 6.719 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/0.1547, allocations: 0 / 364.7 MB, free: 6.719 MB / 302.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.001083/0.1558, allocations: 0.5281 MB / 365.2 MB, free: 6.184 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001087/0.156, allocations: 152.4 kB / 365.4 MB, free: 6.004 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.335e-06/0.156, allocations: 0 / 365.4 MB, free: 6.004 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.802e-05/0.156, allocations: 4 kB / 365.4 MB, free: 6 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008417/0.1568, allocations: 259.7 kB / 365.6 MB, free: 5.746 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001699/0.1586, allocations: 1.544 MB / 367.2 MB, free: 4.07 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003006/0.1589, allocations: 56.08 kB / 367.2 MB, free: 4.016 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.906e-05/0.1589, allocations: 19.94 kB / 367.3 MB, free: 3.996 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.024e-06/0.1589, allocations: 4 kB / 367.3 MB, free: 3.992 MB / 302.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009154/0.1598, allocations: 443.6 kB / 367.7 MB, free: 3.559 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.326e-06/0.1599, allocations: 3.938 kB / 367.7 MB, free: 3.555 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.39e-06/0.1599, allocations: 4 kB / 367.7 MB, free: 3.551 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000452/0.1603, allocations: 132 kB / 367.8 MB, free: 3.422 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.082e-06/0.1603, allocations: 4 kB / 367.8 MB, free: 3.418 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002729/0.1606, allocations: 47.97 kB / 367.9 MB, free: 3.371 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.563e-05/0.1607, allocations: 16 kB / 367.9 MB, free: 3.355 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 3 (kinematicPTP.noWphase,integrator.local_reset,PI.I.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (51): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002523/0.1609, allocations: 244.9 kB / 368.1 MB, free: 3.105 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.678e-05/0.161, allocations: 35.53 kB / 368.2 MB, free: 3.07 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.397e-05/0.1611, allocations: 44.25 kB / 368.2 MB, free: 3.027 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.909e-06/0.1611, allocations: 4 kB / 368.2 MB, free: 3.023 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/0.1611, allocations: 0 / 368.2 MB, free: 3.023 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.374e-06/0.1611, allocations: 3.984 kB / 368.2 MB, free: 3.02 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001798/0.1629, allocations: 0.9619 MB / 369.2 MB, free: 1.992 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/0.1629, allocations: 0 / 369.2 MB, free: 1.992 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003896/0.1633, allocations: 100 kB / 369.3 MB, free: 1.895 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.246e-06/0.1633, allocations: 4 kB / 369.3 MB, free: 1.891 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.69e-05/0.1634, allocations: 11.98 kB / 369.3 MB, free: 1.879 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.065e-05/0.1634, allocations: 4 kB / 369.3 MB, free: 1.875 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.1634, allocations: 0 / 369.3 MB, free: 1.875 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001344/0.1647, allocations: 0.7363 MB / 370 MB, free: 1.109 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001317/0.1649, allocations: 136.7 kB / 370.2 MB, free: 0.957 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.361e-05/0.165, allocations: 11.98 kB / 370.2 MB, free: 0.9453 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002903/0.1652, allocations: 43.97 kB / 370.2 MB, free: 0.9023 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.983e-05/0.1653, allocations: 27.91 kB / 370.3 MB, free: 0.875 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.662e-05/0.1654, allocations: 11.94 kB / 370.3 MB, free: 0.8633 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002527/0.1656, allocations: 243.2 kB / 370.5 MB, free: 0.6289 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1656, allocations: 4 kB / 370.5 MB, free: 0.625 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000514/0.1662, allocations: 132 kB / 370.6 MB, free: 0.4961 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 6 (PI.I.y,inertia1.phi,spring.phi_rel,spring.w_rel,inertia2.w,integrator.y) * Number of discrete variables: 1 (kinematicPTP.noWphase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (32): * Single equations (assignments): 32 * 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.0001416/0.1663, allocations: 111.2 kB / 370.8 MB, free: 384 kB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.2097/0.376, allocations: 0.7877 MB / 371.5 MB, free: 25.15 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 7.955e-06/0.3761, allocations: 0.8125 kB / 371.5 MB, free: 25.15 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006059/0.3767, allocations: 206.5 kB / 371.7 MB, free: 25.15 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008208/0.3775, allocations: 92.52 kB / 371.8 MB, free: 25.15 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002301/0.3799, allocations: 1.25 MB / 373.1 MB, free: 24.51 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003952/0.3803, allocations: 0.8153 MB / 373.9 MB, free: 23.81 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001343/0.3804, allocations: 33.66 kB / 373.9 MB, free: 23.8 MB / 302.1 MB Notification: Performance of SimCode: time 2.515e-06/0.3804, allocations: 0 / 373.9 MB, free: 23.8 MB / 302.1 MB Notification: Performance of Templates: time 0.01244/0.3929, allocations: 5.906 MB / 379.8 MB, free: 22.89 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Blocks.Examples.PID_Controller.makefile make -j1 -f Modelica_4.0.0_Modelica.Blocks.Examples.PID_Controller.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.Blocks.Examples.PID_ControllerCalcHelperMain.o OMCppModelica_4.0.0_Modelica.Blocks.Examples.PID_ControllerCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_4.0.0_Modelica.Blocks.Examples.PID_ControllerCalcHelperMain.o] Error 1