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.00106/0.00106, allocations: 99.12 kB / 15.71 MB, free: 452 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.001085/0.001085, allocations: 177.9 kB / 16.58 MB, free: 6.879 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.002/2.002, allocations: 205.4 MB / 222.8 MB, free: 5.645 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.05439/0.05439, allocations: 10.75 MB / 281.8 MB, free: 10.54 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.0008055/0.0008055, allocations: 8 kB / 342.3 MB, free: 23.86 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1606/0.1614, allocations: 50.01 MB / 392.3 MB, free: 5.773 MB / 286.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Applications.ControlProblems.ProcessControl): time 0.005953/0.1674, allocations: 3.474 MB / 395.7 MB, free: 2.277 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.004918/0.1724, allocations: 1.642 MB / 397.4 MB, free: 0.6328 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001529/0.174, allocations: 59.44 kB / 397.4 MB, free: 0.5742 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005496/0.1745, allocations: 94.81 kB / 397.5 MB, free: 492 kB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009692/0.1755, allocations: 111 kB / 397.6 MB, free: 380 kB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002102/0.1777, allocations: 0.6475 MB / 398.3 MB, free: 15.72 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.002119/0.1798, allocations: 1.289 MB / 399.6 MB, free: 14.43 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007964/0.1806, allocations: 319.3 kB / 399.9 MB, free: 14.1 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001/0.1816, allocations: 0.4935 MB / 400.4 MB, free: 13.6 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008439/0.1825, allocations: 477.1 kB / 400.9 MB, free: 13.13 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003308/0.1828, allocations: 44 kB / 400.9 MB, free: 13.09 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002384/0.1831, allocations: 40 kB / 400.9 MB, free: 13.05 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002966/0.1834, allocations: 214.8 kB / 401.1 MB, free: 12.84 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002599/0.1836, allocations: 213 kB / 401.4 MB, free: 12.62 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000841/0.1845, allocations: 0.8693 MB / 402.2 MB, free: 11.75 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.342e-06/0.1845, allocations: 0 / 402.2 MB, free: 11.75 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.224e-06/0.1845, allocations: 0 / 402.2 MB, free: 11.75 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.186e-05/0.1845, allocations: 3.938 kB / 402.2 MB, free: 11.75 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.002526/0.1871, allocations: 1.456 MB / 403.7 MB, free: 10.24 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.417e-05/0.1871, allocations: 8.031 kB / 403.7 MB, free: 10.23 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002436/0.1874, allocations: 170 kB / 403.9 MB, free: 10.06 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001228/0.1886, allocations: 0.8382 MB / 404.7 MB, free: 9.168 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002104/0.1888, allocations: 303.6 kB / 405 MB, free: 8.824 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001739/0.189, allocations: 123.8 kB / 405.1 MB, free: 8.703 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001674/0.1907, allocations: 1.113 MB / 406.2 MB, free: 7.492 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.611e-05/0.1907, allocations: 11.92 kB / 406.2 MB, free: 7.48 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.681e-05/0.1908, allocations: 36 kB / 406.3 MB, free: 7.445 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.984e-05/0.1908, allocations: 24 kB / 406.3 MB, free: 7.422 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001226/0.1921, allocations: 0.7182 MB / 407 MB, free: 6.707 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005026/0.1971, allocations: 3.882 MB / 410.9 MB, free: 2.711 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001466/0.1986, allocations: 0.8348 MB / 411.7 MB, free: 1.867 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006204/0.1992, allocations: 418.3 kB / 412.1 MB, free: 1.457 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.208e-05/0.1993, allocations: 20.97 kB / 412.2 MB, free: 1.434 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.214e-05/0.1994, allocations: 51.56 kB / 412.2 MB, free: 1.375 MB / 302.1 MB Notification: Performance of pre-optimization done (n=99): time 2.715e-06/0.1994, allocations: 0 / 412.2 MB, free: 1.375 MB / 302.1 MB Notification: Performance of matching and sorting (n=99): time 0.001899/0.2013, allocations: 1.084 MB / 413.3 MB, free: 296 kB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002512/0.2015, allocations: 380.8 kB / 413.7 MB, free: 15.83 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001085/0.2026, allocations: 0.9087 MB / 414.6 MB, free: 14.91 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 7.218e-05/0.2027, allocations: 53.7 kB / 414.6 MB, free: 14.85 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004809/0.2032, allocations: 0.586 MB / 415.2 MB, free: 14.26 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002984/0.2035, allocations: 386.4 kB / 415.6 MB, free: 13.88 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.106e-05/0.2036, allocations: 28 kB / 415.6 MB, free: 13.85 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001743/0.2037, allocations: 357.9 kB / 416 MB, free: 13.49 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005897/0.2043, allocations: 343.9 kB / 416.3 MB, free: 13.16 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009372/0.2053, allocations: 0.7525 MB / 417.1 MB, free: 12.24 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007602/0.2061, allocations: 470.2 kB / 417.5 MB, free: 11.78 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.951e-06/0.2061, allocations: 4 kB / 417.5 MB, free: 11.77 MB / 318.1 MB Notification: Performance of matching and sorting (n=179) (initialization): time 0.001958/0.208, allocations: 1.254 MB / 418.8 MB, free: 10.51 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.032e-05/0.2081, allocations: 19 kB / 418.8 MB, free: 10.5 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.715e-05/0.2081, allocations: 8 kB / 418.8 MB, free: 10.49 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.224e-05/0.2082, allocations: 20 kB / 418.8 MB, free: 10.47 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001372/0.2095, allocations: 343.5 kB / 419.2 MB, free: 10.13 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.623e-05/0.2096, allocations: 23.92 kB / 419.2 MB, free: 10.11 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006387/0.2102, allocations: 142.6 kB / 419.3 MB, free: 9.969 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.884e-05/0.2103, allocations: 56 kB / 419.4 MB, free: 9.914 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004886/0.2108, allocations: 278 kB / 419.6 MB, free: 9.633 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001673/0.211, allocations: 118.5 kB / 419.8 MB, free: 9.516 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001811/0.2128, allocations: 1.064 MB / 420.8 MB, free: 8.438 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.047e-05/0.2128, allocations: 12 kB / 420.8 MB, free: 8.426 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.434e-06/0.2128, allocations: 7.938 kB / 420.8 MB, free: 8.418 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.275e-05/0.2129, allocations: 7.969 kB / 420.9 MB, free: 8.41 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001351/0.2142, allocations: 1.067 MB / 421.9 MB, free: 7.297 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.06e-06/0.2142, allocations: 4 kB / 421.9 MB, free: 7.293 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001621/0.2159, allocations: 303.7 kB / 422.2 MB, free: 6.996 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.164e-05/0.2159, allocations: 4 kB / 422.2 MB, free: 6.992 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.982e-05/0.216, allocations: 27.98 kB / 422.2 MB, free: 6.965 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.682e-06/0.216, allocations: 7.938 kB / 422.3 MB, free: 6.957 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.216, allocations: 4 kB / 422.3 MB, free: 6.953 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002176/0.2182, allocations: 1.451 MB / 423.7 MB, free: 5.484 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002154/0.2184, allocations: 211.2 kB / 423.9 MB, free: 5.258 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001263/0.2185, allocations: 24 kB / 423.9 MB, free: 5.234 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004639/0.219, allocations: 35.97 kB / 424 MB, free: 5.199 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001203/0.2191, allocations: 72.91 kB / 424 MB, free: 5.129 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.81e-05/0.2192, allocations: 31.98 kB / 424.1 MB, free: 5.098 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0008109/0.22, allocations: 0.5748 MB / 424.7 MB, free: 4.516 MB / 318.1 MB Notification: Performance of sort global known variables: time 6.61e-07/0.22, allocations: 0 / 424.7 MB, free: 4.516 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0008152/0.2209, allocations: 235.4 kB / 424.9 MB, free: 4.285 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 (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.000196/0.2211, allocations: 147 kB / 425 MB, free: 4.133 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.00181/0.2229, allocations: 0.9457 MB / 426 MB, free: 3.188 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.907e-06/0.2229, allocations: 0 / 426 MB, free: 3.188 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007793/0.2237, allocations: 445.5 kB / 426.4 MB, free: 2.75 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007713/0.2245, allocations: 144.3 kB / 426.5 MB, free: 2.609 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.205/0.4295, allocations: 3.203 MB / 429.8 MB, free: 40.86 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000772/0.4303, allocations: 1.161 MB / 430.9 MB, free: 40.15 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005222/0.4308, allocations: 110.2 kB / 431 MB, free: 40.14 MB / 318.1 MB Notification: Performance of SimCode: time 1.002e-06/0.4308, allocations: 3.906 kB / 431 MB, free: 40.14 MB / 318.1 MB Notification: Performance of Templates: time 0.03003/0.4608, allocations: 13.71 MB / 444.7 MB, free: 35.22 MB / 318.1 MB make -j1 -f IndustrialControlSystems_IndustrialControlSystems.Applications.ControlProblems.ProcessControl.makefile make -j1 -f IndustrialControlSystems_IndustrialControlSystems.Applications.ControlProblems.ProcessControl.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 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