Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor.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) 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(Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|coil.Phi",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor") translateModel(Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|coil.Phi",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001875/0.001874, allocations: 105.4 kB / 17.8 MB, free: 5.688 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.001993/0.001993, allocations: 197.9 kB / 18.73 MB, free: 4.77 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.214/2.214, allocations: 205.1 MB / 224.6 MB, free: 12.47 MB / 190.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.001676/0.001677, allocations: 47.92 kB / 280.6 MB, free: 3.598 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1678/0.1695, allocations: 46.63 MB / 327.2 MB, free: 4.891 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor): time 0.005875/0.1755, allocations: 2.703 MB / 330 MB, free: 2.164 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001976/0.1775, allocations: 0.9006 MB / 330.9 MB, free: 1.254 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002303/0.1778, allocations: 4 kB / 330.9 MB, free: 1.25 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004114/0.1783, allocations: 39.7 kB / 330.9 MB, free: 1.211 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003856/0.1787, allocations: 95.36 kB / 331 MB, free: 1.117 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003281/0.179, allocations: 83.86 kB / 331.1 MB, free: 1.035 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004914/0.1795, allocations: 334.7 kB / 331.4 MB, free: 0.707 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002899/0.1798, allocations: 98.23 kB / 331.5 MB, free: 0.6172 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002562/0.1801, allocations: 127.5 kB / 331.6 MB, free: 0.4922 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002845/0.1804, allocations: 143.3 kB / 331.8 MB, free: 360 kB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 5.215e-05/0.1804, allocations: 20 kB / 331.8 MB, free: 340 kB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.504e-05/0.1805, allocations: 20 kB / 331.8 MB, free: 320 kB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 9.831e-05/0.1806, allocations: 59.75 kB / 331.9 MB, free: 260 kB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001921/0.1808, allocations: 147.2 kB / 332 MB, free: 112 kB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004428/0.1812, allocations: 267.6 kB / 332.3 MB, free: 15.84 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.128e-06/0.1813, allocations: 0 / 332.3 MB, free: 15.84 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.1813, allocations: 4 kB / 332.3 MB, free: 15.84 MB / 286.1 MB Notification: Performance of Transformations before backend: time 8.315e-06/0.1813, allocations: 0 / 332.3 MB, free: 15.84 MB / 286.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 67 * Number of variables: 67 Notification: Performance of Generate backend data structure: time 0.001461/0.1828, allocations: 0.5964 MB / 332.9 MB, free: 15.2 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.039e-05/0.1828, allocations: 8.031 kB / 332.9 MB, free: 15.19 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001021/0.183, allocations: 40.48 kB / 332.9 MB, free: 15.15 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000404/0.1834, allocations: 259.3 kB / 333.2 MB, free: 14.86 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.758e-05/0.1834, allocations: 24.94 kB / 333.2 MB, free: 14.83 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.414e-05/0.1835, allocations: 24.38 kB / 333.2 MB, free: 14.81 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005455/0.184, allocations: 253.2 kB / 333.5 MB, free: 14.55 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.354e-05/0.184, allocations: 4 kB / 333.5 MB, free: 14.55 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.087e-05/0.1841, allocations: 12 kB / 333.5 MB, free: 14.54 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.249e-05/0.1841, allocations: 8 kB / 333.5 MB, free: 14.53 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004726/0.1846, allocations: 214.1 kB / 333.7 MB, free: 14.32 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001792/0.1864, allocations: 1.001 MB / 334.7 MB, free: 13.23 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004734/0.1869, allocations: 214.4 kB / 334.9 MB, free: 13.01 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000272/0.1872, allocations: 104.8 kB / 335 MB, free: 12.91 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.636e-05/0.1872, allocations: 11.98 kB / 335 MB, free: 12.89 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.871e-05/0.1873, allocations: 34.56 kB / 335 MB, free: 12.85 MB / 286.1 MB Notification: Performance of pre-optimization done (n=23): time 2.665e-06/0.1873, allocations: 0 / 335 MB, free: 12.85 MB / 286.1 MB Notification: Performance of matching and sorting (n=35): time 0.005542/0.1928, allocations: 1.534 MB / 336.6 MB, free: 11.24 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.873e-05/0.1929, allocations: 55.34 kB / 336.6 MB, free: 11.17 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003212/0.1932, allocations: 224.9 kB / 336.9 MB, free: 10.94 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 4.108e-05/0.1933, allocations: 41.64 kB / 336.9 MB, free: 10.89 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001698/0.1935, allocations: 176.2 kB / 337.1 MB, free: 10.72 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001408/0.1936, allocations: 126.2 kB / 337.2 MB, free: 10.59 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001251/0.1938, allocations: 58.08 kB / 337.2 MB, free: 10.53 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0002099/0.194, allocations: 342.8 kB / 337.6 MB, free: 10.18 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002534/0.1942, allocations: 108.7 kB / 337.7 MB, free: 10.08 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000294/0.1945, allocations: 161.3 kB / 337.8 MB, free: 9.906 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005476/0.1951, allocations: 283.8 kB / 338.1 MB, free: 9.613 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.1951, allocations: 0 / 338.1 MB, free: 9.613 MB / 286.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001711/0.1968, allocations: 0.5409 MB / 338.7 MB, free: 9.059 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.043e-05/0.1969, allocations: 4 kB / 338.7 MB, free: 9.055 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.481e-05/0.1969, allocations: 3.984 kB / 338.7 MB, free: 9.051 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001353/0.1983, allocations: 253.4 kB / 338.9 MB, free: 8.797 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002904/0.1986, allocations: 51.97 kB / 339 MB, free: 8.746 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005339/0.2039, allocations: 3.731 MB / 342.7 MB, free: 4.746 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003236/0.2043, allocations: 12.02 kB / 342.7 MB, free: 4.734 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.14e-05/0.2043, allocations: 12 kB / 342.7 MB, free: 4.723 MB / 286.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (29): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0002461/0.2046, allocations: 142.2 kB / 342.9 MB, free: 4.574 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.679e-05/0.2046, allocations: 27.72 kB / 342.9 MB, free: 4.547 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.145e-05/0.2047, allocations: 42.95 kB / 342.9 MB, free: 4.504 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.326e-06/0.2048, allocations: 11.88 kB / 342.9 MB, free: 4.492 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.905e-05/0.2048, allocations: 4 kB / 342.9 MB, free: 4.488 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.2048, allocations: 3.938 kB / 343 MB, free: 4.484 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002309/0.2071, allocations: 0.9882 MB / 343.9 MB, free: 3.43 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.801e-06/0.2071, allocations: 4.031 kB / 343.9 MB, free: 3.426 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002342/0.2074, allocations: 39.97 kB / 344 MB, free: 3.387 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001296/0.2087, allocations: 245.4 kB / 344.2 MB, free: 3.141 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.604e-05/0.2087, allocations: 4 kB / 344.2 MB, free: 3.137 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00521/0.2139, allocations: 3.717 MB / 347.9 MB, free: 15.15 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.354e-06/0.214, allocations: 4 kB / 347.9 MB, free: 15.15 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002088/0.2161, allocations: 0.7289 MB / 348.7 MB, free: 14.39 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001551/0.2162, allocations: 96.86 kB / 348.8 MB, free: 14.28 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.907e-05/0.2163, allocations: 11.94 kB / 348.8 MB, free: 14.27 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002504/0.2166, allocations: 20.05 kB / 348.8 MB, free: 14.25 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001193/0.2167, allocations: 36.17 kB / 348.8 MB, free: 14.21 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.133e-05/0.2167, allocations: 4 kB / 348.8 MB, free: 14.21 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002072/0.2169, allocations: 164.5 kB / 349 MB, free: 14.05 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.2169, allocations: 3.938 kB / 349 MB, free: 14.04 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0007275/0.2177, allocations: 100 kB / 349.1 MB, free: 13.95 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (coil.i) * 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 (19): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002126/0.2179, allocations: 107.2 kB / 349.2 MB, free: 13.83 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001536/0.2194, allocations: 0.5555 MB / 349.8 MB, free: 13.25 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 5.691e-06/0.2195, allocations: 256 / 349.8 MB, free: 13.25 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007945/0.2203, allocations: 437.1 kB / 350.2 MB, free: 12.79 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004741/0.2208, allocations: 28.38 kB / 350.2 MB, free: 12.77 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00217/0.2229, allocations: 0.8497 MB / 351.1 MB, free: 11.88 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00064/0.2236, allocations: 0.7721 MB / 351.8 MB, free: 11.08 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.31e-05/0.2237, allocations: 27.44 kB / 351.9 MB, free: 11.05 MB / 302.1 MB Notification: Performance of SimCode: time 9.12e-07/0.2237, allocations: 0 / 351.9 MB, free: 11.05 MB / 302.1 MB Notification: Performance of Templates: time 0.01344/0.2372, allocations: 5.966 MB / 357.8 MB, free: 5.074 MB / 302.1 MB make -j1 -f Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor.makefile make -j1 -f Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor.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 OMCppModelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductorCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductorCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductorCalcHelperMain.o] Error 1