Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IndustrialControlSystems_IndustrialControlSystems.Applications.ControlProblems.ProcessControl.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo", uses=false) Using package IndustrialControlSystems with version 1.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(IndustrialControlSystems.Applications.ControlProblems.ProcessControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Applications.ControlProblems.ProcessControl") translateModel(IndustrialControlSystems.Applications.ControlProblems.ProcessControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Applications.ControlProblems.ProcessControl") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009343/0.0009344, allocations: 98.88 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001146/0.001146, allocations: 187.4 kB / 16.92 MB, free: 6.77 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.985/1.985, allocations: 205.4 MB / 223.1 MB, free: 5.508 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.05713/0.05713, allocations: 10.75 MB / 282.1 MB, free: 10.45 MB / 238.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005463/0.0005464, allocations: 16.22 kB / 342.9 MB, free: 23.48 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.138/0.1385, allocations: 50.01 MB / 392.9 MB, free: 5.41 MB / 286.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Applications.ControlProblems.ProcessControl): time 0.004613/0.1432, allocations: 3.719 MB / 396.6 MB, free: 1.664 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.003783/0.147, allocations: 1.677 MB / 398.3 MB, free: 15.98 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000586/0.1476, allocations: 59.44 kB / 398.4 MB, free: 15.93 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003043/0.1479, allocations: 102.8 kB / 398.5 MB, free: 15.82 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004885/0.1484, allocations: 111 kB / 398.6 MB, free: 15.71 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001762/0.1502, allocations: 0.7725 MB / 399.3 MB, free: 14.94 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001442/0.1517, allocations: 1.391 MB / 400.7 MB, free: 13.55 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006533/0.1523, allocations: 408.3 kB / 401.1 MB, free: 13.12 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005918/0.1529, allocations: 0.5166 MB / 401.6 MB, free: 12.6 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005809/0.1535, allocations: 488.8 kB / 402.1 MB, free: 12.12 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001092/0.1536, allocations: 47.98 kB / 402.2 MB, free: 12.07 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000103/0.1537, allocations: 44 kB / 402.2 MB, free: 12.03 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000203/0.154, allocations: 214.8 kB / 402.4 MB, free: 11.82 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005141/0.1545, allocations: 0.5291 MB / 402.9 MB, free: 11.28 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009109/0.1554, allocations: 0.877 MB / 403.8 MB, free: 10.4 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.65e-06/0.1554, allocations: 4 kB / 403.8 MB, free: 10.4 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.525e-06/0.1554, allocations: 0 / 403.8 MB, free: 10.4 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.337e-05/0.1554, allocations: 0 / 403.8 MB, free: 10.4 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: 245 * Number of variables: 245 Notification: Performance of Generate backend data structure: time 0.002658/0.1581, allocations: 1.433 MB / 405.3 MB, free: 8.91 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.829e-05/0.1582, allocations: 8.031 kB / 405.3 MB, free: 8.902 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002826/0.1585, allocations: 167 kB / 405.4 MB, free: 8.738 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001311/0.1598, allocations: 0.8854 MB / 406.3 MB, free: 7.797 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000227/0.16, allocations: 300.2 kB / 406.6 MB, free: 7.453 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001935/0.1602, allocations: 132.1 kB / 406.7 MB, free: 7.324 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001777/0.162, allocations: 1.114 MB / 407.9 MB, free: 6.117 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.896e-05/0.1621, allocations: 11.88 kB / 407.9 MB, free: 6.105 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001098/0.1622, allocations: 43.94 kB / 407.9 MB, free: 6.062 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.206e-05/0.1622, allocations: 28 kB / 407.9 MB, free: 6.035 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00127/0.1635, allocations: 0.726 MB / 408.7 MB, free: 5.309 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005226/0.1687, allocations: 3.882 MB / 412.5 MB, free: 1.312 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001518/0.1702, allocations: 0.8448 MB / 413.4 MB, free: 468 kB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006945/0.171, allocations: 422.3 kB / 413.8 MB, free: 44 kB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.437e-05/0.171, allocations: 16.98 kB / 413.8 MB, free: 28 kB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.014e-05/0.1711, allocations: 47.56 kB / 413.9 MB, free: 15.97 MB / 318.1 MB Notification: Performance of pre-optimization done (n=99): time 2.174e-06/0.1711, allocations: 0 / 413.9 MB, free: 15.97 MB / 318.1 MB Notification: Performance of matching and sorting (n=99): time 0.001924/0.173, allocations: 1.096 MB / 415 MB, free: 14.87 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000301/0.1733, allocations: 376.8 kB / 415.3 MB, free: 14.41 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001083/0.1744, allocations: 0.9106 MB / 416.2 MB, free: 13.49 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 7.683e-05/0.1745, allocations: 53.7 kB / 416.3 MB, free: 13.43 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004742/0.175, allocations: 0.5899 MB / 416.9 MB, free: 12.83 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002813/0.1753, allocations: 378.5 kB / 417.3 MB, free: 12.46 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001651/0.1755, allocations: 141.6 kB / 417.4 MB, free: 12.31 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001667/0.1756, allocations: 361.9 kB / 417.7 MB, free: 11.95 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006224/0.1763, allocations: 355.9 kB / 418.1 MB, free: 11.61 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000925/0.1772, allocations: 0.7525 MB / 418.8 MB, free: 10.69 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001564/0.1788, allocations: 1.084 MB / 419.9 MB, free: 9.469 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.961e-06/0.1788, allocations: 4 kB / 419.9 MB, free: 9.465 MB / 318.1 MB Notification: Performance of matching and sorting (n=179) (initialization): time 0.002089/0.1809, allocations: 1.276 MB / 421.2 MB, free: 8.18 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3e-05/0.1809, allocations: 10.66 kB / 421.2 MB, free: 8.172 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.197e-05/0.1809, allocations: 12 kB / 421.2 MB, free: 8.16 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.928e-05/0.181, allocations: 16 kB / 421.2 MB, free: 8.145 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001489/0.1825, allocations: 344 kB / 421.6 MB, free: 7.809 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.073e-05/0.1825, allocations: 23.92 kB / 421.6 MB, free: 7.785 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006708/0.1832, allocations: 130.7 kB / 421.7 MB, free: 7.656 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.333e-05/0.1833, allocations: 56 kB / 421.8 MB, free: 7.602 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 43 * Number of states: 0 () * Number of discrete variables: 16 (R_FS.ATreq_in,R_FS.TS_in,R_Osc.TS_in,R_US.TS_in,R_OS.TS_in,R_iD.TS_in,R_i.TS_in,R_FOD.TS_in,R_FO.TS_in,R_Osc.ATreq_in,R_US.ATreq_in,R_OS.ATreq_in,R_iD.ATreq_in,R_i.ATreq_in,R_FOD.ATreq_in,R_FO.ATreq_in) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (179): * Single equations (assignments): 179 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000478/0.1838, allocations: 278 kB / 422.1 MB, free: 7.32 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001618/0.184, allocations: 138.3 kB / 422.2 MB, free: 7.184 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001869/0.1858, allocations: 1.053 MB / 423.2 MB, free: 6.117 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.669e-05/0.1859, allocations: 16 kB / 423.3 MB, free: 6.102 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.865e-06/0.1859, allocations: 0 / 423.3 MB, free: 6.102 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.167e-05/0.1859, allocations: 3.984 kB / 423.3 MB, free: 6.098 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00138/0.1873, allocations: 1.07 MB / 424.3 MB, free: 4.98 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.527e-06/0.1873, allocations: 0 / 424.3 MB, free: 4.98 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00168/0.189, allocations: 307.6 kB / 424.6 MB, free: 4.68 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.087e-06/0.189, allocations: 8 kB / 424.6 MB, free: 4.672 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.307e-05/0.1891, allocations: 31.98 kB / 424.7 MB, free: 4.641 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.372e-06/0.1891, allocations: 4 kB / 424.7 MB, free: 4.637 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.121e-06/0.1891, allocations: 4 kB / 424.7 MB, free: 4.633 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002323/0.1915, allocations: 1.459 MB / 426.1 MB, free: 3.16 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001945/0.1917, allocations: 203.2 kB / 426.3 MB, free: 2.941 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001193/0.1918, allocations: 39.94 kB / 426.4 MB, free: 2.902 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000503/0.1923, allocations: 27.98 kB / 426.4 MB, free: 2.875 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001499/0.1925, allocations: 68.89 kB / 426.5 MB, free: 2.809 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.45e-05/0.1925, allocations: 35.98 kB / 426.5 MB, free: 2.773 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0007662/0.1933, allocations: 0.5787 MB / 427.1 MB, free: 2.188 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1933, allocations: 0 / 427.1 MB, free: 2.188 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0007067/0.194, allocations: 235.4 kB / 427.3 MB, free: 1.957 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 40 (NoControl.firstOrder.y,NoControl.firstOrder1.y,NoControl.integrator.y,NoControl.integrator1.y,NoControl.leadLag.dy,NoControl.firstOrder2.y,NoControl.leadLag1.dy,NoControl.firstOrder3.y,NoControl.complexPoles.y,NoControl.complexPoles.dy,NoControl.leadLag2.dy,NoControl.firstOrder4.y,Controlled.firstOrder.y,Controlled.firstOrder1.y,Controlled.integrator.y,Controlled.integrator1.y,Controlled.leadLag.dy,Controlled.firstOrder2.y,Controlled.leadLag1.dy,Controlled.firstOrder3.y,Controlled.complexPoles.y,Controlled.complexPoles.dy,Controlled.leadLag2.dy,Controlled.firstOrder4.y,R_FO.Iaction,R_FO.Fder,R_FOD.Iaction,R_FOD.Fder,R_i.Iaction,R_i.Fder,R_iD.Iaction,R_iD.Fder,R_OS.Iaction,R_OS.Fder,R_US.Iaction,R_US.Fder,R_Osc.Iaction,R_Osc.Fder,R_FS.Iaction,R_FS.Fder) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (115): * Single equations (assignments): 115 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001903/0.1942, allocations: 147 kB / 427.5 MB, free: 1.805 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001525/0.1958, allocations: 0.9407 MB / 428.4 MB, free: 0.8633 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 6.743e-06/0.1958, allocations: 8 kB / 428.4 MB, free: 0.8555 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006487/0.1964, allocations: 450.8 kB / 428.9 MB, free: 424 kB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007517/0.1972, allocations: 148.2 kB / 429 MB, free: 272 kB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2357/0.4329, allocations: 3.357 MB / 432.4 MB, free: 40.36 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008139/0.4338, allocations: 1.157 MB / 433.5 MB, free: 39.65 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005199/0.4343, allocations: 108.6 kB / 433.6 MB, free: 39.64 MB / 318.1 MB Notification: Performance of SimCode: time 1.293e-06/0.4343, allocations: 1.125 kB / 433.6 MB, free: 39.64 MB / 318.1 MB Notification: Performance of Templates: time 0.02937/0.4637, allocations: 13.75 MB / 447.4 MB, free: 34.47 MB / 318.1 MB make -j1 -f IndustrialControlSystems_IndustrialControlSystems.Applications.ControlProblems.ProcessControl.makefile make -j1 -f IndustrialControlSystems_IndustrialControlSystems.Applications.ControlProblems.ProcessControl.makefile clang++ -std=c++14 NOTFOUND -Winvalid-pch -O2 -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/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppIndustrialControlSystems_IndustrialControlSystems.Applications.ControlProblems.ProcessControlCalcHelperMain.o OMCppIndustrialControlSystems_IndustrialControlSystems.Applications.ControlProblems.ProcessControlCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppIndustrialControlSystems_IndustrialControlSystems.Applications.ControlProblems.ProcessControlCalcHelperMain.o] Error 1