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.0009424/0.0009425, allocations: 99.56 kB / 17.96 MB, free: 5.77 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.001328/0.001328, allocations: 176.2 kB / 18.86 MB, free: 4.906 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.267/2.267, allocations: 205.4 MB / 225 MB, free: 13.07 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.0005623/0.0005627, allocations: 16 kB / 282 MB, free: 3.422 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1531/0.1537, allocations: 47.58 MB / 329.6 MB, free: 3.77 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor): time 0.004147/0.1579, allocations: 2.348 MB / 332 MB, free: 1.402 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002146/0.1601, allocations: 0.8539 MB / 332.8 MB, free: 0.5391 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000359/0.1605, allocations: 4 kB / 332.8 MB, free: 0.5352 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003636/0.1609, allocations: 39.7 kB / 332.9 MB, free: 0.4961 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005649/0.1615, allocations: 99.36 kB / 333 MB, free: 408 kB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004038/0.1619, allocations: 79.92 kB / 333 MB, free: 328 kB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006715/0.1626, allocations: 338.6 kB / 333.4 MB, free: 15.99 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002812/0.1629, allocations: 90.25 kB / 333.4 MB, free: 15.91 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003739/0.1632, allocations: 119.5 kB / 333.6 MB, free: 15.79 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002991/0.1635, allocations: 139.3 kB / 333.7 MB, free: 15.65 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 6.33e-05/0.1636, allocations: 12 kB / 333.7 MB, free: 15.64 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.711e-05/0.1637, allocations: 16 kB / 333.7 MB, free: 15.62 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 7.149e-05/0.1638, allocations: 51.7 kB / 333.8 MB, free: 15.57 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002038/0.164, allocations: 168.9 kB / 333.9 MB, free: 15.4 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003629/0.1644, allocations: 267.5 kB / 334.2 MB, free: 15.14 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.1644, allocations: 4 kB / 334.2 MB, free: 15.14 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.004e-06/0.1644, allocations: 0 / 334.2 MB, free: 15.14 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.25e-05/0.1644, allocations: 0 / 334.2 MB, free: 15.14 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.00132/0.1657, allocations: 0.5497 MB / 334.8 MB, free: 14.54 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.529e-05/0.1658, allocations: 8.031 kB / 334.8 MB, free: 14.53 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001551/0.166, allocations: 36.47 kB / 334.8 MB, free: 14.5 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00046/0.1664, allocations: 267.4 kB / 335.1 MB, free: 14.2 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.696e-05/0.1665, allocations: 16.94 kB / 335.1 MB, free: 14.18 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.48e-05/0.1666, allocations: 28.38 kB / 335.1 MB, free: 14.15 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006331/0.1672, allocations: 257.2 kB / 335.4 MB, free: 13.89 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.504e-05/0.1672, allocations: 0 / 335.4 MB, free: 13.89 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.531e-05/0.1673, allocations: 8 kB / 335.4 MB, free: 13.88 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.181e-05/0.1673, allocations: 8 kB / 335.4 MB, free: 13.88 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005205/0.1678, allocations: 222.1 kB / 335.6 MB, free: 13.66 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001963/0.1698, allocations: 1.013 MB / 336.6 MB, free: 12.55 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004864/0.1703, allocations: 210.5 kB / 336.8 MB, free: 12.34 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002679/0.1706, allocations: 112.8 kB / 336.9 MB, free: 12.23 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.439e-05/0.1706, allocations: 4 kB / 336.9 MB, free: 12.22 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.098e-05/0.1707, allocations: 30.56 kB / 337 MB, free: 12.18 MB / 286.1 MB Notification: Performance of pre-optimization done (n=23): time 4.448e-06/0.1707, allocations: 3.984 kB / 337 MB, free: 12.18 MB / 286.1 MB Notification: Performance of matching and sorting (n=35): time 0.005276/0.176, allocations: 1.562 MB / 338.5 MB, free: 10.54 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.031e-05/0.1761, allocations: 59.34 kB / 338.6 MB, free: 10.47 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003208/0.1764, allocations: 225 kB / 338.8 MB, free: 10.24 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.713e-05/0.1764, allocations: 29.7 kB / 338.8 MB, free: 10.2 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000184/0.1766, allocations: 180.2 kB / 339 MB, free: 10.02 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001187/0.1768, allocations: 118.2 kB / 339.1 MB, free: 9.906 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.958e-05/0.1768, allocations: 41.7 kB / 339.2 MB, free: 9.859 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001679/0.177, allocations: 334.8 kB / 339.5 MB, free: 9.523 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002555/0.1773, allocations: 108.7 kB / 339.6 MB, free: 9.414 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000301/0.1776, allocations: 169.2 kB / 339.8 MB, free: 9.234 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005579/0.1782, allocations: 283.8 kB / 340 MB, free: 8.941 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.1782, allocations: 0 / 340 MB, free: 8.941 MB / 286.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0017/0.1799, allocations: 0.5488 MB / 340.6 MB, free: 8.379 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.374e-05/0.1799, allocations: 4 kB / 340.6 MB, free: 8.375 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.889e-06/0.1799, allocations: 0 / 340.6 MB, free: 8.375 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001516/0.1815, allocations: 257.4 kB / 340.8 MB, free: 8.117 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002867/0.1818, allocations: 55.97 kB / 340.9 MB, free: 8.062 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00552/0.1873, allocations: 3.744 MB / 344.6 MB, free: 4.047 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002453/0.1875, allocations: 16.02 kB / 344.7 MB, free: 4.031 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.336e-05/0.1876, allocations: 12 kB / 344.7 MB, free: 4.02 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.0002511/0.1879, allocations: 149.8 kB / 344.8 MB, free: 3.863 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.96e-05/0.1879, allocations: 31.62 kB / 344.8 MB, free: 3.832 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001109/0.1881, allocations: 42.89 kB / 344.9 MB, free: 3.789 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.294e-06/0.1881, allocations: 7.938 kB / 344.9 MB, free: 3.781 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.179e-05/0.1881, allocations: 0 / 344.9 MB, free: 3.781 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.994e-05/0.1881, allocations: 11.97 kB / 344.9 MB, free: 3.77 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002534/0.1907, allocations: 0.9883 MB / 345.9 MB, free: 2.715 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.15e-06/0.1907, allocations: 3.938 kB / 345.9 MB, free: 2.711 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002168/0.1909, allocations: 43.97 kB / 345.9 MB, free: 2.668 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001424/0.1923, allocations: 257.7 kB / 346.2 MB, free: 2.41 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.835e-05/0.1924, allocations: 4 kB / 346.2 MB, free: 2.406 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005672/0.1981, allocations: 3.752 MB / 349.9 MB, free: 14.39 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.1981, allocations: 0 / 349.9 MB, free: 14.39 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001866/0.1999, allocations: 0.7328 MB / 350.7 MB, free: 13.62 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.63e-05/0.2, allocations: 100.9 kB / 350.8 MB, free: 13.51 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.821e-05/0.2001, allocations: 11.94 kB / 350.8 MB, free: 13.5 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002163/0.2003, allocations: 20.05 kB / 350.8 MB, free: 13.48 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001028/0.2004, allocations: 31.89 kB / 350.8 MB, free: 13.45 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.12e-05/0.2005, allocations: 12 kB / 350.9 MB, free: 13.43 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001738/0.2006, allocations: 164.5 kB / 351 MB, free: 13.27 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.2006, allocations: 0 / 351 MB, free: 13.27 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0007009/0.2013, allocations: 100 kB / 351.1 MB, free: 13.18 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.0001923/0.2015, allocations: 107.2 kB / 351.2 MB, free: 13.06 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001463/0.203, allocations: 0.5672 MB / 351.8 MB, free: 12.46 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.569e-06/0.203, allocations: 0 / 351.8 MB, free: 12.46 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000715/0.2038, allocations: 429.1 kB / 352.2 MB, free: 12.02 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004566/0.2042, allocations: 36.61 kB / 352.2 MB, free: 11.98 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001747/0.206, allocations: 0.9163 MB / 353.2 MB, free: 11.03 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005215/0.2065, allocations: 0.7837 MB / 353.9 MB, free: 10.22 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.438e-05/0.2066, allocations: 23.44 kB / 354 MB, free: 10.2 MB / 302.1 MB Notification: Performance of SimCode: time 2.41e-07/0.2066, allocations: 0 / 354 MB, free: 10.2 MB / 302.1 MB Notification: Performance of Templates: time 0.01155/0.2182, allocations: 5.938 MB / 359.9 MB, free: 4.246 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