Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPID_bias.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.TestPID_bias,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPID_bias") translateModel(IndustrialControlSystems.Controllers.Examples.TestPID_bias,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPID_bias") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008399/0.0008399, allocations: 101.8 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.001265/0.001265, allocations: 179.3 kB / 16.58 MB, free: 6.141 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.105/2.105, allocations: 205.4 MB / 222.8 MB, free: 5.602 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.05488/0.05488, allocations: 10.75 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.0005333/0.0005333, allocations: 12 kB / 342.3 MB, free: 23.85 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1328/0.1333, allocations: 50 MB / 392.3 MB, free: 5.777 MB / 286.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Examples.TestPID_bias): time 0.002719/0.1361, allocations: 1.805 MB / 394.1 MB, free: 3.957 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001393/0.1375, allocations: 0.6514 MB / 394.7 MB, free: 3.305 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001799/0.1377, allocations: 19.81 kB / 394.7 MB, free: 3.285 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002037/0.1379, allocations: 39.66 kB / 394.8 MB, free: 3.246 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001724/0.1381, allocations: 31.73 kB / 394.8 MB, free: 3.215 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005552/0.1387, allocations: 259.5 kB / 395.1 MB, free: 2.961 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005652/0.1393, allocations: 0.4922 MB / 395.6 MB, free: 2.465 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001704/0.1395, allocations: 69 kB / 395.6 MB, free: 2.395 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002217/0.1397, allocations: 195.2 kB / 395.8 MB, free: 2.203 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002468/0.1399, allocations: 187.1 kB / 396 MB, free: 2.02 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 4.206e-05/0.14, allocations: 16 kB / 396 MB, free: 2.004 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.721e-05/0.14, allocations: 16 kB / 396 MB, free: 1.988 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000127/0.1402, allocations: 119.6 kB / 396.1 MB, free: 1.871 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 7.431e-05/0.1403, allocations: 85.45 kB / 396.2 MB, free: 1.781 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002523/0.1405, allocations: 279.7 kB / 396.5 MB, free: 1.508 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.1405, allocations: 0 / 396.5 MB, free: 1.508 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.954e-06/0.1405, allocations: 0 / 396.5 MB, free: 1.508 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.462e-06/0.1405, allocations: 0 / 396.5 MB, free: 1.508 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: 92 * Number of variables: 92 Notification: Performance of Generate backend data structure: time 0.001358/0.1419, allocations: 0.7243 MB / 397.2 MB, free: 0.7383 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.826e-05/0.142, allocations: 8.031 kB / 397.2 MB, free: 0.7305 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.768e-05/0.1421, allocations: 59.3 kB / 397.3 MB, free: 0.6719 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004999/0.1426, allocations: 384.9 kB / 397.7 MB, free: 260 kB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.127e-05/0.1427, allocations: 88.41 kB / 397.8 MB, free: 160 kB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.696e-05/0.1427, allocations: 43.89 kB / 397.8 MB, free: 116 kB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007659/0.1435, allocations: 464.7 kB / 398.3 MB, free: 15.63 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.406e-05/0.1436, allocations: 4 kB / 398.3 MB, free: 15.62 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.271e-05/0.1436, allocations: 19.98 kB / 398.3 MB, free: 15.61 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.49e-05/0.1436, allocations: 8 kB / 398.3 MB, free: 15.6 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006241/0.1443, allocations: 367.7 kB / 398.6 MB, free: 15.24 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002556/0.1468, allocations: 1.709 MB / 400.4 MB, free: 13.45 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000818/0.1476, allocations: 295.3 kB / 400.6 MB, free: 13.15 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000334/0.148, allocations: 173.3 kB / 400.8 MB, free: 12.98 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.811e-05/0.148, allocations: 8.266 kB / 400.8 MB, free: 12.97 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.665e-05/0.1481, allocations: 38.78 kB / 400.9 MB, free: 12.93 MB / 302.1 MB Notification: Performance of pre-optimization done (n=33): time 1.643e-06/0.1481, allocations: 0 / 400.9 MB, free: 12.93 MB / 302.1 MB Notification: Performance of matching and sorting (n=33): time 0.0008979/0.149, allocations: 467.8 kB / 401.3 MB, free: 12.46 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.076e-05/0.149, allocations: 55.41 kB / 401.4 MB, free: 12.4 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004103/0.1495, allocations: 417.8 kB / 401.8 MB, free: 11.99 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.364e-05/0.1495, allocations: 29.7 kB / 401.8 MB, free: 11.95 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001621/0.1497, allocations: 251.9 kB / 402.1 MB, free: 11.7 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.693e-05/0.1497, allocations: 122.2 kB / 402.2 MB, free: 11.58 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.612e-05/0.1498, allocations: 12 kB / 402.2 MB, free: 11.57 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001272/0.1499, allocations: 358.8 kB / 402.5 MB, free: 11.21 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000214/0.1501, allocations: 132.9 kB / 402.7 MB, free: 11.08 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003558/0.1505, allocations: 254.7 kB / 402.9 MB, free: 10.79 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002947/0.1508, allocations: 181.6 kB / 403.1 MB, free: 10.61 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.1508, allocations: 0 / 403.1 MB, free: 10.61 MB / 302.1 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.0008752/0.1517, allocations: 0.5259 MB / 403.6 MB, free: 10.08 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.305e-05/0.1518, allocations: 7.125 kB / 403.6 MB, free: 10.07 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.103e-05/0.1518, allocations: 4 kB / 403.6 MB, free: 10.07 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.046e-05/0.1518, allocations: 8 kB / 403.6 MB, free: 10.06 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000465/0.1523, allocations: 127.7 kB / 403.8 MB, free: 9.938 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.512e-05/0.1523, allocations: 15.89 kB / 403.8 MB, free: 9.922 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001794/0.1525, allocations: 51.52 kB / 403.8 MB, free: 9.871 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.045e-05/0.1525, allocations: 16 kB / 403.8 MB, free: 9.855 MB / 302.1 MB Warning: Assuming fixed start value for the following 9 variables: ProcessBias.w:VARIABLE(fixed = true protected = true ) "proper part of the output" type: Real ProcessBias.U[2]:VARIABLE(fixed = true protected = true ) type: Real [2] ProcessBias.Y[3]:VARIABLE(fixed = true protected = true ) type: Real [3] ProcessCtrl.Y[3]:VARIABLE(fixed = true protected = true ) type: Real [3] ProcessCtrl.U[2]:VARIABLE(fixed = true protected = true ) type: Real [2] ProcessCtrl.w:VARIABLE(fixed = true protected = true ) "proper part of the output" type: Real processNoCtrl.Y[3]:VARIABLE(fixed = true protected = true ) type: Real [3] processNoCtrl.U[2]:VARIABLE(fixed = true protected = true ) type: Real [2] processNoCtrl.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: 16 * Number of states: 0 () * Number of discrete variables: 4 (R_Bias.TS_in,R.TS_in,R_Bias.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 (61): * Single equations (assignments): 61 * 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.0002801/0.1528, allocations: 211.5 kB / 404 MB, free: 9.641 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.822e-05/0.1529, allocations: 39.53 kB / 404.1 MB, free: 9.602 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007405/0.1536, allocations: 417.4 kB / 404.5 MB, free: 9.184 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.071e-06/0.1537, allocations: 4 kB / 404.5 MB, free: 9.18 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.163e-06/0.1537, allocations: 7.953 kB / 404.5 MB, free: 9.172 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.864e-06/0.1537, allocations: 3.984 kB / 404.5 MB, free: 9.168 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005892/0.1543, allocations: 441.1 kB / 404.9 MB, free: 8.688 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.1543, allocations: 0 / 404.9 MB, free: 8.688 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005171/0.1548, allocations: 103.9 kB / 405 MB, free: 8.586 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.771e-06/0.1548, allocations: 0 / 405 MB, free: 8.586 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.313e-05/0.1549, allocations: 12 kB / 405.1 MB, free: 8.574 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.204e-06/0.1549, allocations: 4 kB / 405.1 MB, free: 8.57 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.1549, allocations: 0 / 405.1 MB, free: 8.57 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009389/0.1558, allocations: 0.6172 MB / 405.7 MB, free: 7.93 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001016/0.1559, allocations: 136.4 kB / 405.8 MB, free: 7.777 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.253e-05/0.156, allocations: 12 kB / 405.8 MB, free: 7.766 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001575/0.1562, allocations: 15.98 kB / 405.8 MB, free: 7.75 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.309e-05/0.1563, allocations: 27.92 kB / 405.9 MB, free: 7.723 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.595e-05/0.1563, allocations: 7.938 kB / 405.9 MB, free: 7.715 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002991/0.1566, allocations: 295.1 kB / 406.2 MB, free: 7.43 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1566, allocations: 0 / 406.2 MB, free: 7.43 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000364/0.157, allocations: 83.69 kB / 406.2 MB, free: 7.348 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 13 (R.Iaction,R.Fder,R_Bias.Iaction,R_Bias.Fder,ProcessCtrl.Y[3],ProcessCtrl.U[2],ProcessCtrl.w,processNoCtrl.Y[3],processNoCtrl.U[2],processNoCtrl.w,ProcessBias.Y[3],ProcessBias.U[2],ProcessBias.w) * 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 (37): * Single equations (assignments): 37 * 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.0001523/0.1571, allocations: 108.1 kB / 406.3 MB, free: 7.234 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0007652/0.1579, allocations: 380.3 kB / 406.7 MB, free: 6.863 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.1579, allocations: 0 / 406.7 MB, free: 6.863 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002652/0.1582, allocations: 172.2 kB / 406.9 MB, free: 6.695 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003769/0.1586, allocations: 45.48 kB / 406.9 MB, free: 6.648 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00165/0.1602, allocations: 1.135 MB / 408.1 MB, free: 5.477 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004975/0.1607, allocations: 0.8586 MB / 408.9 MB, free: 4.594 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001227/0.1609, allocations: 47.44 kB / 409 MB, free: 4.547 MB / 302.1 MB Notification: Performance of SimCode: time 5.61e-07/0.1609, allocations: 0 / 409 MB, free: 4.547 MB / 302.1 MB Notification: Performance of Templates: time 0.008378/0.1693, allocations: 4.985 MB / 414 MB, free: 15.55 MB / 318.1 MB make -j1 -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPID_bias.makefile make -j1 -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPID_bias.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.TestPID_biasCalcHelperMain.o OMCppIndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPID_biasCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppIndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPID_biasCalcHelperMain.o] Error 1