Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IndustrialControlSystems_IndustrialControlSystems.Applications.ControlProblems.CascadeControl.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.CascadeControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Applications.ControlProblems.CascadeControl") translateModel(IndustrialControlSystems.Applications.ControlProblems.CascadeControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Applications.ControlProblems.CascadeControl") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001149/0.001149, allocations: 98.8 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.001573/0.001573, allocations: 180.1 kB / 16.92 MB, free: 6.918 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.005/2.005, allocations: 205.4 MB / 223.1 MB, free: 5.754 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.0574/0.0574, allocations: 10.75 MB / 282.1 MB, free: 10.68 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.0005612/0.0005613, allocations: 12.22 kB / 342.9 MB, free: 23.53 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1198/0.1204, allocations: 50.01 MB / 392.9 MB, free: 5.449 MB / 286.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Applications.ControlProblems.CascadeControl): time 0.002906/0.1234, allocations: 2.002 MB / 394.9 MB, free: 3.434 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0017/0.1251, allocations: 0.6662 MB / 395.6 MB, free: 2.766 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003673/0.1255, allocations: 19.81 kB / 395.6 MB, free: 2.746 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002893/0.1258, allocations: 55.52 kB / 395.6 MB, free: 2.691 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002141/0.1261, allocations: 23.73 kB / 395.7 MB, free: 2.668 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009179/0.127, allocations: 311.5 kB / 396 MB, free: 2.363 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009328/0.1279, allocations: 0.6392 MB / 396.6 MB, free: 1.723 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002252/0.1282, allocations: 81.75 kB / 396.7 MB, free: 1.641 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003805/0.1286, allocations: 211 kB / 396.9 MB, free: 1.434 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003973/0.129, allocations: 218.9 kB / 397.1 MB, free: 1.219 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 8.507e-05/0.1291, allocations: 16 kB / 397.1 MB, free: 1.203 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001327/0.1292, allocations: 39.98 kB / 397.2 MB, free: 1.164 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000198/0.1294, allocations: 135.5 kB / 397.3 MB, free: 1.031 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002705/0.1297, allocations: 224.2 kB / 397.5 MB, free: 0.8047 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004009/0.1301, allocations: 327.5 kB / 397.8 MB, free: 496 kB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.123e-06/0.1301, allocations: 0 / 397.8 MB, free: 496 kB / 286.1 MB Notification: Performance of FrontEnd: time 3.075e-06/0.1301, allocations: 0 / 397.8 MB, free: 496 kB / 286.1 MB Notification: Performance of Transformations before backend: time 2.6e-05/0.1302, allocations: 0 / 397.8 MB, free: 496 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: 101 * Number of variables: 101 Notification: Performance of Generate backend data structure: time 0.001612/0.1318, allocations: 0.7463 MB / 398.6 MB, free: 15.69 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.751e-05/0.1318, allocations: 8.031 kB / 398.6 MB, free: 15.68 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000163/0.132, allocations: 60.19 kB / 398.6 MB, free: 15.62 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007479/0.1328, allocations: 441.7 kB / 399.1 MB, free: 15.15 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.681e-05/0.1328, allocations: 33.38 kB / 399.1 MB, free: 15.12 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.311e-05/0.1329, allocations: 40.38 kB / 399.1 MB, free: 15.08 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009627/0.1339, allocations: 496.3 kB / 399.6 MB, free: 14.57 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.938e-05/0.1339, allocations: 192 / 399.6 MB, free: 14.57 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.937e-05/0.134, allocations: 19.94 kB / 399.7 MB, free: 14.55 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.515e-05/0.134, allocations: 16 kB / 399.7 MB, free: 14.54 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006448/0.1347, allocations: 327.7 kB / 400 MB, free: 14.22 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002608/0.1373, allocations: 1.606 MB / 401.6 MB, free: 12.52 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005823/0.1379, allocations: 262.2 kB / 401.8 MB, free: 12.26 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002023/0.1381, allocations: 117.2 kB / 402 MB, free: 12.14 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.916e-05/0.1381, allocations: 8.234 kB / 402 MB, free: 12.13 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003764/0.1385, allocations: 203.5 kB / 402.2 MB, free: 11.92 MB / 302.1 MB Notification: Performance of pre-optimization done (n=30): time 1.934e-06/0.1385, allocations: 0 / 402.2 MB, free: 11.92 MB / 302.1 MB Notification: Performance of matching and sorting (n=30): time 0.000923/0.1395, allocations: 497.2 kB / 402.7 MB, free: 11.43 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.595e-05/0.1395, allocations: 63.33 kB / 402.7 MB, free: 11.36 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005264/0.1401, allocations: 0.4901 MB / 403.2 MB, free: 10.85 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.676e-05/0.1401, allocations: 37.7 kB / 403.2 MB, free: 10.81 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000225/0.1404, allocations: 295.5 kB / 403.5 MB, free: 10.52 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.742e-05/0.1405, allocations: 94.7 kB / 403.6 MB, free: 10.42 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.024e-05/0.1405, allocations: 69.67 kB / 403.7 MB, free: 10.35 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0002136/0.1408, allocations: 370.8 kB / 404.1 MB, free: 9.977 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002474/0.141, allocations: 117.1 kB / 404.2 MB, free: 9.863 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004765/0.1415, allocations: 422.7 kB / 404.6 MB, free: 9.309 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001492/0.143, allocations: 0.838 MB / 405.4 MB, free: 8.332 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.396e-06/0.143, allocations: 4 kB / 405.4 MB, free: 8.328 MB / 302.1 MB Notification: Performance of matching and sorting (n=80) (initialization): time 0.001026/0.1441, allocations: 0.637 MB / 406.1 MB, free: 7.684 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.591e-05/0.1441, allocations: 8 kB / 406.1 MB, free: 7.676 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.507e-05/0.1441, allocations: 12 kB / 406.1 MB, free: 7.664 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.496e-05/0.1442, allocations: 12.75 kB / 406.1 MB, free: 7.652 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004164/0.1446, allocations: 147.6 kB / 406.2 MB, free: 7.508 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.81e-05/0.1446, allocations: 23.92 kB / 406.3 MB, free: 7.484 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002729/0.1449, allocations: 67.28 kB / 406.3 MB, free: 7.418 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.916e-05/0.145, allocations: 32 kB / 406.4 MB, free: 7.387 MB / 302.1 MB Warning: Assuming fixed start value for the following 17 variables: R.cs:DISCRETE(fixed = true ) "Pre-biased Control Signal" type: Real R.satin:DISCRETE(fixed = true ) "input of the saturation block" type: Real R_outer.CS:DISCRETE(flow=false fixed = true ) "Control signal" type: Real R_outer.cs:DISCRETE(fixed = true ) "Pre-biased Control Signal" type: Real R_outer.satin:DISCRETE(fixed = true ) "input of the saturation block" type: Real R_inner.cs:DISCRETE(fixed = true ) "Pre-biased Control Signal" type: Real R_inner.satin:DISCRETE(fixed = true ) "input of the saturation block" type: Real P_outer.w:VARIABLE(fixed = true protected = true ) "proper part of the output" type: Real P_outer.U[2]:VARIABLE(fixed = true protected = true ) type: Real [2] P_outer.Y[3]:VARIABLE(fixed = true protected = true ) type: Real [3] P2.w:VARIABLE(fixed = true protected = true ) "proper part of the output" type: Real P2.U[2]:VARIABLE(fixed = true protected = true ) type: Real [2] P2.Y[3]:VARIABLE(fixed = true protected = true ) type: Real [3] R_inner.CS:DISCRETE(flow=false fixed = true ) "Control signal" type: Real P_inner.w:VARIABLE(fixed = true protected = true ) "proper part of the output" type: Real R.CS:DISCRETE(flow=false fixed = true ) "Control signal" type: Real P1.w:VARIABLE(fixed = true protected = true ) "proper part of the output" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 46 * Number of states: 0 () * Number of discrete variables: 32 (R.FBout,$PRE.R.FBout,$PRE.R.cs,R.cs,$PRE.R.satin,R.satin,$PRE.R_outer.CS,R_outer.CS,R_outer.FBout,$PRE.R_outer.FBout,$PRE.R_outer.cs,R_outer.cs,$PRE.R_outer.satin,R_outer.satin,R_inner.FBout,$PRE.R_inner.FBout,$PRE.R_inner.cs,R_inner.cs,$PRE.R_inner.satin,R_inner.satin,$whenCondition2,$whenCondition1,$PRE.R_inner.CS,$PRE.R.CS,R_inner.CS,R.CS,R_inner.TS_in,R_outer.TS_in,R.TS_in,R_inner.ATreq_in,R_outer.ATreq_in,R.ATreq_in) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (80): * Single equations (assignments): 80 * 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.0004088/0.1454, allocations: 251.3 kB / 406.6 MB, free: 7.129 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.764e-05/0.1454, allocations: 51.33 kB / 406.7 MB, free: 7.078 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001123/0.1456, allocations: 57.05 kB / 406.7 MB, free: 7.02 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.043e-05/0.1456, allocations: 7.938 kB / 406.7 MB, free: 7.012 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.013e-06/0.1456, allocations: 0 / 406.7 MB, free: 7.012 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.184e-06/0.1456, allocations: 0 / 406.7 MB, free: 7.012 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005128/0.1461, allocations: 421.2 kB / 407.1 MB, free: 6.551 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.1461, allocations: 0 / 407.1 MB, free: 6.551 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002875/0.1464, allocations: 55.95 kB / 407.2 MB, free: 6.496 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.805e-06/0.1465, allocations: 4 kB / 407.2 MB, free: 6.492 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.775e-05/0.1465, allocations: 11.98 kB / 407.2 MB, free: 6.48 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.713e-06/0.1465, allocations: 11.88 kB / 407.2 MB, free: 6.469 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.1465, allocations: 0 / 407.2 MB, free: 6.469 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009674/0.1475, allocations: 0.5471 MB / 407.8 MB, free: 5.902 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001446/0.1476, allocations: 124.4 kB / 407.9 MB, free: 5.762 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.963e-05/0.1477, allocations: 15.94 kB / 407.9 MB, free: 5.746 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001577/0.1479, allocations: 11.98 kB / 407.9 MB, free: 5.734 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001028/0.148, allocations: 23.97 kB / 407.9 MB, free: 5.711 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.846e-05/0.1481, allocations: 15.92 kB / 407.9 MB, free: 5.695 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0005802/0.1486, allocations: 322.9 kB / 408.3 MB, free: 5.383 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.1487, allocations: 4 kB / 408.3 MB, free: 5.379 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005341/0.1492, allocations: 95.77 kB / 408.4 MB, free: 5.285 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (P1.w,P2.Y[3],P2.U[2],P2.w,P_inner.w,P_outer.Y[3],P_outer.U[2],P_outer.w) * Number of discrete variables: 14 ($whenCondition2,$whenCondition1,R.CS,R.FBout,R.cs,R.satin,R_outer.CS,R_outer.FBout,R_outer.cs,R_outer.satin,R_inner.CS,R_inner.FBout,R_inner.cs,R_inner.satin) * Number of discrete states: 6 (R_inner.FBout,R_inner.cs,R_outer.FBout,R_outer.cs,R.FBout,R.cs) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (30): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 12 * 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.0002021/0.1494, allocations: 119.2 kB / 408.5 MB, free: 5.16 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.000735/0.1502, allocations: 402.4 kB / 408.9 MB, free: 4.77 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/0.1502, allocations: 0.8125 kB / 408.9 MB, free: 4.77 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003246/0.1505, allocations: 155.9 kB / 409 MB, free: 4.617 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003576/0.1509, allocations: 50.59 kB / 409.1 MB, free: 4.566 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001623/0.1525, allocations: 1.113 MB / 410.2 MB, free: 3.418 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006438/0.1532, allocations: 0.874 MB / 411.1 MB, free: 2.52 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.837e-05/0.1533, allocations: 35.44 kB / 411.1 MB, free: 2.484 MB / 302.1 MB Notification: Performance of SimCode: time 3.7e-07/0.1533, allocations: 0 / 411.1 MB, free: 2.484 MB / 302.1 MB Notification: Performance of Templates: time 0.01058/0.1639, allocations: 5.586 MB / 416.7 MB, free: 12.89 MB / 318.1 MB make -j1 -f IndustrialControlSystems_IndustrialControlSystems.Applications.ControlProblems.CascadeControl.makefile make -j1 -f IndustrialControlSystems_IndustrialControlSystems.Applications.ControlProblems.CascadeControl.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.CascadeControlCalcHelperMain.o OMCppIndustrialControlSystems_IndustrialControlSystems.Applications.ControlProblems.CascadeControlCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppIndustrialControlSystems_IndustrialControlSystems.Applications.ControlProblems.CascadeControlCalcHelperMain.o] Error 1