Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.BasicComparisonFO.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.BasicComparisonFO,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.BasicComparisonFO") translateModel(IndustrialControlSystems.LinearSystems.Examples.BasicComparisonFO,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.BasicComparisonFO") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008675/0.0008674, allocations: 102.4 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.00101/0.001011, allocations: 174.5 kB / 16.58 MB, free: 6.398 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.951/1.951, allocations: 205.4 MB / 222.8 MB, free: 5.867 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.05559/0.05559, allocations: 10.75 MB / 281.8 MB, free: 10.76 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.0005832/0.0005832, allocations: 16 kB / 342.3 MB, free: 23.86 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1335/0.1341, allocations: 50.01 MB / 392.3 MB, free: 5.789 MB / 286.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.LinearSystems.Examples.BasicComparisonFO): time 0.002089/0.1362, allocations: 1.281 MB / 393.5 MB, free: 4.496 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006632/0.1369, allocations: 243.3 kB / 393.8 MB, free: 4.258 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.531e-05/0.137, allocations: 0 / 393.8 MB, free: 4.258 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 2.2e-05/0.137, allocations: 3.938 kB / 393.8 MB, free: 4.254 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001222/0.1372, allocations: 19.86 kB / 393.8 MB, free: 4.234 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003005/0.1375, allocations: 51.89 kB / 393.9 MB, free: 4.184 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001704/0.1377, allocations: 87.75 kB / 393.9 MB, free: 4.098 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001396/0.1378, allocations: 21.45 kB / 394 MB, free: 4.074 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.896e-05/0.1379, allocations: 35.78 kB / 394 MB, free: 4.039 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.613e-05/0.138, allocations: 43.77 kB / 394 MB, free: 3.996 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.841e-05/0.138, allocations: 4 kB / 394 MB, free: 3.992 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.608e-05/0.1381, allocations: 23.98 kB / 394.1 MB, free: 3.969 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 2.762e-05/0.1381, allocations: 31.78 kB / 394.1 MB, free: 3.938 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 4.525e-05/0.1382, allocations: 41.62 kB / 394.1 MB, free: 3.891 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001339/0.1383, allocations: 71.86 kB / 394.2 MB, free: 3.82 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.546e-06/0.1383, allocations: 8 kB / 394.2 MB, free: 3.812 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.535e-06/0.1383, allocations: 0 / 394.2 MB, free: 3.812 MB / 286.1 MB Notification: Performance of Transformations before backend: time 4.859e-06/0.1383, allocations: 0 / 394.2 MB, free: 3.812 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0006402/0.139, allocations: 402.6 kB / 394.6 MB, free: 3.375 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.458e-05/0.139, allocations: 16.02 kB / 394.6 MB, free: 3.359 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.946e-05/0.1391, allocations: 15.77 kB / 394.6 MB, free: 3.344 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000238/0.1393, allocations: 207.6 kB / 394.8 MB, free: 3.102 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.915e-05/0.1394, allocations: 8 kB / 394.9 MB, free: 3.094 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.708e-05/0.1394, allocations: 16 kB / 394.9 MB, free: 3.078 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003153/0.1397, allocations: 85.64 kB / 395 MB, free: 2.988 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.278e-06/0.1398, allocations: 0 / 395 MB, free: 2.988 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.479e-05/0.1398, allocations: 0 / 395 MB, free: 2.988 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.414e-06/0.1398, allocations: 4 kB / 395 MB, free: 2.984 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001282/0.1399, allocations: 47.97 kB / 395 MB, free: 2.938 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007254/0.1407, allocations: 388.5 kB / 395.4 MB, free: 2.508 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002561/0.1409, allocations: 102.6 kB / 395.5 MB, free: 2.398 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001343/0.1411, allocations: 68.78 kB / 395.5 MB, free: 2.328 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.759e-05/0.1411, allocations: 7.922 kB / 395.6 MB, free: 2.32 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002866/0.1414, allocations: 103.3 kB / 395.7 MB, free: 2.207 MB / 286.1 MB Notification: Performance of pre-optimization done (n=13): time 1.332e-06/0.1414, allocations: 0 / 395.7 MB, free: 2.207 MB / 286.1 MB Notification: Performance of matching and sorting (n=13): time 0.000484/0.1419, allocations: 193.8 kB / 395.8 MB, free: 2.012 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.972e-05/0.142, allocations: 59.34 kB / 395.9 MB, free: 1.941 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001734/0.1421, allocations: 167.3 kB / 396.1 MB, free: 1.766 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.374e-05/0.1422, allocations: 33.7 kB / 396.1 MB, free: 1.727 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.352e-05/0.1423, allocations: 108 kB / 396.2 MB, free: 1.617 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.348e-05/0.1423, allocations: 35.59 kB / 396.2 MB, free: 1.582 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.809e-06/0.1423, allocations: 8 kB / 396.3 MB, free: 1.574 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001409/0.1425, allocations: 326.8 kB / 396.6 MB, free: 1.246 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.52e-05/0.1426, allocations: 31.98 kB / 396.6 MB, free: 1.215 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001173/0.1427, allocations: 81.98 kB / 396.7 MB, free: 1.113 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.546e-05/0.1428, allocations: 48.12 kB / 396.7 MB, free: 1.066 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.1428, allocations: 0 / 396.7 MB, free: 1.066 MB / 286.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000285/0.1431, allocations: 165.3 kB / 396.9 MB, free: 0.8984 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.957e-05/0.1431, allocations: 11.94 kB / 396.9 MB, free: 0.8867 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.643e-06/0.1431, allocations: 0 / 396.9 MB, free: 0.8867 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.717e-05/0.1432, allocations: 4 kB / 396.9 MB, free: 0.8828 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001451/0.1433, allocations: 27.98 kB / 396.9 MB, free: 0.8555 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.897e-06/0.1433, allocations: 7.938 kB / 396.9 MB, free: 0.8477 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.197e-05/0.1434, allocations: 19.83 kB / 397 MB, free: 0.8281 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.45e-05/0.1434, allocations: 7.984 kB / 397 MB, free: 0.8203 MB / 286.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition3,$whenCondition2,$whenCondition1,$PRE.fO_dig_BE.y,fO_dig_BE.y,$PRE.fO_dig_FE.y,fO_dig_FE.y,$PRE.fO_dig_TU.y,fO_dig_TU.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * 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.000131/0.1436, allocations: 128.9 kB / 397.1 MB, free: 0.6875 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.283e-05/0.1436, allocations: 15.86 kB / 397.1 MB, free: 0.6719 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.379e-05/0.1436, allocations: 17.52 kB / 397.1 MB, free: 0.6562 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.365e-06/0.1436, allocations: 4 kB / 397.1 MB, free: 0.6523 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.795e-06/0.1437, allocations: 0 / 397.1 MB, free: 0.6523 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.1437, allocations: 3.938 kB / 397.1 MB, free: 0.6484 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005485/0.1442, allocations: 450.3 kB / 397.6 MB, free: 156 kB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.1442, allocations: 0 / 397.6 MB, free: 156 kB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.146e-05/0.1443, allocations: 15.98 kB / 397.6 MB, free: 140 kB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.235e-06/0.1443, allocations: 4 kB / 397.6 MB, free: 136 kB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.459e-05/0.1444, allocations: 0 / 397.6 MB, free: 136 kB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.179e-05/0.1444, allocations: 7.922 kB / 397.6 MB, free: 128 kB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/0.1444, allocations: 7.938 kB / 397.6 MB, free: 120 kB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004835/0.1449, allocations: 299.3 kB / 397.9 MB, free: 15.81 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.694e-05/0.1449, allocations: 89.03 kB / 398 MB, free: 15.7 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.762e-05/0.145, allocations: 4 kB / 398 MB, free: 15.7 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.098e-05/0.1451, allocations: 4 kB / 398 MB, free: 15.7 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.679e-05/0.1451, allocations: 11.98 kB / 398 MB, free: 15.68 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.134e-05/0.1451, allocations: 4 kB / 398 MB, free: 15.68 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001159/0.1453, allocations: 128 kB / 398.1 MB, free: 15.55 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1453, allocations: 0 / 398.1 MB, free: 15.55 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002645/0.1455, allocations: 27.98 kB / 398.2 MB, free: 15.53 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (fO.y) * Number of discrete variables: 6 ($whenCondition3,$whenCondition2,$whenCondition1,fO_dig_BE.y,fO_dig_FE.y,fO_dig_TU.y) * Number of discrete states: 6 (fO_dig_TU.u,fO_dig_TU.y,fO_dig_FE.u,fO_dig_FE.y,fO_dig_BE.u,fO_dig_BE.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0001613/0.1457, allocations: 111.2 kB / 398.3 MB, free: 15.41 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002542/0.146, allocations: 104.6 kB / 398.4 MB, free: 15.31 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.146, allocations: 4.062 kB / 398.4 MB, free: 15.3 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001035/0.1461, allocations: 52.17 kB / 398.4 MB, free: 15.25 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00032/0.1464, allocations: 33.55 kB / 398.5 MB, free: 15.22 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007573/0.1472, allocations: 337.9 kB / 398.8 MB, free: 14.86 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003731/0.1476, allocations: 0.7088 MB / 399.5 MB, free: 14.12 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.026e-05/0.1476, allocations: 15.44 kB / 399.5 MB, free: 14.11 MB / 302.1 MB Notification: Performance of SimCode: time 2.6e-07/0.1476, allocations: 4 kB / 399.5 MB, free: 14.11 MB / 302.1 MB Notification: Performance of Templates: time 0.003991/0.1516, allocations: 1.639 MB / 401.2 MB, free: 12.46 MB / 302.1 MB make -j1 -f IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.BasicComparisonFO.makefile make -j1 -f IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.BasicComparisonFO.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.LinearSystems.Examples.BasicComparisonFOCalcHelperMain.o OMCppIndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.BasicComparisonFOCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppIndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.BasicComparisonFOCalcHelperMain.o] Error 1