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.0009076/0.0009076, allocations: 102.7 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.001432/0.001432, allocations: 170 kB / 16.58 MB, free: 6.07 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.114/2.114, allocations: 205.4 MB / 222.8 MB, free: 5.609 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.05733/0.05733, allocations: 10.74 MB / 281.8 MB, free: 10.56 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.0005815/0.0005817, allocations: 12 kB / 342.3 MB, free: 23.86 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.111/0.1115, allocations: 50.01 MB / 392.3 MB, free: 5.777 MB / 286.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Examples.TestD_bias): time 0.002566/0.1142, allocations: 1.785 MB / 394.1 MB, free: 3.98 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002083/0.1163, allocations: 0.9637 MB / 395 MB, free: 3.008 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002067/0.1165, allocations: 15.81 kB / 395 MB, free: 2.992 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002979/0.1168, allocations: 67.61 kB / 395.1 MB, free: 2.926 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001245/0.1169, allocations: 55.69 kB / 395.2 MB, free: 2.871 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008837/0.1178, allocations: 243.6 kB / 395.4 MB, free: 2.633 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.000567/0.1184, allocations: 0.4927 MB / 395.9 MB, free: 2.137 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002013/0.1186, allocations: 72.98 kB / 396 MB, free: 2.059 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002538/0.1189, allocations: 191.2 kB / 396.1 MB, free: 1.871 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003438/0.1192, allocations: 207.2 kB / 396.3 MB, free: 1.668 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 5.385e-05/0.1193, allocations: 23.92 kB / 396.4 MB, free: 1.645 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001712/0.1195, allocations: 79.94 kB / 396.4 MB, free: 1.566 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001884/0.1197, allocations: 131.6 kB / 396.6 MB, free: 1.438 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001079/0.1198, allocations: 97.39 kB / 396.7 MB, free: 1.336 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004465/0.1203, allocations: 355.5 kB / 397 MB, free: 0.9883 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/0.1203, allocations: 0 / 397 MB, free: 0.9883 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.883e-06/0.1203, allocations: 0 / 397 MB, free: 0.9883 MB / 286.1 MB Notification: Performance of Transformations before backend: time 9.458e-06/0.1203, allocations: 4 kB / 397 MB, free: 0.9844 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: 100 * Number of variables: 100 Notification: Performance of Generate backend data structure: time 0.0013/0.1216, allocations: 0.7727 MB / 397.8 MB, free: 164 kB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.24e-05/0.1217, allocations: 8.031 kB / 397.8 MB, free: 156 kB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001331/0.1218, allocations: 67.14 kB / 397.9 MB, free: 88 kB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005554/0.1224, allocations: 396.9 kB / 398.3 MB, free: 15.66 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.492e-05/0.1224, allocations: 29 kB / 398.3 MB, free: 15.63 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.638e-05/0.1225, allocations: 51.89 kB / 398.3 MB, free: 15.58 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008273/0.1233, allocations: 0.5044 MB / 398.8 MB, free: 15.05 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.648e-05/0.1234, allocations: 7.906 kB / 398.8 MB, free: 15.04 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.005e-05/0.1234, allocations: 16 kB / 398.9 MB, free: 15.02 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.63e-05/0.1234, allocations: 15.95 kB / 398.9 MB, free: 15.01 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000706/0.1242, allocations: 395.7 kB / 399.3 MB, free: 14.62 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002827/0.127, allocations: 1.802 MB / 401.1 MB, free: 12.74 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005352/0.1275, allocations: 263.3 kB / 401.3 MB, free: 12.48 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002894/0.1278, allocations: 188.6 kB / 401.5 MB, free: 12.29 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.28e-05/0.1279, allocations: 8.266 kB / 401.5 MB, free: 12.28 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004834/0.1284, allocations: 264.9 kB / 401.8 MB, free: 12 MB / 302.1 MB Notification: Performance of pre-optimization done (n=36): time 2.956e-06/0.1284, allocations: 0 / 401.8 MB, free: 12 MB / 302.1 MB Notification: Performance of matching and sorting (n=36): time 0.00105/0.1295, allocations: 0.578 MB / 402.4 MB, free: 11.41 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.169e-05/0.1295, allocations: 89.11 kB / 402.4 MB, free: 11.3 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005426/0.1301, allocations: 477.8 kB / 402.9 MB, free: 10.84 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 5.243e-05/0.1302, allocations: 33.7 kB / 402.9 MB, free: 10.8 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002376/0.1304, allocations: 280 kB / 403.2 MB, free: 10.52 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001194/0.1305, allocations: 138 kB / 403.3 MB, free: 10.38 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.07e-05/0.1306, allocations: 8 kB / 403.4 MB, free: 10.38 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0002137/0.1308, allocations: 366.8 kB / 403.7 MB, free: 10.01 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002927/0.1311, allocations: 169.1 kB / 403.9 MB, free: 9.844 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004201/0.1315, allocations: 333.8 kB / 404.2 MB, free: 9.453 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003969/0.1319, allocations: 254.8 kB / 404.5 MB, free: 9.195 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.707e-06/0.1319, allocations: 0 / 404.5 MB, free: 9.195 MB / 302.1 MB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001096/0.133, allocations: 0.7225 MB / 405.2 MB, free: 8.461 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.625e-05/0.1331, allocations: 48.44 kB / 405.2 MB, free: 8.41 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.339e-05/0.1331, allocations: 8.094 kB / 405.2 MB, free: 8.402 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.191e-05/0.1331, allocations: 11.94 kB / 405.2 MB, free: 8.391 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005167/0.1337, allocations: 139.7 kB / 405.4 MB, free: 8.254 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.653e-05/0.1337, allocations: 8 kB / 405.4 MB, free: 8.246 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002703/0.134, allocations: 63.64 kB / 405.4 MB, free: 8.184 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.538e-05/0.134, allocations: 28 kB / 405.5 MB, free: 8.156 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.Y[3]:VARIABLE(fixed = true protected = true ) type: Real [4] processNoCtrl.Y[4]:VARIABLE(fixed = true protected = true ) type: Real [4] processNoCtrl.U[2]:VARIABLE(fixed = true protected = true ) type: Real [3] 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.Y[3]:VARIABLE(fixed = true protected = true ) type: Real [4] ProcessCtrl.Y[4]:VARIABLE(fixed = true protected = true ) type: Real [4] ProcessCtrl.U[2]:VARIABLE(fixed = true protected = true ) type: Real [3] ProcessCtrl.U[3]:VARIABLE(fixed = true protected = true ) type: Real [3] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * Number of states: 0 () * Number of discrete variables: 11 ($whenCondition1,Disturbance.a,Disturbance.b,Disturbance.last,$PRE.Disturbance.nextEvent,Disturbance.nextEvent,Disturbance.nextEventScaled,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000418/0.1345, allocations: 286.3 kB / 405.8 MB, free: 7.859 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.1e-05/0.1345, allocations: 59.27 kB / 405.8 MB, free: 7.801 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008895/0.1354, allocations: 0.5179 MB / 406.3 MB, free: 7.273 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.871e-06/0.1355, allocations: 4 kB / 406.3 MB, free: 7.27 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.372e-06/0.1355, allocations: 0 / 406.3 MB, free: 7.27 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.284e-06/0.1355, allocations: 3.984 kB / 406.3 MB, free: 7.266 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005509/0.136, allocations: 473.1 kB / 406.8 MB, free: 6.754 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.093e-06/0.1361, allocations: 0 / 406.8 MB, free: 6.754 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004797/0.1365, allocations: 83.88 kB / 406.9 MB, free: 6.672 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.456e-06/0.1366, allocations: 0 / 406.9 MB, free: 6.672 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.516e-05/0.1366, allocations: 23.94 kB / 406.9 MB, free: 6.648 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.1e-06/0.1366, allocations: 4 kB / 406.9 MB, free: 6.645 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.527e-06/0.1366, allocations: 8 kB / 406.9 MB, free: 6.637 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001126/0.1378, allocations: 0.7158 MB / 407.6 MB, free: 5.898 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001129/0.1379, allocations: 128.5 kB / 407.8 MB, free: 5.754 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.913e-05/0.138, allocations: 19.97 kB / 407.8 MB, free: 5.734 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001481/0.1381, allocations: 23.94 kB / 407.8 MB, free: 5.711 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.656e-05/0.1382, allocations: 23.97 kB / 407.8 MB, free: 5.688 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.347e-05/0.1382, allocations: 19.92 kB / 407.8 MB, free: 5.668 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0003594/0.1386, allocations: 331.1 kB / 408.2 MB, free: 5.344 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1386, allocations: 0 / 408.2 MB, free: 5.344 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004546/0.1391, allocations: 107.8 kB / 408.3 MB, free: 5.238 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 (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.0002339/0.1393, allocations: 136.1 kB / 408.4 MB, free: 5.094 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0008656/0.1402, allocations: 0.539 MB / 408.9 MB, free: 4.543 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.068e-06/0.1402, allocations: 5.312 kB / 408.9 MB, free: 4.539 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003369/0.1406, allocations: 279.1 kB / 409.2 MB, free: 4.254 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003303/0.1409, allocations: 49.97 kB / 409.3 MB, free: 4.203 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001781/0.1427, allocations: 1.309 MB / 410.6 MB, free: 2.855 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005636/0.1433, allocations: 0.8859 MB / 411.5 MB, free: 1.941 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001197/0.1434, allocations: 35.44 kB / 411.5 MB, free: 1.906 MB / 302.1 MB Notification: Performance of SimCode: time 6.71e-07/0.1434, allocations: 0 / 411.5 MB, free: 1.906 MB / 302.1 MB Notification: Performance of Templates: time 0.01118/0.1546, allocations: 5.835 MB / 417.3 MB, free: 12.06 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++ 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.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