Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|magFluxSensor.Phi|voltageSensor.v",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection") translateModel(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|magFluxSensor.Phi|voltageSensor.v",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001052/0.001052, allocations: 93 kB / 16.95 MB, free: 5.949 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.001246/0.001246, allocations: 178.3 kB / 17.84 MB, free: 5.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.616/1.616, allocations: 223.2 MB / 241.8 MB, free: 280 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004044/0.0004046, allocations: 4 kB / 301.5 MB, free: 6.461 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1582/0.1586, allocations: 50.42 MB / 351.9 MB, free: 4.031 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection): time 0.003899/0.1626, allocations: 2.387 MB / 354.3 MB, free: 1.629 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001695/0.1643, allocations: 0.7014 MB / 355 MB, free: 0.9219 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003344/0.1646, allocations: 7.938 kB / 355 MB, free: 0.9141 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002487/0.1649, allocations: 47.69 kB / 355 MB, free: 0.8672 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004783/0.1654, allocations: 79.38 kB / 355.1 MB, free: 0.7891 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003701/0.1658, allocations: 83.89 kB / 355.2 MB, free: 0.707 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005461/0.1663, allocations: 362.4 kB / 355.5 MB, free: 360 kB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002526/0.1666, allocations: 97.97 kB / 355.6 MB, free: 256 kB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003561/0.167, allocations: 135.5 kB / 355.8 MB, free: 120 kB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002661/0.1672, allocations: 147.3 kB / 355.9 MB, free: 15.97 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.85e-05/0.1673, allocations: 16 kB / 355.9 MB, free: 15.96 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.856e-05/0.1674, allocations: 20 kB / 355.9 MB, free: 15.94 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 7.413e-05/0.1674, allocations: 63.69 kB / 356 MB, free: 15.88 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 9.381e-05/0.1675, allocations: 81.58 kB / 356.1 MB, free: 15.79 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003121/0.1679, allocations: 295.4 kB / 356.4 MB, free: 15.5 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.612e-06/0.1679, allocations: 3.938 kB / 356.4 MB, free: 15.5 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.934e-06/0.1679, allocations: 0 / 356.4 MB, free: 15.5 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.933e-06/0.1679, allocations: 0 / 356.4 MB, free: 15.5 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.001183/0.1691, allocations: 0.6042 MB / 357 MB, free: 14.84 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.587e-05/0.1691, allocations: 12.03 kB / 357 MB, free: 14.83 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.38e-05/0.1692, allocations: 43.48 kB / 357 MB, free: 14.79 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003916/0.1696, allocations: 267.4 kB / 357.3 MB, free: 14.48 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.273e-05/0.1697, allocations: 24.66 kB / 357.3 MB, free: 14.46 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.979e-05/0.1697, allocations: 28 kB / 357.3 MB, free: 14.43 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006058/0.1703, allocations: 298 kB / 357.6 MB, free: 14.14 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.132e-05/0.1704, allocations: 0 / 357.6 MB, free: 14.14 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.224e-05/0.1704, allocations: 12 kB / 357.6 MB, free: 14.13 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.432e-05/0.1704, allocations: 11.95 kB / 357.7 MB, free: 14.12 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006274/0.1711, allocations: 270.5 kB / 357.9 MB, free: 13.85 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001814/0.1729, allocations: 1.132 MB / 359.1 MB, free: 12.62 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003777/0.1733, allocations: 158.5 kB / 359.2 MB, free: 12.46 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001772/0.1735, allocations: 68.81 kB / 359.3 MB, free: 12.39 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.121e-05/0.1735, allocations: 4 kB / 359.3 MB, free: 12.38 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.236e-05/0.1735, allocations: 38.47 kB / 359.3 MB, free: 12.34 MB / 302.1 MB Notification: Performance of pre-optimization done (n=17): time 1.362e-06/0.1735, allocations: 0 / 359.3 MB, free: 12.34 MB / 302.1 MB Notification: Performance of matching and sorting (n=22): time 0.002035/0.1756, allocations: 0.67 MB / 360 MB, free: 11.66 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.206e-05/0.1756, allocations: 51.59 kB / 360 MB, free: 11.59 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003496/0.176, allocations: 282.5 kB / 360.3 MB, free: 11.31 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.525e-05/0.176, allocations: 29.7 kB / 360.3 MB, free: 11.28 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001886/0.1762, allocations: 227.5 kB / 360.6 MB, free: 11.05 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.938e-05/0.1763, allocations: 78.84 kB / 360.6 MB, free: 10.97 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.585e-05/0.1763, allocations: 11.94 kB / 360.7 MB, free: 10.96 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001596/0.1765, allocations: 334.8 kB / 361 MB, free: 10.62 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002948/0.1768, allocations: 107.9 kB / 361.1 MB, free: 10.52 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000355/0.1772, allocations: 207.9 kB / 361.3 MB, free: 10.27 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003125/0.1775, allocations: 138 kB / 361.4 MB, free: 10.14 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.1775, allocations: 3.938 kB / 361.4 MB, free: 10.13 MB / 302.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0008139/0.1783, allocations: 409.6 kB / 361.8 MB, free: 9.723 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.237e-05/0.1784, allocations: 8 kB / 361.8 MB, free: 9.715 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.074e-05/0.1784, allocations: 4 kB / 361.8 MB, free: 9.711 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002871/0.1787, allocations: 61.67 kB / 361.9 MB, free: 9.645 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003267/0.179, allocations: 83.84 kB / 362 MB, free: 9.562 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002262/0.1813, allocations: 2.643 MB / 364.6 MB, free: 6.652 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002778/0.1816, allocations: 31.98 kB / 364.7 MB, free: 6.621 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.363e-05/0.1816, allocations: 8 kB / 364.7 MB, free: 6.613 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (37): * Single equations (assignments): 35 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001887/0.1818, allocations: 145.8 kB / 364.8 MB, free: 6.461 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.771e-05/0.1819, allocations: 31.7 kB / 364.8 MB, free: 6.43 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.471e-05/0.182, allocations: 38.14 kB / 364.9 MB, free: 6.391 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.689e-06/0.182, allocations: 0 / 364.9 MB, free: 6.391 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.1e-05/0.182, allocations: 11.92 kB / 364.9 MB, free: 6.379 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.182, allocations: 0 / 364.9 MB, free: 6.379 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004371/0.1824, allocations: 337.6 kB / 365.2 MB, free: 6 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.498e-06/0.1824, allocations: 0 / 365.2 MB, free: 6 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001992/0.1827, allocations: 39.97 kB / 365.3 MB, free: 5.961 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001755/0.1828, allocations: 57.67 kB / 365.3 MB, free: 5.898 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.914e-05/0.1829, allocations: 8 kB / 365.3 MB, free: 5.891 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00212/0.185, allocations: 2.639 MB / 368 MB, free: 2.988 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.764e-06/0.185, allocations: 0 / 368 MB, free: 2.988 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007178/0.1857, allocations: 391.4 kB / 368.3 MB, free: 2.586 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.485e-05/0.1858, allocations: 100.8 kB / 368.4 MB, free: 2.469 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.142e-05/0.1859, allocations: 8 kB / 368.4 MB, free: 2.461 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001893/0.1861, allocations: 19.98 kB / 368.5 MB, free: 2.441 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.99e-05/0.1861, allocations: 15.97 kB / 368.5 MB, free: 2.426 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.259e-05/0.1862, allocations: 8 kB / 368.5 MB, free: 2.418 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002045/0.1864, allocations: 194 kB / 368.7 MB, free: 2.23 MB / 302.1 MB Notification: Performance of sort global known variables: time 3.9e-07/0.1864, allocations: 0 / 368.7 MB, free: 2.23 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004247/0.1868, allocations: 76 kB / 368.8 MB, free: 2.156 MB / 302.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 (18): * Single equations (assignments): 16 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001446/0.187, allocations: 107.7 kB / 368.9 MB, free: 2.043 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0009487/0.1879, allocations: 0.5016 MB / 369.4 MB, free: 1.516 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.566e-06/0.1879, allocations: 0 / 369.4 MB, free: 1.516 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005099/0.1884, allocations: 349.3 kB / 369.7 MB, free: 1.148 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004079/0.1889, allocations: 39.64 kB / 369.7 MB, free: 1.113 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001236/0.1901, allocations: 0.7158 MB / 370.5 MB, free: 376 kB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.213/0.4032, allocations: 0.767 MB / 371.2 MB, free: 23.85 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000164/0.4034, allocations: 26.77 kB / 371.3 MB, free: 23.84 MB / 302.1 MB Notification: Performance of SimCode: time 1.933e-06/0.4034, allocations: 0 / 371.3 MB, free: 23.84 MB / 302.1 MB Notification: Performance of Templates: time 0.01124/0.4146, allocations: 5.966 MB / 377.2 MB, free: 23.26 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.makefile make -j1 -f Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.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 OMCppModelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSectionCalcHelperMain.o OMCppModelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSectionCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSectionCalcHelperMain.o] Error 1