Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001086/0.001086, allocations: 93.11 kB / 17.63 MB, free: 5.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001602/0.001602, allocations: 198.8 kB / 18.54 MB, free: 5.152 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.566/1.566, allocations: 227.3 MB / 246.6 MB, free: 12.02 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002416/0.0002416, allocations: 4 kB / 307.3 MB, free: 1.629 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1363/0.1366, allocations: 51.49 MB / 358.8 MB, free: 14.14 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap): time 0.003339/0.14, allocations: 2.382 MB / 361.2 MB, free: 11.74 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001322/0.1413, allocations: 0.7442 MB / 361.9 MB, free: 10.99 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000142/0.1415, allocations: 4 kB / 361.9 MB, free: 10.99 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001795/0.1417, allocations: 47.64 kB / 362 MB, free: 10.94 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002645/0.142, allocations: 83.42 kB / 362 MB, free: 10.86 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002446/0.1422, allocations: 75.92 kB / 362.1 MB, free: 10.79 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003703/0.1426, allocations: 358.5 kB / 362.5 MB, free: 10.43 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002058/0.1428, allocations: 101.8 kB / 362.6 MB, free: 10.33 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002525/0.1431, allocations: 131.5 kB / 362.7 MB, free: 10.2 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001894/0.1433, allocations: 147.3 kB / 362.8 MB, free: 10.06 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.811e-05/0.1433, allocations: 20 kB / 362.9 MB, free: 10.04 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.626e-05/0.1434, allocations: 19.94 kB / 362.9 MB, free: 10.02 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.206e-05/0.1434, allocations: 59.77 kB / 362.9 MB, free: 9.961 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 7.492e-05/0.1435, allocations: 85.52 kB / 363 MB, free: 9.871 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002886/0.1438, allocations: 295.4 kB / 363.3 MB, free: 9.582 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.1438, allocations: 0 / 363.3 MB, free: 9.582 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.903e-06/0.1438, allocations: 0 / 363.3 MB, free: 9.582 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.822e-06/0.1438, allocations: 0 / 363.3 MB, free: 9.582 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.001132/0.145, allocations: 0.5964 MB / 363.9 MB, free: 8.938 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.684e-05/0.1451, allocations: 12.03 kB / 363.9 MB, free: 8.926 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.289e-05/0.1451, allocations: 35.53 kB / 364 MB, free: 8.891 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000346/0.1455, allocations: 271.4 kB / 364.2 MB, free: 8.582 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.963e-05/0.1455, allocations: 28.59 kB / 364.3 MB, free: 8.555 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.538e-05/0.1456, allocations: 35.95 kB / 364.3 MB, free: 8.52 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006011/0.1462, allocations: 298 kB / 364.6 MB, free: 8.227 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.199e-05/0.1462, allocations: 0 / 364.6 MB, free: 8.227 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.994e-05/0.1463, allocations: 12 kB / 364.6 MB, free: 8.215 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.275e-05/0.1463, allocations: 12 kB / 364.6 MB, free: 8.203 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000579/0.1469, allocations: 262.5 kB / 364.9 MB, free: 7.945 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001761/0.1486, allocations: 1.116 MB / 366 MB, free: 6.727 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003659/0.149, allocations: 154.6 kB / 366.1 MB, free: 6.566 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001762/0.1492, allocations: 76.75 kB / 366.2 MB, free: 6.488 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.111e-05/0.1492, allocations: 8 kB / 366.2 MB, free: 6.48 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.72e-05/0.1493, allocations: 30.56 kB / 366.2 MB, free: 6.441 MB / 302.1 MB Notification: Performance of pre-optimization done (n=17): time 1.503e-06/0.1493, allocations: 0 / 366.2 MB, free: 6.441 MB / 302.1 MB Notification: Performance of matching and sorting (n=22): time 0.002011/0.1513, allocations: 0.6808 MB / 366.9 MB, free: 5.754 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.653e-05/0.1514, allocations: 55.58 kB / 367 MB, free: 5.688 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003071/0.1517, allocations: 270.5 kB / 367.2 MB, free: 5.414 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.762e-05/0.1517, allocations: 29.7 kB / 367.3 MB, free: 5.379 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001817/0.1519, allocations: 223.5 kB / 367.5 MB, free: 5.156 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.925e-05/0.152, allocations: 82.89 kB / 367.6 MB, free: 5.074 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.992e-05/0.152, allocations: 4 kB / 367.6 MB, free: 5.07 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001865/0.1522, allocations: 338.8 kB / 367.9 MB, free: 4.73 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002682/0.1525, allocations: 99.94 kB / 368 MB, free: 4.633 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003382/0.1528, allocations: 208 kB / 368.2 MB, free: 4.383 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002979/0.1532, allocations: 125.1 kB / 368.3 MB, free: 4.262 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.1532, allocations: 0 / 368.3 MB, free: 4.262 MB / 302.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.000858/0.154, allocations: 419.5 kB / 368.7 MB, free: 3.844 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.32e-05/0.1541, allocations: 8 kB / 368.7 MB, free: 3.836 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.073e-06/0.1541, allocations: 0 / 368.7 MB, free: 3.836 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003238/0.1544, allocations: 65.61 kB / 368.8 MB, free: 3.766 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003165/0.1547, allocations: 83.83 kB / 368.9 MB, free: 3.684 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002353/0.1571, allocations: 2.632 MB / 371.5 MB, free: 0.7812 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002424/0.1574, allocations: 39.81 kB / 371.6 MB, free: 0.7422 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.168e-05/0.1574, allocations: 12 kB / 371.6 MB, free: 0.7305 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.0001728/0.1576, allocations: 162.4 kB / 371.7 MB, free: 0.5625 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.952e-05/0.1576, allocations: 23.72 kB / 371.7 MB, free: 0.5391 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.17e-05/0.1577, allocations: 30.17 kB / 371.8 MB, free: 0.5078 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.617e-06/0.1577, allocations: 4 kB / 371.8 MB, free: 0.5039 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.482e-06/0.1577, allocations: 0 / 371.8 MB, free: 0.5039 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.1e-06/0.1577, allocations: 3.984 kB / 371.8 MB, free: 0.5 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003789/0.1581, allocations: 329.6 kB / 372.1 MB, free: 132 kB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.1581, allocations: 0 / 372.1 MB, free: 132 kB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000201/0.1583, allocations: 51.91 kB / 372.2 MB, free: 80 kB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001329/0.1585, allocations: 49.67 kB / 372.2 MB, free: 24 kB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.983e-05/0.1585, allocations: 8 kB / 372.2 MB, free: 16 kB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3351/0.4937, allocations: 2.622 MB / 374.8 MB, free: 17.09 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/0.4937, allocations: 1 kB / 374.8 MB, free: 17.09 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009138/0.4946, allocations: 394.2 kB / 375.2 MB, free: 16.95 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.123e-05/0.4947, allocations: 107.2 kB / 375.3 MB, free: 16.85 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.927e-05/0.4948, allocations: 5.453 kB / 375.3 MB, free: 16.85 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002063/0.495, allocations: 21.39 kB / 375.4 MB, free: 16.85 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.144e-05/0.4951, allocations: 19.56 kB / 375.4 MB, free: 16.85 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.578e-05/0.4951, allocations: 7.531 kB / 375.4 MB, free: 16.85 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002953/0.4954, allocations: 183.8 kB / 375.6 MB, free: 16.77 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4954, allocations: 2.688 kB / 375.6 MB, free: 16.77 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005508/0.496, allocations: 76.38 kB / 375.6 MB, free: 16.77 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.0001789/0.4961, allocations: 108.1 kB / 375.7 MB, free: 16.68 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001078/0.4972, allocations: 499.3 kB / 376.2 MB, free: 16.46 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/0.4973, allocations: 0 / 376.2 MB, free: 16.46 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005276/0.4978, allocations: 355.9 kB / 376.6 MB, free: 16.23 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003852/0.4982, allocations: 27.16 kB / 376.6 MB, free: 16.23 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001399/0.4996, allocations: 0.7113 MB / 377.3 MB, free: 15.83 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003698/0.5, allocations: 0.7747 MB / 378.1 MB, free: 15.13 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001023/0.5001, allocations: 31.03 kB / 378.1 MB, free: 15.12 MB / 302.1 MB Notification: Performance of SimCode: time 6.12e-07/0.5001, allocations: 0 / 378.1 MB, free: 15.12 MB / 302.1 MB Notification: Performance of Templates: time 0.01215/0.5122, allocations: 5.925 MB / 384 MB, free: 14.25 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.makefile make -j1 -f Modelica_trunk_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_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgapCalcHelperMain.o OMCppModelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgapCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgapCalcHelperMain.o] Error 1