Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPD_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.TestPD_tracking,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPD_tracking") translateModel(IndustrialControlSystems.Controllers.Examples.TestPD_tracking,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPD_tracking") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001064/0.001064, allocations: 100.5 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.001477/0.001477, allocations: 174.2 kB / 16.58 MB, free: 6.422 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.034/2.034, 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.05776/0.05776, allocations: 10.74 MB / 281.8 MB, free: 10.55 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.0005881/0.0005877, allocations: 16 kB / 342.3 MB, free: 23.88 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1306/0.1312, allocations: 50.01 MB / 392.3 MB, free: 5.781 MB / 286.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Examples.TestPD_tracking): time 0.003737/0.1351, allocations: 1.976 MB / 394.2 MB, free: 3.793 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.003033/0.1381, allocations: 1.35 MB / 395.6 MB, free: 2.434 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003153/0.1385, allocations: 15.88 kB / 395.6 MB, free: 2.418 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009405/0.1394, allocations: 187.4 kB / 395.8 MB, free: 2.234 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003906/0.1398, allocations: 131.5 kB / 395.9 MB, free: 2.105 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00106/0.1409, allocations: 327.3 kB / 396.2 MB, free: 1.785 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006298/0.1415, allocations: 0.5116 MB / 396.8 MB, free: 1.27 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001969/0.1418, allocations: 69.25 kB / 396.8 MB, free: 1.195 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002842/0.142, allocations: 207.1 kB / 397 MB, free: 0.9922 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003155/0.1424, allocations: 215.1 kB / 397.2 MB, free: 0.7812 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 4.614e-05/0.1424, allocations: 15.94 kB / 397.2 MB, free: 0.7656 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000237/0.1427, allocations: 115.9 kB / 397.4 MB, free: 0.6523 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001668/0.1428, allocations: 123.6 kB / 397.5 MB, free: 0.5312 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001073/0.143, allocations: 97.45 kB / 397.6 MB, free: 440 kB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004686/0.1434, allocations: 395.4 kB / 398 MB, free: 44 kB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.113e-06/0.1435, allocations: 0 / 398 MB, free: 44 kB / 286.1 MB Notification: Performance of FrontEnd: time 5e-06/0.1435, allocations: 7.984 kB / 398 MB, free: 36 kB / 286.1 MB Notification: Performance of Transformations before backend: time 7.344e-06/0.1435, allocations: 3.938 kB / 398 MB, free: 32 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: 81 * Number of variables: 81 Notification: Performance of Generate backend data structure: time 0.001426/0.1449, allocations: 0.7984 MB / 398.8 MB, free: 15.18 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.578e-05/0.145, allocations: 8.031 kB / 398.8 MB, free: 15.17 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001077/0.1451, allocations: 59.25 kB / 398.8 MB, free: 15.11 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007571/0.1458, allocations: 421.4 kB / 399.2 MB, free: 14.66 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.536e-05/0.1459, allocations: 28.66 kB / 399.3 MB, free: 14.63 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.821e-05/0.146, allocations: 35.91 kB / 399.3 MB, free: 14.59 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007285/0.1467, allocations: 436.3 kB / 399.7 MB, free: 14.14 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.551e-05/0.1467, allocations: 7.984 kB / 399.7 MB, free: 14.13 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.142e-05/0.1468, allocations: 15.95 kB / 399.8 MB, free: 14.12 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.11e-05/0.1468, allocations: 8 kB / 399.8 MB, free: 14.11 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005665/0.1474, allocations: 306.4 kB / 400.1 MB, free: 13.81 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002396/0.1498, allocations: 1.571 MB / 401.6 MB, free: 12.16 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004577/0.1503, allocations: 251 kB / 401.9 MB, free: 11.91 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002564/0.1505, allocations: 145 kB / 402 MB, free: 11.77 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.516e-05/0.1506, allocations: 4.234 kB / 402 MB, free: 11.76 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000447/0.151, allocations: 247.2 kB / 402.3 MB, free: 11.5 MB / 302.1 MB Notification: Performance of pre-optimization done (n=33): time 2.545e-06/0.1511, allocations: 7.938 kB / 402.3 MB, free: 11.5 MB / 302.1 MB Notification: Performance of matching and sorting (n=33): time 0.001038/0.1521, allocations: 0.5482 MB / 402.8 MB, free: 10.94 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.582e-05/0.1522, allocations: 110.8 kB / 402.9 MB, free: 10.8 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006234/0.1528, allocations: 0.5253 MB / 403.5 MB, free: 10.27 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.931e-05/0.1529, allocations: 29.7 kB / 403.5 MB, free: 10.23 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002176/0.1531, allocations: 271.9 kB / 403.8 MB, free: 9.965 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001019/0.1532, allocations: 114.5 kB / 403.9 MB, free: 9.852 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.966e-05/0.1532, allocations: 4 kB / 403.9 MB, free: 9.848 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001777/0.1534, allocations: 374.7 kB / 404.2 MB, free: 9.473 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002469/0.1537, allocations: 136.9 kB / 404.4 MB, free: 9.34 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003563/0.154, allocations: 294.1 kB / 404.7 MB, free: 8.992 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003462/0.1544, allocations: 222.9 kB / 404.9 MB, free: 8.762 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.376e-06/0.1544, allocations: 0 / 404.9 MB, free: 8.762 MB / 302.1 MB Notification: Performance of matching and sorting (n=64) (initialization): time 0.0009325/0.1553, allocations: 0.6141 MB / 405.5 MB, free: 8.137 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.872e-05/0.1554, allocations: 48.66 kB / 405.5 MB, free: 8.086 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.381e-05/0.1554, allocations: 4 kB / 405.5 MB, free: 8.082 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.346e-05/0.1555, allocations: 4 kB / 405.5 MB, free: 8.078 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004474/0.1559, allocations: 107.8 kB / 405.7 MB, free: 7.973 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.684e-05/0.156, allocations: 11.98 kB / 405.7 MB, free: 7.961 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002392/0.1562, allocations: 63.75 kB / 405.7 MB, free: 7.898 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.932e-05/0.1563, allocations: 24 kB / 405.7 MB, free: 7.875 MB / 302.1 MB Warning: Assuming fixed start value for the following 10 variables: processTrack.w:VARIABLE(fixed = true protected = true ) "proper part of the output" type: Real processTrack.U[3]:VARIABLE(fixed = true protected = true ) type: Real [3] processTrack.U[2]:VARIABLE(fixed = true protected = true ) type: Real [3] processTrack.Y[4]:VARIABLE(fixed = true protected = true ) type: Real [4] processTrack.Y[3]:VARIABLE(fixed = true protected = true ) type: Real [4] process.w:VARIABLE(fixed = true protected = true ) "proper part of the output" type: Real process.Y[3]:VARIABLE(fixed = true protected = true ) type: Real [4] process.Y[4]:VARIABLE(fixed = true protected = true ) type: Real [4] process.U[2]:VARIABLE(fixed = true protected = true ) type: Real [3] process.U[3]:VARIABLE(fixed = true protected = true ) type: Real [3] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 16 ($whenCondition2,$PRE.TSsignal.combiTimeTable.nextTimeEvent,$whenCondition1,R_track.ts,TSsignal.combiTimeTable.nextTimeEvent,$PRE.TSsignal.combiTimeTable.nextTimeEventScaled,TSsignal.combiTimeTable.nextTimeEventScaled,TrackRef.a,TrackRef.b,TrackRef.last,$PRE.TrackRef.nextEvent,TrackRef.nextEvent,TrackRef.nextEventScaled,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 (59): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 1 * 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.0004527/0.1567, allocations: 261.3 kB / 406 MB, free: 7.602 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.118e-05/0.1568, allocations: 51.34 kB / 406.1 MB, free: 7.551 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008783/0.1577, allocations: 499.9 kB / 406.5 MB, free: 7.047 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.699e-06/0.1577, allocations: 7.938 kB / 406.5 MB, free: 7.039 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.467e-05/0.1577, allocations: 4 kB / 406.6 MB, free: 7.035 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.058e-05/0.1577, allocations: 3.953 kB / 406.6 MB, free: 7.031 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005922/0.1583, allocations: 453 kB / 407 MB, free: 6.539 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.414e-06/0.1583, allocations: 0 / 407 MB, free: 6.539 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003683/0.1587, allocations: 67.95 kB / 407.1 MB, free: 6.473 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.478e-06/0.1587, allocations: 0 / 407.1 MB, free: 6.473 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.865e-05/0.1588, allocations: 19.98 kB / 407.1 MB, free: 6.453 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.328e-06/0.1588, allocations: 4 kB / 407.1 MB, free: 6.449 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.344e-06/0.1588, allocations: 0 / 407.1 MB, free: 6.449 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001039/0.1598, allocations: 0.6674 MB / 407.8 MB, free: 5.754 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001149/0.16, allocations: 132.4 kB / 407.9 MB, free: 5.605 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.648e-05/0.16, allocations: 12 kB / 407.9 MB, free: 5.594 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001547/0.1602, allocations: 19.98 kB / 407.9 MB, free: 5.574 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.316e-05/0.1603, allocations: 23.97 kB / 407.9 MB, free: 5.551 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.387e-05/0.1603, allocations: 15.98 kB / 408 MB, free: 5.535 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0004208/0.1608, allocations: 366.8 kB / 408.3 MB, free: 5.18 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1608, allocations: 0 / 408.3 MB, free: 5.18 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004673/0.1613, allocations: 115.8 kB / 408.4 MB, free: 5.066 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 12 (R.Fin,R_track.Fin,process.Y[3],process.Y[4],process.U[2],process.U[3],process.w,processTrack.Y[3],processTrack.Y[4],processTrack.U[2],processTrack.U[3],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 (30): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 2 * 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.001101/0.1624, allocations: 468.6 kB / 408.9 MB, free: 4.707 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0007967/0.1632, allocations: 490.9 kB / 409.4 MB, free: 4.215 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.1632, allocations: 1.062 kB / 409.4 MB, free: 4.215 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003456/0.1635, allocations: 263.7 kB / 409.6 MB, free: 3.945 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004284/0.164, allocations: 73.81 kB / 409.7 MB, free: 3.871 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001759/0.1657, allocations: 1.189 MB / 410.9 MB, free: 2.648 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005233/0.1663, allocations: 0.8703 MB / 411.8 MB, free: 1.754 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001147/0.1664, allocations: 43.44 kB / 411.8 MB, free: 1.711 MB / 302.1 MB Notification: Performance of SimCode: time 3.066e-06/0.1664, allocations: 4 kB / 411.8 MB, free: 1.707 MB / 302.1 MB Notification: Performance of Templates: time 0.01136/0.1778, allocations: 6.546 MB / 418.3 MB, free: 11.15 MB / 318.1 MB make -j1 -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPD_tracking.makefile make -j1 -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPD_tracking.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.Controllers.Examples.TestPD_trackingCalcHelperMain.o OMCppIndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPD_trackingCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppIndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPD_trackingCalcHelperMain.o] Error 1