Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestD_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.TestD_bias,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestD_bias") translateModel(IndustrialControlSystems.Controllers.Examples.TestD_bias,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestD_bias") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008569/0.0008568, allocations: 91.92 kB / 16.02 MB, free: 80 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.001024/0.001024, allocations: 180.3 kB / 16.92 MB, free: 6.652 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.001/2.001, allocations: 205.4 MB / 223.1 MB, free: 5.469 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.0731/0.0731, allocations: 10.75 MB / 282.1 MB, free: 10.45 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.0007982/0.0007982, allocations: 20 kB / 342.9 MB, free: 23.5 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1372/0.138, allocations: 50.01 MB / 392.9 MB, free: 5.438 MB / 286.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Examples.TestD_bias): time 0.002788/0.1408, allocations: 1.854 MB / 394.7 MB, free: 3.57 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.00182/0.1427, allocations: 1.022 MB / 395.8 MB, free: 2.539 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001571/0.1429, allocations: 11.88 kB / 395.8 MB, free: 2.527 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000227/0.1431, allocations: 67.59 kB / 395.8 MB, free: 2.461 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001491/0.1433, allocations: 67.69 kB / 395.9 MB, free: 2.395 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007098/0.144, allocations: 267.6 kB / 396.2 MB, free: 2.133 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005609/0.1446, allocations: 0.5472 MB / 396.7 MB, free: 1.582 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001789/0.1447, allocations: 88.98 kB / 396.8 MB, free: 1.488 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002188/0.145, allocations: 179.2 kB / 397 MB, free: 1.312 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002875/0.1453, allocations: 223.1 kB / 397.2 MB, free: 1.094 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 4.401e-05/0.1453, allocations: 16 kB / 397.2 MB, free: 1.078 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000154/0.1455, allocations: 83.94 kB / 397.3 MB, free: 0.9961 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001648/0.1456, allocations: 139.4 kB / 397.4 MB, free: 0.8594 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001852/0.1458, allocations: 228.3 kB / 397.7 MB, free: 0.6289 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003549/0.1462, allocations: 351.5 kB / 398 MB, free: 292 kB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/0.1462, allocations: 0 / 398 MB, free: 292 kB / 286.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.1462, allocations: 0 / 398 MB, free: 292 kB / 286.1 MB Notification: Performance of Transformations before backend: time 9.719e-06/0.1462, allocations: 0 / 398 MB, free: 292 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: 100 * Number of variables: 100 Notification: Performance of Generate backend data structure: time 0.001271/0.1475, allocations: 0.7617 MB / 398.8 MB, free: 15.47 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.784e-05/0.1476, allocations: 8.031 kB / 398.8 MB, free: 15.46 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.842e-05/0.1477, allocations: 60.19 kB / 398.8 MB, free: 15.4 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005261/0.1482, allocations: 409.8 kB / 399.2 MB, free: 14.96 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.668e-05/0.1482, allocations: 29.38 kB / 399.3 MB, free: 14.93 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.716e-05/0.1483, allocations: 52.28 kB / 399.3 MB, free: 14.88 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008347/0.1492, allocations: 0.5126 MB / 399.8 MB, free: 14.34 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.383e-05/0.1492, allocations: 7.938 kB / 399.8 MB, free: 14.34 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.032e-05/0.1493, allocations: 16 kB / 399.8 MB, free: 14.32 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.293e-05/0.1493, allocations: 8 kB / 399.9 MB, free: 14.31 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006774/0.15, allocations: 411.6 kB / 400.3 MB, free: 13.91 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002953/0.1529, allocations: 1.802 MB / 402.1 MB, free: 12.03 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005639/0.1535, allocations: 274.4 kB / 402.3 MB, free: 11.75 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002777/0.1538, allocations: 188.6 kB / 402.5 MB, free: 11.57 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.953e-05/0.1538, allocations: 3.984 kB / 402.5 MB, free: 11.56 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003884/0.1542, allocations: 260.9 kB / 402.8 MB, free: 11.29 MB / 302.1 MB Notification: Performance of pre-optimization done (n=36): time 2.073e-06/0.1543, allocations: 0 / 402.8 MB, free: 11.29 MB / 302.1 MB Notification: Performance of matching and sorting (n=36): time 0.001021/0.1553, allocations: 0.582 MB / 403.4 MB, free: 10.69 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.432e-05/0.1554, allocations: 81.38 kB / 403.4 MB, free: 10.59 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005307/0.1559, allocations: 493.7 kB / 403.9 MB, free: 10.11 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.135e-05/0.1559, allocations: 33.7 kB / 403.9 MB, free: 10.07 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002155/0.1562, allocations: 275.9 kB / 404.2 MB, free: 9.797 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001186/0.1563, allocations: 134.1 kB / 404.3 MB, free: 9.664 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.956e-05/0.1564, allocations: 69.67 kB / 404.4 MB, free: 9.59 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001868/0.1566, allocations: 366.7 kB / 404.8 MB, free: 9.223 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003394/0.1569, allocations: 169.1 kB / 404.9 MB, free: 9.059 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004002/0.1573, allocations: 333.8 kB / 405.3 MB, free: 8.664 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002123/0.1595, allocations: 1.086 MB / 406.3 MB, free: 7.48 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.53e-06/0.1595, allocations: 0 / 406.3 MB, free: 7.48 MB / 302.1 MB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001101/0.1606, allocations: 0.7337 MB / 407.1 MB, free: 6.734 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.476e-05/0.1607, allocations: 44.66 kB / 407.1 MB, free: 6.688 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.888e-06/0.1607, allocations: 4.656 kB / 407.1 MB, free: 6.684 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.398e-05/0.1607, allocations: 8 kB / 407.1 MB, free: 6.676 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005029/0.1612, allocations: 135.8 kB / 407.3 MB, free: 6.543 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.231e-05/0.1613, allocations: 12 kB / 407.3 MB, free: 6.531 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002438/0.1615, allocations: 59.42 kB / 407.3 MB, free: 6.473 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.106e-05/0.1616, allocations: 24 kB / 407.4 MB, free: 6.449 MB / 302.1 MB Warning: Assuming fixed start value for the following 15 variables: processNoCtrl.w:VARIABLE(fixed = true protected = true ) "proper part of the output" type: Real processNoCtrl.U[3]:VARIABLE(fixed = true protected = true ) type: Real [3] processNoCtrl.U[2]:VARIABLE(fixed = true protected = true ) type: Real [3] processNoCtrl.Y[4]:VARIABLE(fixed = true protected = true ) type: Real [4] processNoCtrl.Y[3]:VARIABLE(fixed = true protected = true ) type: Real [4] ProcessBias.w:VARIABLE(fixed = true protected = true ) "proper part of the output" type: Real ProcessBias.U[3]:VARIABLE(fixed = true protected = true ) type: Real [3] ProcessBias.U[2]:VARIABLE(fixed = true protected = true ) type: Real [3] ProcessBias.Y[4]:VARIABLE(fixed = true protected = true ) type: Real [4] ProcessBias.Y[3]:VARIABLE(fixed = true protected = true ) type: Real [4] ProcessCtrl.w:VARIABLE(fixed = true protected = true ) "proper part of the output" type: Real ProcessCtrl.U[3]:VARIABLE(fixed = true protected = true ) type: Real [3] ProcessCtrl.U[2]:VARIABLE(fixed = true protected = true ) type: Real [3] ProcessCtrl.Y[4]:VARIABLE(fixed = true protected = true ) type: Real [4] ProcessCtrl.Y[3]:VARIABLE(fixed = true protected = true ) type: Real [4] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * Number of states: 0 () * Number of discrete variables: 11 (Disturbance.nextEventScaled,Disturbance.nextEvent,$PRE.Disturbance.nextEvent,Disturbance.last,Disturbance.b,Disturbance.a,$whenCondition1,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 (70): * Single equations (assignments): 69 * 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.0004695/0.162, allocations: 290.3 kB / 407.6 MB, free: 6.148 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.99e-05/0.1621, allocations: 47.44 kB / 407.7 MB, free: 6.102 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00106/0.1632, allocations: 0.5177 MB / 408.2 MB, free: 5.574 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.673e-06/0.1632, allocations: 4 kB / 408.2 MB, free: 5.57 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.1e-06/0.1632, allocations: 0 / 408.2 MB, free: 5.57 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.302e-06/0.1632, allocations: 4 kB / 408.2 MB, free: 5.566 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005898/0.1638, allocations: 480.8 kB / 408.7 MB, free: 5.047 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.1638, allocations: 0 / 408.7 MB, free: 5.047 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005253/0.1643, allocations: 91.88 kB / 408.8 MB, free: 4.957 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.796e-06/0.1644, allocations: 4 kB / 408.8 MB, free: 4.953 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.82e-05/0.1644, allocations: 19.92 kB / 408.8 MB, free: 4.934 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.795e-06/0.1644, allocations: 0 / 408.8 MB, free: 4.934 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.1644, allocations: 0 / 408.8 MB, free: 4.934 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001046/0.1655, allocations: 0.7276 MB / 409.5 MB, free: 4.184 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001147/0.1656, allocations: 120.6 kB / 409.6 MB, free: 4.047 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.618e-05/0.1657, allocations: 19.98 kB / 409.7 MB, free: 4.027 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001531/0.1658, allocations: 15.98 kB / 409.7 MB, free: 4.012 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.472e-05/0.1659, allocations: 19.97 kB / 409.7 MB, free: 3.992 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.364e-05/0.166, allocations: 12 kB / 409.7 MB, free: 3.98 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0003614/0.1663, allocations: 331.1 kB / 410 MB, free: 3.656 MB / 302.1 MB Notification: Performance of sort global known variables: time 3.2e-07/0.1663, allocations: 0 / 410 MB, free: 3.656 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004424/0.1668, allocations: 123.7 kB / 410.2 MB, free: 3.535 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 17 (R.Fin,R_Bias.Fin,ProcessCtrl.Y[3],ProcessCtrl.Y[4],ProcessCtrl.U[2],ProcessCtrl.U[3],ProcessCtrl.w,processNoCtrl.Y[3],processNoCtrl.Y[4],processNoCtrl.U[2],processNoCtrl.U[3],processNoCtrl.w,ProcessBias.Y[3],ProcessBias.Y[4],ProcessBias.U[2],ProcessBias.U[3],ProcessBias.w) * Number of discrete variables: 6 ($whenCondition1,Disturbance.a,Disturbance.b,Disturbance.last,Disturbance.nextEvent,Disturbance.nextEventScaled) * Number of discrete states: 6 (Disturbance.nextEvent,Disturbance.last,Disturbance.nextEventScaled,Disturbance.b,Disturbance.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 32 * 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 Backend phase and start with SimCode phase: time 0.0002372/0.167, allocations: 144 kB / 410.3 MB, free: 3.383 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0008788/0.1679, allocations: 0.5559 MB / 410.9 MB, free: 2.816 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.859e-06/0.1679, allocations: 0 / 410.9 MB, free: 2.816 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003552/0.1683, allocations: 279.2 kB / 411.1 MB, free: 2.531 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003606/0.1687, allocations: 50.73 kB / 411.2 MB, free: 2.48 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001741/0.1704, allocations: 1.366 MB / 412.5 MB, free: 1.074 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005193/0.171, allocations: 0.8781 MB / 413.4 MB, free: 168 kB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001063/0.1711, allocations: 47.36 kB / 413.5 MB, free: 120 kB / 302.1 MB Notification: Performance of SimCode: time 2.775e-06/0.1711, allocations: 0 / 413.5 MB, free: 120 kB / 302.1 MB Notification: Performance of Templates: time 0.009181/0.1803, allocations: 5.838 MB / 419.3 MB, free: 10.27 MB / 318.1 MB make -j1 -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestD_bias.makefile make -j1 -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestD_bias.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.TestD_biasCalcHelperMain.o OMCppIndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestD_biasCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppIndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestD_biasCalcHelperMain.o] Error 1