Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestI_tracking.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.Controllers.Examples.TestI_tracking,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestI_tracking") translateModel(IndustrialControlSystems.Controllers.Examples.TestI_tracking,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestI_tracking") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009834/0.000984, allocations: 99.11 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.001596/0.001596, allocations: 181.6 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 1.917/1.917, 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.0578/0.0578, allocations: 10.75 MB / 282.1 MB, free: 10.67 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.0006715/0.0006716, allocations: 16.22 kB / 342.9 MB, free: 23.53 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1317/0.1323, allocations: 50.01 MB / 392.9 MB, free: 5.453 MB / 286.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Examples.TestI_tracking): time 0.003678/0.1361, allocations: 2.029 MB / 394.9 MB, free: 3.41 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.003109/0.1392, allocations: 1.4 MB / 396.3 MB, free: 2 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002061/0.1395, allocations: 15.88 kB / 396.3 MB, free: 1.984 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007873/0.1403, allocations: 203.4 kB / 396.5 MB, free: 1.785 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000367/0.1406, allocations: 135.5 kB / 396.7 MB, free: 1.652 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001047/0.1417, allocations: 359.4 kB / 397 MB, free: 1.301 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006902/0.1424, allocations: 0.5419 MB / 397.6 MB, free: 0.7578 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001982/0.1426, allocations: 73.06 kB / 397.6 MB, free: 0.6797 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002568/0.1429, allocations: 187.1 kB / 397.8 MB, free: 0.4961 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002975/0.1432, allocations: 211.1 kB / 398 MB, free: 296 kB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 4.804e-05/0.1432, allocations: 15.94 kB / 398 MB, free: 280 kB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002441/0.1435, allocations: 131.8 kB / 398.2 MB, free: 148 kB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001544/0.1436, allocations: 107.7 kB / 398.3 MB, free: 40 kB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002255/0.1439, allocations: 208.4 kB / 398.5 MB, free: 15.83 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004399/0.1443, allocations: 359.4 kB / 398.8 MB, free: 15.48 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.995e-06/0.1443, allocations: 4 kB / 398.8 MB, free: 15.47 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.364e-06/0.1444, allocations: 4 kB / 398.8 MB, free: 15.47 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.284e-06/0.1444, allocations: 0 / 398.8 MB, free: 15.47 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: 73 * Number of variables: 73 Notification: Performance of Generate backend data structure: time 0.001402/0.1458, allocations: 0.7751 MB / 399.6 MB, free: 14.64 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.401e-05/0.1458, allocations: 12.03 kB / 399.6 MB, free: 14.62 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001053/0.1459, allocations: 52.28 kB / 399.7 MB, free: 14.57 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005767/0.1465, allocations: 426.3 kB / 400.1 MB, free: 14.12 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.767e-05/0.1466, allocations: 72.53 kB / 400.2 MB, free: 14.04 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.926e-05/0.1467, allocations: 31.94 kB / 400.2 MB, free: 14 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006567/0.1474, allocations: 399.6 kB / 400.6 MB, free: 13.59 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.386e-05/0.1474, allocations: 11.89 kB / 400.6 MB, free: 13.58 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.646e-05/0.1474, allocations: 15.94 kB / 400.6 MB, free: 13.56 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.294e-05/0.1475, allocations: 8 kB / 400.6 MB, free: 13.55 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004957/0.148, allocations: 270 kB / 400.9 MB, free: 13.29 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002416/0.1504, allocations: 1.461 MB / 402.3 MB, free: 11.75 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005326/0.1509, allocations: 210.5 kB / 402.5 MB, free: 11.54 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002466/0.1512, allocations: 124.8 kB / 402.7 MB, free: 11.41 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.213e-05/0.1513, allocations: 4 kB / 402.7 MB, free: 11.41 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004148/0.1517, allocations: 221.8 kB / 402.9 MB, free: 11.17 MB / 302.1 MB Notification: Performance of pre-optimization done (n=27): time 2.444e-06/0.1517, allocations: 7.938 kB / 402.9 MB, free: 11.16 MB / 302.1 MB Notification: Performance of matching and sorting (n=27): time 0.001004/0.1527, allocations: 489.2 kB / 403.4 MB, free: 10.68 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.657e-05/0.1528, allocations: 106.8 kB / 403.5 MB, free: 10.55 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006666/0.1535, allocations: 489.8 kB / 404 MB, free: 10.06 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.799e-05/0.1535, allocations: 33.7 kB / 404 MB, free: 10.02 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002648/0.1538, allocations: 260.1 kB / 404.2 MB, free: 9.762 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.961e-05/0.1539, allocations: 90.72 kB / 404.3 MB, free: 9.672 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.555e-05/0.154, allocations: 45.69 kB / 404.4 MB, free: 9.621 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0002046/0.1542, allocations: 362.8 kB / 404.7 MB, free: 9.258 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000234/0.1544, allocations: 116.7 kB / 404.8 MB, free: 9.141 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003155/0.1547, allocations: 240.8 kB / 405.1 MB, free: 8.855 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001653/0.1564, allocations: 0.7482 MB / 405.8 MB, free: 8.039 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.617e-06/0.1564, allocations: 0 / 405.8 MB, free: 8.039 MB / 302.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0009009/0.1573, allocations: 0.5137 MB / 406.3 MB, free: 7.512 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.026e-05/0.1574, allocations: 41.69 kB / 406.4 MB, free: 7.465 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.029e-05/0.1574, allocations: 4 kB / 406.4 MB, free: 7.461 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.248e-05/0.1574, allocations: 8 kB / 406.4 MB, free: 7.453 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005731/0.158, allocations: 95.81 kB / 406.5 MB, free: 7.359 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.021e-05/0.158, allocations: 4.375 kB / 406.5 MB, free: 7.355 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000215/0.1583, allocations: 55.58 kB / 406.5 MB, free: 7.301 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.416e-05/0.1583, allocations: 16 kB / 406.6 MB, free: 7.285 MB / 302.1 MB Warning: Assuming fixed start value for the following 6 variables: processTrack.w:VARIABLE(fixed = true protected = true ) "proper part of the output" type: Real processTrack.U[2]:VARIABLE(fixed = true protected = true ) type: Real [2] processTrack.Y[3]:VARIABLE(fixed = true protected = true ) type: Real [3] process.w:VARIABLE(fixed = true protected = true ) "proper part of the output" type: Real process.U[2]:VARIABLE(fixed = true protected = true ) type: Real [2] process.Y[3]:VARIABLE(fixed = true protected = true ) type: Real [3] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 16 ($PRE.TSsignal.combiTimeTable.nextTimeEvent,$whenCondition2,TrackRef.nextEventScaled,TrackRef.nextEvent,$PRE.TrackRef.nextEvent,TrackRef.last,TrackRef.b,TrackRef.a,TSsignal.combiTimeTable.nextTimeEventScaled,$PRE.TSsignal.combiTimeTable.nextTimeEventScaled,TSsignal.combiTimeTable.nextTimeEvent,R_track.ts,$whenCondition1,R.TS_in,R_track.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 (45): * Single equations (assignments): 44 * Array equations: 0 * Algorithm blocks: 1 * 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.0003294/0.1587, allocations: 240.2 kB / 406.8 MB, free: 7.035 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.494e-05/0.1587, allocations: 51.44 kB / 406.8 MB, free: 6.984 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008222/0.1596, allocations: 456.2 kB / 407.3 MB, free: 6.527 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.793e-06/0.1596, allocations: 4 kB / 407.3 MB, free: 6.523 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.212e-06/0.1596, allocations: 0 / 407.3 MB, free: 6.523 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.486e-06/0.1596, allocations: 7.984 kB / 407.3 MB, free: 6.516 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005391/0.1601, allocations: 429.2 kB / 407.7 MB, free: 6.047 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.1602, allocations: 0 / 407.7 MB, free: 6.047 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005751/0.1607, allocations: 59.95 kB / 407.8 MB, free: 5.988 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.915e-06/0.1608, allocations: 4 kB / 407.8 MB, free: 5.984 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.806e-05/0.1608, allocations: 15.92 kB / 407.8 MB, free: 5.969 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/0.1608, allocations: 0 / 407.8 MB, free: 5.969 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.844e-06/0.1608, allocations: 0 / 407.8 MB, free: 5.969 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001071/0.1619, allocations: 0.6072 MB / 408.4 MB, free: 5.336 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001074/0.162, allocations: 124.5 kB / 408.5 MB, free: 5.195 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.605e-05/0.1621, allocations: 15.94 kB / 408.5 MB, free: 5.18 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001521/0.1622, allocations: 15.98 kB / 408.6 MB, free: 5.164 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.68e-05/0.1623, allocations: 19.97 kB / 408.6 MB, free: 5.145 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.194e-05/0.1624, allocations: 15.98 kB / 408.6 MB, free: 5.129 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0003954/0.1628, allocations: 339.1 kB / 408.9 MB, free: 4.801 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1628, allocations: 0 / 408.9 MB, free: 4.801 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004381/0.1632, allocations: 107.8 kB / 409 MB, free: 4.695 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (R.Iout,R_track.Iout,process.Y[3],process.U[2],process.w,processTrack.Y[3],processTrack.U[2],processTrack.w) * Number of discrete variables: 10 ($whenCondition2,$whenCondition1,R_track.ts,TSsignal.combiTimeTable.nextTimeEvent,TSsignal.combiTimeTable.nextTimeEventScaled,TrackRef.a,TrackRef.b,TrackRef.last,TrackRef.nextEvent,TrackRef.nextEventScaled) * Number of discrete states: 8 (TrackRef.nextEvent,TrackRef.last,TrackRef.nextEventScaled,TrackRef.b,TrackRef.a,$whenCondition1,TSsignal.combiTimeTable.nextTimeEventScaled,TSsignal.combiTimeTable.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 2 * 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.001143/0.1644, allocations: 458.6 kB / 409.5 MB, free: 4.344 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0007757/0.1652, allocations: 423.4 kB / 409.9 MB, free: 3.918 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.446e-06/0.1652, allocations: 0 / 409.9 MB, free: 3.918 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003337/0.1655, allocations: 235.2 kB / 410.1 MB, free: 3.676 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004546/0.166, allocations: 71.48 kB / 410.2 MB, free: 3.605 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001677/0.1677, allocations: 1.057 MB / 411.3 MB, free: 2.512 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005089/0.1682, allocations: 0.8538 MB / 412.1 MB, free: 1.629 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.957e-05/0.1683, allocations: 35.44 kB / 412.1 MB, free: 1.594 MB / 302.1 MB Notification: Performance of SimCode: time 3.81e-07/0.1683, allocations: 0 / 412.1 MB, free: 1.594 MB / 302.1 MB Notification: Performance of Templates: time 0.01021/0.1786, allocations: 5.949 MB / 418.1 MB, free: 11.63 MB / 318.1 MB make -j1 -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestI_tracking.makefile make -j1 -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestI_tracking.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.Controllers.Examples.TestI_trackingCalcHelperMain.o OMCppIndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestI_trackingCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppIndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestI_trackingCalcHelperMain.o] Error 1