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.007317/0.007317, allocations: 99.8 kB / 15.87 MB, free: 5.863 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.001706/0.001706, allocations: 187.3 kB / 16.79 MB, free: 5.805 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.736/1.736, allocations: 205.1 MB / 222.6 MB, free: 4.719 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.0563/0.0563, allocations: 10.74 MB / 280.7 MB, free: 10.71 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.001425/0.001426, allocations: 59.92 kB / 340.5 MB, free: 23.78 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1102/0.1116, allocations: 49.03 MB / 389.5 MB, free: 6.684 MB / 286.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Applications.ControlProblems.CascadeControl): time 0.0036/0.1153, allocations: 2.364 MB / 391.9 MB, free: 4.301 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001211/0.1165, allocations: 0.67 MB / 392.6 MB, free: 3.629 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000158/0.1167, allocations: 15.88 kB / 392.6 MB, free: 3.613 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002336/0.1169, allocations: 51.53 kB / 392.6 MB, free: 3.562 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001117/0.117, allocations: 31.67 kB / 392.7 MB, free: 3.531 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006393/0.1177, allocations: 299.5 kB / 393 MB, free: 3.238 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006119/0.1183, allocations: 0.6352 MB / 393.6 MB, free: 2.602 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001909/0.1185, allocations: 89.73 kB / 393.7 MB, free: 2.512 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002214/0.1187, allocations: 211 kB / 393.9 MB, free: 2.305 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002715/0.119, allocations: 238.8 kB / 394.1 MB, free: 2.07 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 5.64e-05/0.1191, allocations: 16 kB / 394.1 MB, free: 2.055 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001125/0.1192, allocations: 47.97 kB / 394.2 MB, free: 2.008 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001592/0.1194, allocations: 135.5 kB / 394.3 MB, free: 1.875 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001743/0.1196, allocations: 202.5 kB / 394.5 MB, free: 1.676 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003179/0.1199, allocations: 327.7 kB / 394.8 MB, free: 1.355 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.1199, allocations: 0 / 394.8 MB, free: 1.355 MB / 286.1 MB Notification: Performance of FrontEnd: time 9.22e-07/0.1199, allocations: 0 / 394.8 MB, free: 1.355 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.582e-06/0.1199, allocations: 3.938 kB / 394.8 MB, free: 1.352 MB / 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.001367/0.1213, allocations: 0.8358 MB / 395.7 MB, free: 476 kB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.803e-05/0.1213, allocations: 16.03 kB / 395.7 MB, free: 460 kB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000101/0.1214, allocations: 56.28 kB / 395.7 MB, free: 404 kB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005349/0.122, allocations: 441.7 kB / 396.2 MB, free: 15.92 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.381e-05/0.122, allocations: 29.38 kB / 396.2 MB, free: 15.89 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.507e-05/0.1221, allocations: 48.36 kB / 396.3 MB, free: 15.84 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007572/0.1229, allocations: 488.2 kB / 396.7 MB, free: 15.34 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.029e-05/0.1229, allocations: 4.188 kB / 396.7 MB, free: 15.34 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.58e-05/0.1229, allocations: 31.75 kB / 396.8 MB, free: 15.31 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.077e-05/0.123, allocations: 8 kB / 396.8 MB, free: 15.3 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005718/0.1235, allocations: 327.7 kB / 397.1 MB, free: 14.99 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002364/0.1259, allocations: 1.594 MB / 398.7 MB, free: 13.3 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005467/0.1265, allocations: 263.4 kB / 398.9 MB, free: 13.04 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001993/0.1267, allocations: 109.3 kB / 399 MB, free: 12.93 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.091e-05/0.1267, allocations: 4.234 kB / 399.1 MB, free: 12.92 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003499/0.1271, allocations: 199.4 kB / 399.2 MB, free: 12.71 MB / 302.1 MB Notification: Performance of pre-optimization done (n=30): time 1.764e-06/0.1271, allocations: 0 / 399.2 MB, free: 12.71 MB / 302.1 MB Notification: Performance of matching and sorting (n=30): time 0.0008805/0.128, allocations: 481.3 kB / 399.7 MB, free: 12.24 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.768e-05/0.128, allocations: 67.33 kB / 399.8 MB, free: 12.16 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005352/0.1286, allocations: 493.8 kB / 400.3 MB, free: 11.66 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000104/0.1287, allocations: 37.7 kB / 400.3 MB, free: 11.62 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002068/0.1289, allocations: 299.5 kB / 400.6 MB, free: 11.32 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.278e-05/0.129, allocations: 102.7 kB / 400.7 MB, free: 11.22 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001269/0.1291, allocations: 110.2 kB / 400.8 MB, free: 11.11 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001507/0.1293, allocations: 370.7 kB / 401.2 MB, free: 10.74 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002148/0.1295, allocations: 117.1 kB / 401.3 MB, free: 10.62 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003855/0.1299, allocations: 418.7 kB / 401.7 MB, free: 10.07 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001391/0.1313, allocations: 0.8109 MB / 402.5 MB, free: 9.121 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.59e-06/0.1313, allocations: 4 kB / 402.5 MB, free: 9.117 MB / 302.1 MB Notification: Performance of matching and sorting (n=80) (initialization): time 0.0009867/0.1323, allocations: 0.6298 MB / 403.1 MB, free: 8.484 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.669e-05/0.1324, allocations: 12 kB / 403.1 MB, free: 8.473 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.382e-05/0.1324, allocations: 8 kB / 403.2 MB, free: 8.465 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.152e-05/0.1324, allocations: 20.03 kB / 403.2 MB, free: 8.445 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000415/0.1328, allocations: 131.7 kB / 403.3 MB, free: 8.316 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.949e-05/0.1329, allocations: 27.91 kB / 403.3 MB, free: 8.289 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002733/0.1332, allocations: 75.27 kB / 403.4 MB, free: 8.215 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.336e-05/0.1332, allocations: 32 kB / 403.4 MB, free: 8.184 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.0004016/0.1336, allocations: 247.2 kB / 403.7 MB, free: 7.93 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.497e-05/0.1337, allocations: 47.34 kB / 403.7 MB, free: 7.883 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001112/0.1338, allocations: 53.05 kB / 403.8 MB, free: 7.828 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.014e-06/0.1338, allocations: 7.938 kB / 403.8 MB, free: 7.82 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.346e-06/0.1338, allocations: 0 / 403.8 MB, free: 7.82 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.1338, allocations: 0 / 403.8 MB, free: 7.82 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005/0.1343, allocations: 429.3 kB / 404.2 MB, free: 7.352 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.1344, allocations: 0 / 404.2 MB, free: 7.352 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002831/0.1347, allocations: 51.91 kB / 404.2 MB, free: 7.301 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.755e-06/0.1347, allocations: 4 kB / 404.3 MB, free: 7.297 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.672e-05/0.1347, allocations: 15.98 kB / 404.3 MB, free: 7.281 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.268e-06/0.1347, allocations: 3.938 kB / 404.3 MB, free: 7.277 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.1347, allocations: 0 / 404.3 MB, free: 7.277 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009564/0.1357, allocations: 0.5353 MB / 404.8 MB, free: 6.723 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001181/0.1358, allocations: 132.4 kB / 404.9 MB, free: 6.574 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.199e-05/0.1359, allocations: 19.92 kB / 405 MB, free: 6.555 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001408/0.1361, allocations: 8 kB / 405 MB, free: 6.547 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.466e-05/0.1361, allocations: 23.91 kB / 405 MB, free: 6.523 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.845e-05/0.1362, allocations: 19.92 kB / 405 MB, free: 6.504 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0003863/0.1366, allocations: 322.8 kB / 405.3 MB, free: 6.191 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1366, allocations: 0 / 405.3 MB, free: 6.191 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004886/0.1371, allocations: 95.78 kB / 405.4 MB, free: 6.098 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.0002384/0.1373, allocations: 123.2 kB / 405.5 MB, free: 5.969 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0007561/0.1381, allocations: 394.6 kB / 405.9 MB, free: 5.586 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.1381, allocations: 0 / 405.9 MB, free: 5.586 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002549/0.1384, allocations: 139.9 kB / 406.1 MB, free: 5.449 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003599/0.1387, allocations: 54.58 kB / 406.1 MB, free: 5.395 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001493/0.1402, allocations: 1.097 MB / 407.2 MB, free: 4.258 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004331/0.1407, allocations: 0.8701 MB / 408.1 MB, free: 3.363 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.427e-05/0.1408, allocations: 35.44 kB / 408.1 MB, free: 3.328 MB / 302.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1408, allocations: 0 / 408.1 MB, free: 3.328 MB / 302.1 MB Notification: Performance of Templates: time 0.007799/0.1486, allocations: 5.638 MB / 413.8 MB, free: 13.68 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