Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sensors.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/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/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(ModelicaTest.FluxTubes.Sensors,tolerance=1e-05,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|magneticPotentialDifferenceSensor.Phi|magneticFluxSensor.Phi|magneticPotentialDifferenceSensor.V_m",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sensors") translateModel(ModelicaTest.FluxTubes.Sensors,tolerance=1e-05,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|magneticPotentialDifferenceSensor.Phi|magneticFluxSensor.Phi|magneticPotentialDifferenceSensor.V_m",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sensors") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009885/0.0009887, allocations: 93.62 kB / 16.67 MB, free: 5.855 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001326/0.001326, allocations: 173.3 kB / 17.57 MB, free: 5.543 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.938/1.938, allocations: 205.4 MB / 223.7 MB, free: 13.07 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2491/0.2491, allocations: 43.59 MB / 315.6 MB, free: 424 kB / 254.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.0005617/0.000562, allocations: 16.52 kB / 385.2 MB, free: 56.61 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1243/0.1249, allocations: 58.87 MB / 444.1 MB, free: 5.176 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.FluxTubes.Sensors): time 0.001939/0.1268, allocations: 1.584 MB / 445.7 MB, free: 3.574 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008946/0.1278, allocations: 0.5853 MB / 446.3 MB, free: 2.98 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001547/0.1279, allocations: 7.938 kB / 446.3 MB, free: 2.973 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000195/0.1282, allocations: 23.86 kB / 446.3 MB, free: 2.949 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001796/0.1283, allocations: 27.83 kB / 446.3 MB, free: 2.922 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002077/0.1286, allocations: 39.91 kB / 446.4 MB, free: 2.883 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001951/0.1288, allocations: 143.5 kB / 446.5 MB, free: 2.742 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001528/0.1289, allocations: 49.78 kB / 446.6 MB, free: 2.688 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001727/0.1291, allocations: 55.77 kB / 446.6 MB, free: 2.633 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.369e-05/0.1292, allocations: 51.77 kB / 446.7 MB, free: 2.582 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.191e-05/0.1293, allocations: 12 kB / 446.7 MB, free: 2.57 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.313e-05/0.1293, allocations: 8 kB / 446.7 MB, free: 2.562 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.818e-05/0.1293, allocations: 23.86 kB / 446.7 MB, free: 2.539 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 7.677e-05/0.1294, allocations: 81.38 kB / 446.8 MB, free: 2.453 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001268/0.1295, allocations: 115.7 kB / 446.9 MB, free: 2.34 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.938e-06/0.1295, allocations: 0 / 446.9 MB, free: 2.34 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.246e-06/0.1296, allocations: 0 / 446.9 MB, free: 2.34 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.715e-06/0.1296, allocations: 3.938 kB / 446.9 MB, free: 2.336 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 33 * Number of variables: 33 Notification: Performance of Generate backend data structure: time 0.000552/0.1301, allocations: 423.4 kB / 447.3 MB, free: 1.875 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.064e-05/0.1302, allocations: 8.031 kB / 447.3 MB, free: 1.867 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.031e-05/0.1302, allocations: 16.75 kB / 447.3 MB, free: 1.852 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001823/0.1304, allocations: 208.1 kB / 447.5 MB, free: 1.609 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.554e-05/0.1305, allocations: 12.59 kB / 447.6 MB, free: 1.598 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.138e-05/0.1305, allocations: 12.38 kB / 447.6 MB, free: 1.586 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003366/0.1308, allocations: 148.1 kB / 447.7 MB, free: 1.438 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.859e-06/0.1308, allocations: 0 / 447.7 MB, free: 1.438 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.693e-05/0.1309, allocations: 8 kB / 447.7 MB, free: 1.43 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.642e-06/0.1309, allocations: 0 / 447.7 MB, free: 1.43 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002728/0.1312, allocations: 120.1 kB / 447.8 MB, free: 1.312 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009053/0.1321, allocations: 0.6258 MB / 448.5 MB, free: 0.6172 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002339/0.1323, allocations: 70.58 kB / 448.5 MB, free: 0.5391 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001022/0.1324, allocations: 41 kB / 448.6 MB, free: 0.4961 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.22e-05/0.1325, allocations: 0 / 448.6 MB, free: 0.4961 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.529e-05/0.1325, allocations: 34.5 kB / 448.6 MB, free: 464 kB / 318.1 MB Notification: Performance of pre-optimization done (n=5): time 9.41e-07/0.1325, allocations: 3.938 kB / 448.6 MB, free: 460 kB / 318.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003911/0.1329, allocations: 125.7 kB / 448.7 MB, free: 328 kB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.343e-05/0.1329, allocations: 51.41 kB / 448.8 MB, free: 264 kB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001089/0.133, allocations: 157.7 kB / 448.9 MB, free: 96 kB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.066e-05/0.1331, allocations: 29.7 kB / 449 MB, free: 60 kB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001058/0.1332, allocations: 131.5 kB / 449.1 MB, free: 15.93 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.916e-05/0.1332, allocations: 15.8 kB / 449.1 MB, free: 15.91 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.928e-05/0.1332, allocations: 21.72 kB / 449.1 MB, free: 15.88 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001292/0.1334, allocations: 322.8 kB / 449.4 MB, free: 15.56 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001135/0.1335, allocations: 27.98 kB / 449.5 MB, free: 15.53 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000144/0.1336, allocations: 72.2 kB / 449.5 MB, free: 15.45 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002472/0.1339, allocations: 104.2 kB / 449.6 MB, free: 15.33 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/0.1339, allocations: 0 / 449.6 MB, free: 15.33 MB / 334.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003332/0.1342, allocations: 137.6 kB / 449.8 MB, free: 15.18 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.221e-05/0.1343, allocations: 6.031 kB / 449.8 MB, free: 15.18 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.038e-05/0.1343, allocations: 8 kB / 449.8 MB, free: 15.17 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.318e-05/0.1343, allocations: 0 / 449.8 MB, free: 15.17 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001374/0.1345, allocations: 35.86 kB / 449.8 MB, free: 15.14 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.235e-06/0.1345, allocations: 0 / 449.8 MB, free: 15.14 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001145/0.1346, allocations: 27.83 kB / 449.9 MB, free: 15.11 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.294e-05/0.1346, allocations: 80 / 449.9 MB, free: 15.11 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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.0001197/0.1348, allocations: 129.8 kB / 450 MB, free: 14.97 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.553e-05/0.1348, allocations: 7.906 kB / 450 MB, free: 14.96 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.833e-05/0.1348, allocations: 16.23 kB / 450 MB, free: 14.95 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.667e-06/0.1349, allocations: 7.938 kB / 450 MB, free: 14.95 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.181e-06/0.1349, allocations: 0 / 450 MB, free: 14.95 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.925e-06/0.1349, allocations: 0 / 450 MB, free: 14.95 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002379/0.1351, allocations: 205.6 kB / 450.2 MB, free: 14.7 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.1351, allocations: 0 / 450.2 MB, free: 14.7 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.624e-05/0.1352, allocations: 23.98 kB / 450.2 MB, free: 14.67 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.466e-06/0.1352, allocations: 3.938 kB / 450.2 MB, free: 14.67 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.328e-06/0.1353, allocations: 0 / 450.2 MB, free: 14.67 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.1e-06/0.1353, allocations: 7.922 kB / 450.2 MB, free: 14.66 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.1353, allocations: 3.984 kB / 450.2 MB, free: 14.66 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003048/0.1356, allocations: 195.4 kB / 450.4 MB, free: 14.45 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.509e-05/0.1356, allocations: 85.02 kB / 450.5 MB, free: 14.35 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.075e-05/0.1357, allocations: 4 kB / 450.5 MB, free: 14.34 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.874e-05/0.1358, allocations: 19.86 kB / 450.5 MB, free: 14.32 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.923e-05/0.1358, allocations: 3.938 kB / 450.5 MB, free: 14.32 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.302e-06/0.1358, allocations: 4 kB / 450.6 MB, free: 14.32 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.521e-05/0.1359, allocations: 116 kB / 450.7 MB, free: 14.2 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1359, allocations: 0 / 450.7 MB, free: 14.2 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002588/0.1362, allocations: 27.84 kB / 450.7 MB, free: 14.18 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * 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 (5): * Single equations (assignments): 5 * 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 Backend phase and start with SimCode phase: time 9.35e-05/0.1363, allocations: 95.23 kB / 450.8 MB, free: 14.07 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002927/0.1366, allocations: 83.95 kB / 450.9 MB, free: 13.99 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.1366, allocations: 0 / 450.9 MB, free: 13.99 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001048/0.1367, allocations: 35.97 kB / 450.9 MB, free: 13.95 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003174/0.1371, allocations: 10.25 kB / 450.9 MB, free: 13.95 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006258/0.1377, allocations: 363.7 kB / 451.3 MB, free: 13.56 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003224/0.138, allocations: 0.7119 MB / 452 MB, free: 12.82 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.488e-05/0.1381, allocations: 11.44 kB / 452 MB, free: 12.81 MB / 334.1 MB Notification: Performance of SimCode: time 3.41e-07/0.1381, allocations: 0 / 452 MB, free: 12.81 MB / 334.1 MB Notification: Performance of Templates: time 0.003246/0.1413, allocations: 1.225 MB / 453.2 MB, free: 11.58 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sensors.makefile make -j1 -f ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sensors.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 OMCppModelicaTest_3.2.3_ModelicaTest.FluxTubes.SensorsCalcHelperMain.o OMCppModelicaTest_3.2.3_ModelicaTest.FluxTubes.SensorsCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_3.2.3_ModelicaTest.FluxTubes.SensorsCalcHelperMain.o] Error 1