Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IndustrialControlSystems_IndustrialControlSystems.Applications.ControlProblems.DecoupledControl.NoDecoupledControl.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.DecoupledControl.NoDecoupledControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Applications.ControlProblems.DecoupledControl.NoDecoupledControl") translateModel(IndustrialControlSystems.Applications.ControlProblems.DecoupledControl.NoDecoupledControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Applications.ControlProblems.DecoupledControl.NoDecoupledControl") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001168/0.001168, allocations: 102.6 kB / 15.71 MB, free: 460 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.001638/0.001638, allocations: 171.9 kB / 16.58 MB, free: 6.398 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.125/2.125, allocations: 205.4 MB / 222.7 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.05443/0.05443, 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.0007383/0.0007383, allocations: 12 kB / 342.3 MB, free: 23.86 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1343/0.135, allocations: 50.01 MB / 392.3 MB, free: 5.777 MB / 286.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Applications.ControlProblems.DecoupledControl.NoDecoupledControl): time 0.003401/0.1385, allocations: 1.882 MB / 394.2 MB, free: 3.883 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001473/0.14, allocations: 0.6118 MB / 394.8 MB, free: 3.27 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001768/0.1402, allocations: 11.88 kB / 394.8 MB, free: 3.258 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002369/0.1404, allocations: 47.59 kB / 394.8 MB, free: 3.211 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001286/0.1406, allocations: 35.66 kB / 394.9 MB, free: 3.176 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008245/0.1414, allocations: 231.6 kB / 395.1 MB, free: 2.949 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008421/0.1422, allocations: 0.5505 MB / 395.6 MB, free: 2.395 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002562/0.1425, allocations: 81.75 kB / 395.7 MB, free: 2.305 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002977/0.1428, allocations: 175.2 kB / 395.9 MB, free: 2.133 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003433/0.1432, allocations: 183.1 kB / 396.1 MB, free: 1.953 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 5.452e-05/0.1432, allocations: 12 kB / 396.1 MB, free: 1.941 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.176e-05/0.1433, allocations: 12 kB / 396.1 MB, free: 1.93 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001839/0.1435, allocations: 123.6 kB / 396.2 MB, free: 1.809 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 9.977e-05/0.1436, allocations: 85.45 kB / 396.3 MB, free: 1.719 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004296/0.1441, allocations: 347.5 kB / 396.6 MB, free: 1.379 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.346e-06/0.1441, allocations: 4 kB / 396.6 MB, free: 1.375 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.124e-06/0.1441, allocations: 0 / 396.6 MB, free: 1.375 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.161e-06/0.1441, allocations: 0 / 396.6 MB, free: 1.375 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: 82 * Number of variables: 82 Notification: Performance of Generate backend data structure: time 0.001341/0.1454, allocations: 0.666 MB / 397.3 MB, free: 0.6602 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.17e-05/0.1455, allocations: 12.03 kB / 397.3 MB, free: 0.6484 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001302/0.1457, allocations: 55.3 kB / 397.4 MB, free: 0.5938 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008026/0.1465, allocations: 393 kB / 397.8 MB, free: 172 kB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.379e-05/0.1465, allocations: 24.66 kB / 397.8 MB, free: 148 kB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.26e-05/0.1466, allocations: 35.91 kB / 397.8 MB, free: 112 kB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009406/0.1476, allocations: 415.4 kB / 398.2 MB, free: 15.68 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.76e-05/0.1476, allocations: 7.984 kB / 398.2 MB, free: 15.67 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.038e-05/0.1477, allocations: 12 kB / 398.2 MB, free: 15.66 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.849e-05/0.1477, allocations: 11.98 kB / 398.2 MB, free: 15.65 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006893/0.1484, allocations: 314.4 kB / 398.6 MB, free: 15.34 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002929/0.1514, allocations: 1.6 MB / 400.2 MB, free: 13.65 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003446/0.1517, allocations: 202.5 kB / 400.4 MB, free: 13.45 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001759/0.1519, allocations: 108.7 kB / 400.5 MB, free: 13.34 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.275e-05/0.1519, allocations: 7.938 kB / 400.5 MB, free: 13.33 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.866e-05/0.152, allocations: 30.56 kB / 400.5 MB, free: 13.29 MB / 302.1 MB Notification: Performance of pre-optimization done (n=20): time 1.793e-06/0.152, allocations: 0 / 400.5 MB, free: 13.29 MB / 302.1 MB Notification: Performance of matching and sorting (n=20): time 0.0007465/0.1527, allocations: 345.2 kB / 400.8 MB, free: 12.95 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.626e-05/0.1528, allocations: 55.36 kB / 400.9 MB, free: 12.88 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005457/0.1534, allocations: 461.8 kB / 401.3 MB, free: 12.42 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.399e-05/0.1534, allocations: 25.7 kB / 401.4 MB, free: 12.39 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002437/0.1536, allocations: 263.8 kB / 401.6 MB, free: 12.12 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.406e-05/0.1537, allocations: 82.89 kB / 401.7 MB, free: 12.04 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.323e-05/0.1537, allocations: 4 kB / 401.7 MB, free: 12.04 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001554/0.1539, allocations: 350.8 kB / 402 MB, free: 11.69 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001994/0.1541, allocations: 108.2 kB / 402.2 MB, free: 11.58 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002769/0.1544, allocations: 229 kB / 402.4 MB, free: 11.3 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002828/0.1547, allocations: 137.1 kB / 402.5 MB, free: 11.16 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.917e-06/0.1547, allocations: 0 / 402.5 MB, free: 11.16 MB / 302.1 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0006736/0.1554, allocations: 416.6 kB / 402.9 MB, free: 10.75 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.074e-05/0.1554, allocations: 8 kB / 402.9 MB, free: 10.74 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.102e-05/0.1554, allocations: 4 kB / 402.9 MB, free: 10.74 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.44e-05/0.1555, allocations: 4 kB / 402.9 MB, free: 10.73 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003774/0.1558, allocations: 95.78 kB / 403 MB, free: 10.64 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.534e-05/0.1559, allocations: 4.406 kB / 403 MB, free: 10.64 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001938/0.1561, allocations: 47.59 kB / 403.1 MB, free: 10.59 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.171e-05/0.1561, allocations: 27.92 kB / 403.1 MB, free: 10.56 MB / 302.1 MB Warning: Assuming fixed start value for the following 4 variables: process.P22.w:VARIABLE(fixed = true protected = true ) "proper part of the output" type: Real process.P21.w:VARIABLE(fixed = true protected = true ) "proper part of the output" type: Real process.P11.w:VARIABLE(fixed = true protected = true ) "proper part of the output" type: Real process.P12.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: 19 * Number of states: 0 () * Number of discrete variables: 4 (controller2.TS_in,controller1.TS_in,controller2.ATreq_in,controller1.ATreq_in) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (44): * Single equations (assignments): 44 * 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.0003013/0.1564, allocations: 194.6 kB / 403.3 MB, free: 10.36 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.626e-05/0.1565, allocations: 43.52 kB / 403.3 MB, free: 10.32 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006007/0.1571, allocations: 317.3 kB / 403.6 MB, free: 10 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.789e-06/0.1571, allocations: 8 kB / 403.7 MB, free: 9.996 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.788e-06/0.1571, allocations: 3.953 kB / 403.7 MB, free: 9.992 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.599e-06/0.1571, allocations: 0 / 403.7 MB, free: 9.992 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005097/0.1577, allocations: 413.2 kB / 404.1 MB, free: 9.539 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.767e-06/0.1577, allocations: 0 / 404.1 MB, free: 9.539 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003353/0.158, allocations: 63.95 kB / 404.1 MB, free: 9.477 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.861e-06/0.158, allocations: 0 / 404.1 MB, free: 9.477 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.308e-05/0.1581, allocations: 8 kB / 404.1 MB, free: 9.469 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.607e-06/0.1581, allocations: 0 / 404.1 MB, free: 9.469 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.1581, allocations: 7.938 kB / 404.1 MB, free: 9.461 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007273/0.1588, allocations: 0.4991 MB / 404.6 MB, free: 8.945 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001067/0.1589, allocations: 120.6 kB / 404.8 MB, free: 8.809 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.328e-05/0.159, allocations: 8 kB / 404.8 MB, free: 8.801 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001278/0.1591, allocations: 11.98 kB / 404.8 MB, free: 8.789 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.319e-05/0.1592, allocations: 11.98 kB / 404.8 MB, free: 8.777 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.38e-05/0.1592, allocations: 8 kB / 404.8 MB, free: 8.77 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0003668/0.1596, allocations: 319.1 kB / 405.1 MB, free: 8.461 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1596, allocations: 0 / 405.1 MB, free: 8.461 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003839/0.16, allocations: 67.7 kB / 405.2 MB, free: 8.395 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (process.P11.w,process.P12.w,process.P21.w,process.P22.w,controller1.FBout,controller2.FBout) * 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 (24): * Single equations (assignments): 24 * 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.0001305/0.1601, allocations: 115.2 kB / 405.3 MB, free: 8.27 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0005101/0.1606, allocations: 264.6 kB / 405.5 MB, free: 8.012 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.1606, allocations: 4.062 kB / 405.5 MB, free: 8.008 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000198/0.1608, allocations: 119.8 kB / 405.7 MB, free: 7.891 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003732/0.1612, allocations: 33.97 kB / 405.7 MB, free: 7.859 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001421/0.1627, allocations: 0.9427 MB / 406.6 MB, free: 6.887 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005488/0.1632, allocations: 0.8541 MB / 407.5 MB, free: 6.004 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001114/0.1633, allocations: 31.44 kB / 407.5 MB, free: 5.973 MB / 302.1 MB Notification: Performance of SimCode: time 3.4e-07/0.1633, allocations: 4 kB / 407.5 MB, free: 5.969 MB / 302.1 MB Notification: Performance of Templates: time 0.009541/0.1729, allocations: 4.665 MB / 412.2 MB, free: 1.305 MB / 302.1 MB make -j1 -f IndustrialControlSystems_IndustrialControlSystems.Applications.ControlProblems.DecoupledControl.NoDecoupledControl.makefile make -j1 -f IndustrialControlSystems_IndustrialControlSystems.Applications.ControlProblems.DecoupledControl.NoDecoupledControl.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.DecoupledControl.NoDecoupledControlCalcHelperMain.o OMCppIndustrialControlSystems_IndustrialControlSystems.Applications.ControlProblems.DecoupledControl.NoDecoupledControlCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppIndustrialControlSystems_IndustrialControlSystems.Applications.ControlProblems.DecoupledControl.NoDecoupledControlCalcHelperMain.o] Error 1