Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.Basic.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.LinearSystems.Examples.Basic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.Basic") translateModel(IndustrialControlSystems.LinearSystems.Examples.Basic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.Basic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008855/0.0008855, allocations: 92.31 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.001378/0.001378, allocations: 182 kB / 16.92 MB, free: 6.926 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.989/1.989, allocations: 205.4 MB / 223.1 MB, free: 5.523 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.05741/0.05741, allocations: 10.75 MB / 282.1 MB, free: 10.46 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.0006371/0.0006371, allocations: 12.22 kB / 342.9 MB, free: 23.51 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1246/0.1252, allocations: 50 MB / 392.9 MB, free: 5.438 MB / 286.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.LinearSystems.Examples.Basic): time 0.002702/0.128, allocations: 1.553 MB / 394.4 MB, free: 3.871 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001612/0.1297, allocations: 0.615 MB / 395.1 MB, free: 3.254 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001159/0.1298, allocations: 3.938 kB / 395.1 MB, free: 3.25 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 4.5e-05/0.1299, allocations: 11.86 kB / 395.1 MB, free: 3.238 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000154/0.13, allocations: 19.81 kB / 395.1 MB, free: 3.219 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005604/0.1306, allocations: 147.7 kB / 395.2 MB, free: 3.074 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002527/0.1309, allocations: 195.5 kB / 395.4 MB, free: 2.883 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001693/0.1311, allocations: 36.66 kB / 395.5 MB, free: 2.852 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001037/0.1312, allocations: 75.52 kB / 395.5 MB, free: 2.777 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001556/0.1313, allocations: 103.4 kB / 395.6 MB, free: 2.676 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.028e-05/0.1314, allocations: 8 kB / 395.6 MB, free: 2.668 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002474/0.1316, allocations: 147.9 kB / 395.8 MB, free: 2.523 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 6.242e-05/0.1317, allocations: 43.77 kB / 395.8 MB, free: 2.48 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001199/0.1318, allocations: 117.1 kB / 395.9 MB, free: 2.359 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002805/0.1321, allocations: 207.5 kB / 396.1 MB, free: 2.156 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.301e-06/0.1321, allocations: 0 / 396.1 MB, free: 2.156 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.254e-06/0.1321, allocations: 0 / 396.1 MB, free: 2.156 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.162e-05/0.1321, allocations: 0 / 396.1 MB, free: 2.156 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0009546/0.1331, allocations: 0.5213 MB / 396.7 MB, free: 1.586 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.31e-05/0.1332, allocations: 8.031 kB / 396.7 MB, free: 1.578 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.782e-05/0.1333, allocations: 28.66 kB / 396.7 MB, free: 1.551 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003708/0.1336, allocations: 267.6 kB / 397 MB, free: 1.25 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.039e-05/0.1337, allocations: 12.38 kB / 397 MB, free: 1.238 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.108e-05/0.1337, allocations: 20.27 kB / 397 MB, free: 1.219 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003857/0.1341, allocations: 175 kB / 397.2 MB, free: 1.027 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.735e-05/0.1342, allocations: 4.188 kB / 397.2 MB, free: 1.023 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.839e-05/0.1342, allocations: 11.92 kB / 397.2 MB, free: 1.012 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.667e-06/0.1342, allocations: 4 kB / 397.2 MB, free: 1.008 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000175/0.1344, allocations: 67.91 kB / 397.3 MB, free: 0.9414 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001/0.1354, allocations: 0.5276 MB / 397.8 MB, free: 372 kB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003054/0.1357, allocations: 138.6 kB / 397.9 MB, free: 224 kB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001311/0.1359, allocations: 60.83 kB / 398 MB, free: 160 kB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.866e-05/0.1359, allocations: 12.03 kB / 398 MB, free: 148 kB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003246/0.1362, allocations: 151.2 kB / 398.1 MB, free: 15.98 MB / 302.1 MB Notification: Performance of pre-optimization done (n=20): time 1.473e-06/0.1362, allocations: 0 / 398.1 MB, free: 15.98 MB / 302.1 MB Notification: Performance of matching and sorting (n=20): time 0.0005812/0.1368, allocations: 269.3 kB / 398.4 MB, free: 15.71 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001136/0.1369, allocations: 158.2 kB / 398.6 MB, free: 15.52 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002596/0.1372, allocations: 266.6 kB / 398.8 MB, free: 15.25 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001835/0.1374, allocations: 41.69 kB / 398.9 MB, free: 15.21 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001291/0.1375, allocations: 148.3 kB / 399 MB, free: 15.06 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.689e-05/0.1376, allocations: 67.06 kB / 399.1 MB, free: 14.99 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.835e-05/0.1377, allocations: 33.7 kB / 399.1 MB, free: 14.95 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001333/0.1378, allocations: 338.8 kB / 399.4 MB, free: 14.61 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001226/0.1379, allocations: 60.25 kB / 399.5 MB, free: 14.55 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002279/0.1382, allocations: 185.6 kB / 399.7 MB, free: 14.31 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003727/0.1385, allocations: 245.5 kB / 399.9 MB, free: 14.02 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.53e-06/0.1386, allocations: 4 kB / 399.9 MB, free: 14.02 MB / 302.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004547/0.139, allocations: 276.9 kB / 400.2 MB, free: 13.74 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.847e-05/0.1391, allocations: 4 kB / 400.2 MB, free: 13.73 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.345e-06/0.1391, allocations: 4 kB / 400.2 MB, free: 13.73 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.286e-05/0.1391, allocations: 8 kB / 400.2 MB, free: 13.72 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002581/0.1394, allocations: 68.31 kB / 400.3 MB, free: 13.66 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.268e-05/0.1394, allocations: 4 kB / 400.3 MB, free: 13.65 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001845/0.1396, allocations: 31.77 kB / 400.3 MB, free: 13.62 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.038e-05/0.1396, allocations: 16 kB / 400.3 MB, free: 13.61 MB / 302.1 MB Warning: Assuming fixed start value for the following 1 variables: complexPoles_dig.u_pre1:DISCRETE(fixed = true protected = true ) 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: 16 (complexPoles_dig.y,$PRE.complexPoles_dig.y,$PRE.complexPoles_dig.u_pre1,complexPoles_dig.u_pre1,complexPoles_dig.y_pre1,$PRE.complexPoles_dig.y_pre1,lLag_dig.y,$PRE.lLag_dig.y,fO_dig.y,$PRE.fO_dig.y,int_dig.y,$PRE.int_dig.y,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (35): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * 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.0002129/0.1398, allocations: 141.5 kB / 400.5 MB, free: 13.46 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.325e-05/0.1399, allocations: 27.62 kB / 400.5 MB, free: 13.43 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.178e-05/0.14, allocations: 34.2 kB / 400.5 MB, free: 13.39 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.29e-06/0.14, allocations: 8 kB / 400.5 MB, free: 13.39 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.983e-06/0.14, allocations: 0 / 400.5 MB, free: 13.39 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.977e-06/0.14, allocations: 7.922 kB / 400.5 MB, free: 13.38 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007232/0.1407, allocations: 0.5485 MB / 401.1 MB, free: 12.78 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.056e-06/0.1408, allocations: 4 kB / 401.1 MB, free: 12.77 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002142/0.141, allocations: 39.92 kB / 401.1 MB, free: 12.73 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.753e-06/0.141, allocations: 4 kB / 401.1 MB, free: 12.73 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.08e-05/0.141, allocations: 7.922 kB / 401.1 MB, free: 12.72 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.487e-06/0.141, allocations: 8 kB / 401.1 MB, free: 12.71 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.764e-06/0.141, allocations: 0 / 401.1 MB, free: 12.71 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006377/0.1417, allocations: 391 kB / 401.5 MB, free: 12.32 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.809e-05/0.1418, allocations: 104.8 kB / 401.6 MB, free: 12.2 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.706e-05/0.1418, allocations: 12 kB / 401.6 MB, free: 12.18 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001553/0.142, allocations: 11.98 kB / 401.6 MB, free: 12.17 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.645e-05/0.1421, allocations: 11.98 kB / 401.7 MB, free: 12.16 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.884e-05/0.1421, allocations: 11.98 kB / 401.7 MB, free: 12.15 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001963/0.1423, allocations: 182 kB / 401.8 MB, free: 11.97 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1423, allocations: 7.938 kB / 401.9 MB, free: 11.96 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003845/0.1427, allocations: 75.98 kB / 401.9 MB, free: 11.89 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (int.y,fO.y,lLag.dy,complexPoles.y,complexPoles.dy) * Number of discrete variables: 10 ($whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,int_dig.y,fO_dig.y,lLag_dig.y,complexPoles_dig.y,complexPoles_dig.u_pre1,complexPoles_dig.y_pre1) * Number of discrete states: 10 (complexPoles_dig.u,complexPoles_dig.u_pre1,complexPoles_dig.y,complexPoles_dig.y_pre1,lLag_dig.u,lLag_dig.y,fO_dig.u,fO_dig.y,int_dig.u,int_dig.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * 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.0002524/0.1429, allocations: 159.1 kB / 402.1 MB, free: 11.72 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003527/0.1433, allocations: 168.5 kB / 402.3 MB, free: 11.56 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.1433, allocations: 8.125 kB / 402.3 MB, free: 11.55 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001537/0.1435, allocations: 79.34 kB / 402.3 MB, free: 11.48 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004046/0.1439, allocations: 52.52 kB / 402.4 MB, free: 11.43 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001198/0.1451, allocations: 0.6125 MB / 403 MB, free: 10.78 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003682/0.1455, allocations: 0.752 MB / 403.8 MB, free: 10 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.424e-05/0.1456, allocations: 23.44 kB / 403.8 MB, free: 9.977 MB / 302.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1456, allocations: 0 / 403.8 MB, free: 9.977 MB / 302.1 MB Notification: Performance of Templates: time 0.006151/0.1517, allocations: 3.189 MB / 407 MB, free: 6.785 MB / 302.1 MB make -j1 -f IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.Basic.makefile make -j1 -f IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.Basic.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.LinearSystems.Examples.BasicCalcHelperMain.o OMCppIndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.BasicCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppIndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.BasicCalcHelperMain.o] Error 1