Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sources.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.Sources,tolerance=1e-05,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|constantSource.V_m|constantSource.Phi|signalSource.V_m|signalSource.Phi|constantSource1.Phi|constantSource1.V_m|signalSource1.Phi|signalSource1.V_m",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sources") translateModel(ModelicaTest.FluxTubes.Sources,tolerance=1e-05,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|constantSource.V_m|constantSource.Phi|signalSource.V_m|signalSource.Phi|constantSource1.Phi|constantSource1.V_m|signalSource1.Phi|signalSource1.V_m",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sources") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001094/0.001094, allocations: 93.38 kB / 16.67 MB, free: 6.59 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.001272/0.001272, allocations: 175 kB / 17.57 MB, free: 6.191 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.01/2.01, allocations: 205.4 MB / 223.8 MB, free: 13.09 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.2522/0.2522, 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.0005422/0.0005422, allocations: 18.39 kB / 385.2 MB, free: 56.86 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1375/0.138, allocations: 58.86 MB / 444.1 MB, free: 5.285 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.FluxTubes.Sources): time 0.003032/0.1411, allocations: 2.3 MB / 446.4 MB, free: 2.965 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001855/0.143, allocations: 0.772 MB / 447.2 MB, free: 2.184 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003678/0.1434, allocations: 4 kB / 447.2 MB, free: 2.18 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003017/0.1437, allocations: 51.62 kB / 447.2 MB, free: 2.129 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004859/0.1443, allocations: 87.42 kB / 447.3 MB, free: 2.043 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004216/0.1447, allocations: 99.84 kB / 447.4 MB, free: 1.945 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006088/0.1453, allocations: 389.9 kB / 447.8 MB, free: 1.566 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003047/0.1456, allocations: 120.2 kB / 447.9 MB, free: 1.445 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003356/0.146, allocations: 135.4 kB / 448 MB, free: 1.312 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002439/0.1462, allocations: 155.2 kB / 448.2 MB, free: 1.16 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.337e-05/0.1463, allocations: 20 kB / 448.2 MB, free: 1.141 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.229e-05/0.1464, allocations: 16 kB / 448.2 MB, free: 1.125 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.23e-05/0.1464, allocations: 59.77 kB / 448.3 MB, free: 1.066 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001913/0.1466, allocations: 188.7 kB / 448.5 MB, free: 0.875 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002532/0.1469, allocations: 307 kB / 448.8 MB, free: 0.5742 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.1469, allocations: 0 / 448.8 MB, free: 0.5742 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.873e-06/0.1469, allocations: 0 / 448.8 MB, free: 0.5742 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.518e-05/0.147, allocations: 0 / 448.8 MB, free: 0.5742 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: 84 * Number of variables: 84 Notification: Performance of Generate backend data structure: time 0.0009691/0.1479, allocations: 0.6085 MB / 449.4 MB, free: 15.92 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.686e-05/0.148, allocations: 8.031 kB / 449.4 MB, free: 15.91 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001136/0.1481, allocations: 48.31 kB / 449.4 MB, free: 15.86 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003663/0.1485, allocations: 272.6 kB / 449.7 MB, free: 15.55 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.027e-05/0.1485, allocations: 29.38 kB / 449.7 MB, free: 15.53 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.398e-05/0.1486, allocations: 36.38 kB / 449.8 MB, free: 15.49 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007893/0.1494, allocations: 374.2 kB / 450.1 MB, free: 15.1 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.616e-05/0.1494, allocations: 0 / 450.1 MB, free: 15.1 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.6e-05/0.1494, allocations: 16 kB / 450.1 MB, free: 15.09 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.21e-05/0.1495, allocations: 8 kB / 450.1 MB, free: 15.08 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007279/0.1502, allocations: 291.7 kB / 450.4 MB, free: 14.79 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002388/0.1526, allocations: 1.354 MB / 451.8 MB, free: 13.34 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005378/0.1531, allocations: 210.6 kB / 452 MB, free: 13.1 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002494/0.1534, allocations: 95.56 kB / 452.1 MB, free: 13 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.401e-05/0.1535, allocations: 3.984 kB / 452.1 MB, free: 12.99 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.659e-05/0.1535, allocations: 42.5 kB / 452.1 MB, free: 12.94 MB / 334.1 MB Notification: Performance of pre-optimization done (n=15): time 1.983e-06/0.1535, allocations: 0 / 452.1 MB, free: 12.94 MB / 334.1 MB Notification: Performance of matching and sorting (n=15): time 0.000902/0.1544, allocations: 285.1 kB / 452.4 MB, free: 12.66 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.534e-05/0.1545, allocations: 128.5 kB / 452.5 MB, free: 12.5 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004496/0.155, allocations: 336.4 kB / 452.9 MB, free: 12.16 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.633e-05/0.155, allocations: 33.7 kB / 452.9 MB, free: 12.12 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001911/0.1552, allocations: 235.6 kB / 453.1 MB, free: 11.88 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.173e-05/0.1552, allocations: 55.25 kB / 453.2 MB, free: 11.83 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.135e-05/0.1553, allocations: 25.72 kB / 453.2 MB, free: 11.8 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001751/0.1555, allocations: 342.7 kB / 453.5 MB, free: 11.45 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002616/0.1558, allocations: 92.5 kB / 453.6 MB, free: 11.36 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003144/0.1561, allocations: 180.1 kB / 453.8 MB, free: 11.15 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000577/0.1567, allocations: 267 kB / 454.1 MB, free: 10.85 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.968e-06/0.1567, allocations: 0 / 454.1 MB, free: 10.85 MB / 334.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0007474/0.1574, allocations: 337 kB / 454.4 MB, free: 10.51 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.427e-05/0.1575, allocations: 8 kB / 454.4 MB, free: 10.5 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.033e-05/0.1575, allocations: 0 / 454.4 MB, free: 10.5 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.985e-05/0.1575, allocations: 8 kB / 454.4 MB, free: 10.5 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004272/0.158, allocations: 103.9 kB / 454.5 MB, free: 10.39 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.395e-05/0.158, allocations: 4 kB / 454.5 MB, free: 10.39 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000309/0.1583, allocations: 55.52 kB / 454.6 MB, free: 10.34 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.135e-05/0.1583, allocations: 15.98 kB / 454.6 MB, free: 10.32 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (34): * Single equations (assignments): 34 * 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.0001981/0.1585, allocations: 157.6 kB / 454.7 MB, free: 10.16 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001295/0.1587, allocations: 23.72 kB / 454.8 MB, free: 10.13 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.954e-05/0.1588, allocations: 34.41 kB / 454.8 MB, free: 10.1 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.394e-06/0.1588, allocations: 4 kB / 454.8 MB, free: 10.1 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.316e-06/0.1588, allocations: 0 / 454.8 MB, free: 10.1 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.993e-06/0.1588, allocations: 4 kB / 454.8 MB, free: 10.09 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009059/0.1597, allocations: 0.592 MB / 455.4 MB, free: 9.43 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.547e-06/0.1598, allocations: 7.969 kB / 455.4 MB, free: 9.422 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002885/0.16, allocations: 67.94 kB / 455.5 MB, free: 9.355 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.015e-06/0.1601, allocations: 8 kB / 455.5 MB, free: 9.348 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.631e-05/0.1601, allocations: 7.938 kB / 455.5 MB, free: 9.34 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.51e-06/0.1601, allocations: 8 kB / 455.5 MB, free: 9.332 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.1601, allocations: 3.938 kB / 455.5 MB, free: 9.328 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006338/0.1607, allocations: 410.8 kB / 455.9 MB, free: 8.895 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.944e-05/0.1609, allocations: 112.7 kB / 456 MB, free: 8.766 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.94e-05/0.1609, allocations: 7.938 kB / 456 MB, free: 8.758 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000234/0.1612, allocations: 23.92 kB / 456 MB, free: 8.734 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.615e-05/0.1612, allocations: 15.92 kB / 456.1 MB, free: 8.719 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.473e-05/0.1612, allocations: 11.98 kB / 456.1 MB, free: 8.707 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002495/0.1615, allocations: 227.1 kB / 456.3 MB, free: 8.488 MB / 334.1 MB Notification: Performance of sort global known variables: time 4.71e-07/0.1615, allocations: 0 / 456.3 MB, free: 8.488 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004269/0.1619, allocations: 75.75 kB / 456.4 MB, free: 8.414 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (15): * Single equations (assignments): 15 * 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 0.000125/0.1621, allocations: 103.2 kB / 456.5 MB, free: 8.301 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0006002/0.1627, allocations: 208.4 kB / 456.7 MB, free: 8.098 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/0.1627, allocations: 0.5 kB / 456.7 MB, free: 8.098 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002658/0.163, allocations: 95.83 kB / 456.8 MB, free: 8.004 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005497/0.1635, allocations: 31.05 kB / 456.8 MB, free: 7.977 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001294/0.1648, allocations: 0.7269 MB / 457.5 MB, free: 7.199 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004672/0.1653, allocations: 0.7791 MB / 458.3 MB, free: 6.395 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.981e-05/0.1654, allocations: 19.44 kB / 458.3 MB, free: 6.375 MB / 334.1 MB Notification: Performance of SimCode: time 4.71e-07/0.1654, allocations: 4 kB / 458.3 MB, free: 6.371 MB / 334.1 MB Notification: Performance of Templates: time 0.006068/0.1715, allocations: 3.059 MB / 461.4 MB, free: 3.309 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sources.makefile make -j1 -f ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sources.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.SourcesCalcHelperMain.o OMCppModelicaTest_3.2.3_ModelicaTest.FluxTubes.SourcesCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_3.2.3_ModelicaTest.FluxTubes.SourcesCalcHelperMain.o] Error 1