Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.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.QuadraticCoreAirgap,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|magFluxSensor.Phi|voltageSensor.v",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap") translateModel(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|magFluxSensor.Phi|voltageSensor.v",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001153/0.001152, allocations: 99.56 kB / 16.96 MB, free: 5.945 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.001264/0.001264, allocations: 184.7 kB / 17.84 MB, free: 5.613 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.551/1.551, allocations: 223.2 MB / 241.9 MB, free: 312 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003817/0.0003821, allocations: 7.938 kB / 301.4 MB, free: 6.445 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1274/0.1278, allocations: 50.42 MB / 351.9 MB, free: 4.016 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap): time 0.004062/0.1319, allocations: 2.979 MB / 354.8 MB, free: 1.016 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002058/0.134, allocations: 0.8728 MB / 355.7 MB, free: 144 kB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004626/0.1345, allocations: 8 kB / 355.7 MB, free: 136 kB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000249/0.1347, allocations: 63.47 kB / 355.8 MB, free: 72 kB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004684/0.1352, allocations: 131.1 kB / 355.9 MB, free: 15.94 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004118/0.1356, allocations: 127.8 kB / 356 MB, free: 15.82 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005435/0.1362, allocations: 0.5724 MB / 356.6 MB, free: 15.24 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002782/0.1365, allocations: 150.2 kB / 356.8 MB, free: 15.08 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002749/0.1367, allocations: 203.1 kB / 357 MB, free: 14.88 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002509/0.137, allocations: 234.9 kB / 357.2 MB, free: 14.65 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 6.031e-05/0.1371, allocations: 28 kB / 357.2 MB, free: 14.62 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.225e-05/0.1371, allocations: 28 kB / 357.2 MB, free: 14.59 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 8.129e-05/0.1372, allocations: 95.59 kB / 357.3 MB, free: 14.5 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 9.936e-05/0.1373, allocations: 121.4 kB / 357.5 MB, free: 14.38 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004187/0.1378, allocations: 470.8 kB / 357.9 MB, free: 13.91 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/0.1378, allocations: 0 / 357.9 MB, free: 13.91 MB / 302.1 MB Notification: Performance of FrontEnd: time 4.669e-06/0.1378, allocations: 4 kB / 357.9 MB, free: 13.91 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.694e-06/0.1378, allocations: 0 / 357.9 MB, free: 13.91 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: 128 * Number of variables: 128 Notification: Performance of Generate backend data structure: time 0.001314/0.1391, allocations: 0.7796 MB / 358.7 MB, free: 13.08 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.122e-05/0.1392, allocations: 8.031 kB / 358.7 MB, free: 13.07 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.929e-05/0.1393, allocations: 63.2 kB / 358.8 MB, free: 13.01 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004063/0.1397, allocations: 338 kB / 359.1 MB, free: 12.64 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.598e-05/0.1397, allocations: 37.31 kB / 359.1 MB, free: 12.61 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.708e-05/0.1398, allocations: 48 kB / 359.2 MB, free: 12.56 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007996/0.1406, allocations: 446.5 kB / 359.6 MB, free: 12.12 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.341e-05/0.1407, allocations: 0 / 359.6 MB, free: 12.12 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.542e-05/0.1407, allocations: 20 kB / 359.6 MB, free: 12.1 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.716e-05/0.1407, allocations: 12 kB / 359.6 MB, free: 12.09 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000805/0.1415, allocations: 420.9 kB / 360.1 MB, free: 11.68 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002389/0.1439, allocations: 1.589 MB / 361.6 MB, free: 9.977 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007027/0.1447, allocations: 398.4 kB / 362 MB, free: 9.562 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004096/0.1451, allocations: 200.8 kB / 362.2 MB, free: 9.367 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.022e-05/0.1451, allocations: 4.328 kB / 362.2 MB, free: 9.363 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.656e-05/0.1452, allocations: 34.89 kB / 362.3 MB, free: 9.32 MB / 302.1 MB Notification: Performance of pre-optimization done (n=39): time 1.373e-06/0.1452, allocations: 4 kB / 362.3 MB, free: 9.316 MB / 302.1 MB Notification: Performance of matching and sorting (n=55): time 0.003093/0.1483, allocations: 1.276 MB / 363.6 MB, free: 8.027 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.674e-05/0.1483, allocations: 55.97 kB / 363.6 MB, free: 7.961 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004339/0.1488, allocations: 393.5 kB / 364 MB, free: 7.566 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.298e-05/0.1488, allocations: 37.7 kB / 364 MB, free: 7.523 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002045/0.149, allocations: 295.8 kB / 364.3 MB, free: 7.23 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001428/0.1492, allocations: 189.3 kB / 364.5 MB, free: 7.043 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.576e-05/0.1492, allocations: 19.94 kB / 364.5 MB, free: 7.023 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001382/0.1494, allocations: 354.8 kB / 364.9 MB, free: 6.668 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004075/0.1498, allocations: 181.2 kB / 365 MB, free: 6.492 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004664/0.1503, allocations: 311.1 kB / 365.3 MB, free: 6.148 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004841/0.1507, allocations: 230 kB / 365.6 MB, free: 5.922 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.616e-06/0.1508, allocations: 4 kB / 365.6 MB, free: 5.918 MB / 302.1 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001497/0.1523, allocations: 0.7537 MB / 366.3 MB, free: 5.152 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.177e-05/0.1523, allocations: 8 kB / 366.3 MB, free: 5.145 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.1e-05/0.1523, allocations: 4 kB / 366.3 MB, free: 5.141 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005359/0.1529, allocations: 192.9 kB / 366.5 MB, free: 4.949 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004637/0.1533, allocations: 111.9 kB / 366.6 MB, free: 4.84 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003841/0.1572, allocations: 3.864 MB / 370.5 MB, free: 0.7148 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003716/0.1576, allocations: 43.81 kB / 370.5 MB, free: 0.6719 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.761e-05/0.1576, allocations: 24 kB / 370.6 MB, free: 0.6484 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 (58): * Single equations (assignments): 56 * 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%) 12,(1,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002594/0.1579, allocations: 185.7 kB / 370.8 MB, free: 468 kB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.436e-05/0.158, allocations: 43.44 kB / 370.8 MB, free: 424 kB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001213/0.1581, allocations: 65.02 kB / 370.9 MB, free: 360 kB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.581e-06/0.1581, allocations: 4 kB / 370.9 MB, free: 356 kB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.862e-05/0.1581, allocations: 4 kB / 370.9 MB, free: 352 kB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.254e-06/0.1581, allocations: 3.984 kB / 370.9 MB, free: 348 kB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2721/0.4303, allocations: 1.314 MB / 372.2 MB, free: 23.89 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.843e-06/0.4303, allocations: 2.406 kB / 372.2 MB, free: 23.89 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003489/0.4307, allocations: 71.7 kB / 372.3 MB, free: 23.89 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005275/0.4312, allocations: 164.8 kB / 372.4 MB, free: 23.87 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.403e-05/0.4312, allocations: 10.58 kB / 372.4 MB, free: 23.87 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003476/0.4347, allocations: 3.706 MB / 376.1 MB, free: 21.21 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.338e-06/0.4348, allocations: 1.703 kB / 376.1 MB, free: 21.21 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001617/0.4364, allocations: 0.7199 MB / 376.9 MB, free: 21 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001705/0.4366, allocations: 126.5 kB / 377 MB, free: 20.9 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.464e-05/0.4366, allocations: 12.42 kB / 377 MB, free: 20.89 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002982/0.4369, allocations: 28.38 kB / 377 MB, free: 20.88 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001721/0.4371, allocations: 42.08 kB / 377.1 MB, free: 20.88 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.6e-05/0.4372, allocations: 18.95 kB / 377.1 MB, free: 20.88 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0003802/0.4375, allocations: 273.5 kB / 377.3 MB, free: 20.73 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4376, allocations: 1.812 kB / 377.3 MB, free: 20.73 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0008025/0.4384, allocations: 152.8 kB / 377.5 MB, free: 20.71 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (35): * Single equations (assignments): 33 * 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%) 10,(1,100.0%) 10} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001411/0.4385, allocations: 112.9 kB / 377.6 MB, free: 20.61 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001608/0.4401, allocations: 0.8056 MB / 378.4 MB, free: 20.2 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.937e-06/0.4401, allocations: 0 / 378.4 MB, free: 20.2 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008333/0.441, allocations: 0.534 MB / 378.9 MB, free: 19.86 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004847/0.4415, allocations: 45.44 kB / 379 MB, free: 19.84 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002225/0.4437, allocations: 1.166 MB / 380.2 MB, free: 19.11 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000571/0.4443, allocations: 0.8633 MB / 381 MB, free: 18.41 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000169/0.4445, allocations: 33.7 kB / 381.1 MB, free: 18.4 MB / 302.1 MB Notification: Performance of SimCode: time 1.683e-06/0.4445, allocations: 0 / 381.1 MB, free: 18.4 MB / 302.1 MB Notification: Performance of Templates: time 0.0256/0.4701, allocations: 9.571 MB / 390.6 MB, free: 15.02 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.makefile make -j1 -f Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.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.QuadraticCoreAirgapCalcHelperMain.o OMCppModelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgapCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgapCalcHelperMain.o] Error 1