Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.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.ToroidalCoreAirgap,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|magFluxSensor.Phi|voltageSensor.v",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap") translateModel(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|magFluxSensor.Phi|voltageSensor.v",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001089/0.00109, allocations: 96.45 kB / 16.96 MB, free: 6.441 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.001096/0.001096, allocations: 183.5 kB / 17.85 MB, free: 6.004 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.563/1.563, allocations: 223.2 MB / 241.9 MB, free: 344 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003558/0.0003559, allocations: 4.531 kB / 301.5 MB, free: 6.457 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1345/0.1349, allocations: 50.42 MB / 351.9 MB, free: 4.027 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap): time 0.003297/0.1382, allocations: 2.36 MB / 354.2 MB, free: 1.652 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001532/0.1398, allocations: 0.6975 MB / 354.9 MB, free: 0.9492 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002981/0.1401, allocations: 11.94 kB / 354.9 MB, free: 0.9375 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002133/0.1404, allocations: 39.69 kB / 355 MB, free: 0.8984 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004434/0.1408, allocations: 75.44 kB / 355.1 MB, free: 0.8242 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000371/0.1412, allocations: 87.91 kB / 355.1 MB, free: 0.7383 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006196/0.1418, allocations: 350.4 kB / 355.5 MB, free: 404 kB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002741/0.1421, allocations: 102.1 kB / 355.6 MB, free: 296 kB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003249/0.1425, allocations: 127.5 kB / 355.7 MB, free: 168 kB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002717/0.1427, allocations: 143.3 kB / 355.9 MB, free: 24 kB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 5.716e-05/0.1428, allocations: 23.94 kB / 355.9 MB, free: 0 / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.519e-05/0.1429, allocations: 16.05 kB / 355.9 MB, free: 15.98 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.156e-05/0.143, allocations: 63.7 kB / 356 MB, free: 15.92 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 9.514e-05/0.1431, allocations: 81.52 kB / 356 MB, free: 15.84 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002896/0.1434, allocations: 287.4 kB / 356.3 MB, free: 15.55 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.315e-06/0.1434, allocations: 4 kB / 356.3 MB, free: 15.55 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.765e-06/0.1434, allocations: 4 kB / 356.3 MB, free: 15.55 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.69e-05/0.1434, allocations: 0 / 356.3 MB, free: 15.55 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.001163/0.1446, allocations: 0.5963 MB / 356.9 MB, free: 14.9 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.016e-05/0.1446, allocations: 8.031 kB / 356.9 MB, free: 14.89 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000112/0.1448, allocations: 43.48 kB / 357 MB, free: 14.85 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003555/0.1451, allocations: 254.5 kB / 357.2 MB, free: 14.56 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.974e-05/0.1452, allocations: 24.66 kB / 357.2 MB, free: 14.54 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.457e-05/0.1452, allocations: 28 kB / 357.3 MB, free: 14.51 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006437/0.1459, allocations: 298 kB / 357.6 MB, free: 14.22 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.137e-06/0.1459, allocations: 0 / 357.6 MB, free: 14.22 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.754e-05/0.1459, allocations: 16 kB / 357.6 MB, free: 14.2 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.111e-05/0.1459, allocations: 8 kB / 357.6 MB, free: 14.2 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006223/0.1466, allocations: 274.4 kB / 357.9 MB, free: 13.93 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001946/0.1485, allocations: 1.128 MB / 359 MB, free: 12.7 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003778/0.1489, allocations: 154.6 kB / 359.1 MB, free: 12.54 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001817/0.1491, allocations: 72.83 kB / 359.2 MB, free: 12.46 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.129e-05/0.1492, allocations: 0 / 359.2 MB, free: 12.46 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.794e-05/0.1492, allocations: 34.56 kB / 359.2 MB, free: 12.42 MB / 302.1 MB Notification: Performance of pre-optimization done (n=17): time 1.663e-06/0.1492, allocations: 4 kB / 359.2 MB, free: 12.42 MB / 302.1 MB Notification: Performance of matching and sorting (n=22): time 0.002027/0.1512, allocations: 0.6664 MB / 359.9 MB, free: 11.74 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.712e-05/0.1513, allocations: 55.58 kB / 360 MB, free: 11.68 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002977/0.1516, allocations: 266.5 kB / 360.2 MB, free: 11.41 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.297e-05/0.1516, allocations: 29.7 kB / 360.2 MB, free: 11.38 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001475/0.1518, allocations: 223.5 kB / 360.5 MB, free: 11.15 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.156e-05/0.1518, allocations: 74.91 kB / 360.5 MB, free: 11.08 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.633e-05/0.1519, allocations: 8 kB / 360.5 MB, free: 11.07 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001302/0.152, allocations: 338.8 kB / 360.9 MB, free: 10.73 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002787/0.1523, allocations: 99.94 kB / 361 MB, free: 10.63 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003524/0.1526, allocations: 204.2 kB / 361.2 MB, free: 10.39 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003116/0.153, allocations: 138 kB / 361.3 MB, free: 10.25 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.631e-06/0.153, allocations: 3.953 kB / 361.3 MB, free: 10.25 MB / 302.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0008417/0.1538, allocations: 409.6 kB / 361.7 MB, free: 9.84 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.361e-05/0.1539, allocations: 8 kB / 361.7 MB, free: 9.832 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.107e-06/0.1539, allocations: 4 kB / 361.7 MB, free: 9.828 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002362/0.1541, allocations: 57.69 kB / 361.8 MB, free: 9.766 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003175/0.1544, allocations: 79.81 kB / 361.9 MB, free: 9.688 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002477/0.1569, allocations: 2.647 MB / 364.5 MB, free: 6.77 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003238/0.1573, allocations: 27.97 kB / 364.5 MB, free: 6.742 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.988e-05/0.1573, allocations: 16 kB / 364.6 MB, free: 6.727 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.0002104/0.1575, allocations: 150.6 kB / 364.7 MB, free: 6.57 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.316e-05/0.1576, allocations: 27.78 kB / 364.7 MB, free: 6.543 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.656e-05/0.1577, allocations: 34.16 kB / 364.8 MB, free: 6.512 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.512e-06/0.1577, allocations: 7.953 kB / 364.8 MB, free: 6.504 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.154e-06/0.1577, allocations: 0 / 364.8 MB, free: 6.504 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.009e-06/0.1577, allocations: 0 / 364.8 MB, free: 6.504 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000514/0.1583, allocations: 325.7 kB / 365.1 MB, free: 6.137 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.071e-06/0.1583, allocations: 4 kB / 365.1 MB, free: 6.133 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002133/0.1585, allocations: 43.95 kB / 365.1 MB, free: 6.09 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001812/0.1587, allocations: 57.62 kB / 365.2 MB, free: 6.027 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.717e-05/0.1587, allocations: 4 kB / 365.2 MB, free: 6.023 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002505/0.1612, allocations: 2.636 MB / 367.8 MB, free: 3.125 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.1613, allocations: 0 / 367.8 MB, free: 3.125 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008247/0.1621, allocations: 396.7 kB / 368.2 MB, free: 2.719 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.941e-05/0.1622, allocations: 92.83 kB / 368.3 MB, free: 2.609 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.415e-05/0.1622, allocations: 8 kB / 368.3 MB, free: 2.602 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000199/0.1624, allocations: 27.97 kB / 368.3 MB, free: 2.574 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.931e-05/0.1625, allocations: 15.98 kB / 368.4 MB, free: 2.559 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.537e-05/0.1626, allocations: 7.984 kB / 368.4 MB, free: 2.551 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002121/0.1628, allocations: 185.9 kB / 368.5 MB, free: 2.371 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1628, allocations: 0 / 368.5 MB, free: 2.371 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004436/0.1632, allocations: 72 kB / 368.6 MB, free: 2.301 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.0001418/0.1634, allocations: 107.7 kB / 368.7 MB, free: 2.188 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0009487/0.1643, allocations: 0.49 MB / 369.2 MB, free: 1.672 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.958e-06/0.1644, allocations: 4.062 kB / 369.2 MB, free: 1.668 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004908/0.1648, allocations: 361.1 kB / 369.6 MB, free: 1.289 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003965/0.1653, allocations: 35.2 kB / 369.6 MB, free: 1.254 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001316/0.1666, allocations: 0.6939 MB / 370.3 MB, free: 0.5234 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2227/0.3893, allocations: 0.7708 MB / 371.1 MB, free: 24.04 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002068/0.3896, allocations: 24.45 kB / 371.1 MB, free: 24.04 MB / 302.1 MB Notification: Performance of SimCode: time 1.713e-06/0.3896, allocations: 0.9688 kB / 371.1 MB, free: 24.04 MB / 302.1 MB Notification: Performance of Templates: time 0.0175/0.4071, allocations: 5.827 MB / 376.9 MB, free: 23.5 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.makefile make -j1 -f Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.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.ToroidalCoreAirgapCalcHelperMain.o OMCppModelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgapCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgapCalcHelperMain.o] Error 1