Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.CoupledInductors.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.Electrical.Spice3.Examples.CoupledInductors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|L1.iinternal|L2.iinternal|L3.iinternal",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.CoupledInductors") translateModel(Modelica.Electrical.Spice3.Examples.CoupledInductors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|L1.iinternal|L2.iinternal|L3.iinternal",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.CoupledInductors") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001121/0.001121, allocations: 93 kB / 16.95 MB, free: 5.949 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.001426/0.001427, allocations: 178.3 kB / 17.84 MB, free: 5.617 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.615/1.615, allocations: 223.3 MB / 241.9 MB, free: 360 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004169/0.000417, allocations: 4 kB / 301.4 MB, free: 6.461 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1455/0.146, allocations: 50.41 MB / 351.9 MB, free: 4.035 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.CoupledInductors): time 0.0033/0.1493, allocations: 2.358 MB / 354.2 MB, free: 1.664 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001221/0.1506, allocations: 0.682 MB / 354.9 MB, free: 0.9766 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001107/0.1507, allocations: 8 kB / 354.9 MB, free: 0.9688 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 8.913e-05/0.1508, allocations: 51.61 kB / 355 MB, free: 0.918 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000201/0.151, allocations: 75.38 kB / 355 MB, free: 0.8438 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003033/0.1513, allocations: 91.83 kB / 355.1 MB, free: 0.7539 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005124/0.1518, allocations: 414.8 kB / 355.5 MB, free: 356 kB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003087/0.1522, allocations: 174.1 kB / 355.7 MB, free: 172 kB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001827/0.1523, allocations: 147.5 kB / 355.8 MB, free: 24 kB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002295/0.1526, allocations: 159.2 kB / 356 MB, free: 15.87 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.805e-05/0.1526, allocations: 24 kB / 356 MB, free: 15.84 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.865e-05/0.1527, allocations: 24 kB / 356 MB, free: 15.82 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 7.612e-05/0.1528, allocations: 75.73 kB / 356.1 MB, free: 15.75 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 8.511e-05/0.1529, allocations: 97.52 kB / 356.2 MB, free: 15.64 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003581/0.1532, allocations: 379.1 kB / 356.6 MB, free: 15.27 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.951e-06/0.1532, allocations: 0 / 356.6 MB, free: 15.27 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.755e-06/0.1533, allocations: 0 / 356.6 MB, free: 15.27 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.704e-06/0.1533, allocations: 0 / 356.6 MB, free: 15.27 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: 103 * Number of variables: 103 Notification: Performance of Generate backend data structure: time 0.001059/0.1543, allocations: 0.6161 MB / 357.2 MB, free: 14.61 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.692e-05/0.1544, allocations: 12.03 kB / 357.2 MB, free: 14.6 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.624e-05/0.1545, allocations: 43.53 kB / 357.3 MB, free: 14.55 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003427/0.1548, allocations: 280 kB / 357.5 MB, free: 14.24 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.103e-05/0.1549, allocations: 29 kB / 357.6 MB, free: 14.21 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.092e-05/0.1549, allocations: 44 kB / 357.6 MB, free: 14.17 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000735/0.1557, allocations: 443.3 kB / 358 MB, free: 13.71 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.598e-05/0.1557, allocations: 0 / 358 MB, free: 13.71 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.299e-05/0.1558, allocations: 23.95 kB / 358.1 MB, free: 13.68 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.216e-05/0.1558, allocations: 12 kB / 358.1 MB, free: 13.67 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005096/0.1563, allocations: 283.9 kB / 358.3 MB, free: 13.39 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002018/0.1583, allocations: 1.318 MB / 359.7 MB, free: 11.98 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004683/0.1588, allocations: 238.9 kB / 359.9 MB, free: 11.74 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003538/0.1592, allocations: 204.6 kB / 360.1 MB, free: 11.54 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.703e-05/0.1592, allocations: 4 kB / 360.1 MB, free: 11.54 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.995e-05/0.1593, allocations: 46.5 kB / 360.1 MB, free: 11.48 MB / 302.1 MB Notification: Performance of pre-optimization done (n=29): time 1.653e-06/0.1593, allocations: 0 / 360.1 MB, free: 11.48 MB / 302.1 MB Notification: Performance of matching and sorting (n=29): time 0.001407/0.1607, allocations: 0.5424 MB / 360.7 MB, free: 10.91 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001542/0.1609, allocations: 235.3 kB / 360.9 MB, free: 10.62 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002268/0.1611, allocations: 203 kB / 361.1 MB, free: 10.41 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.336e-05/0.1611, allocations: 37.7 kB / 361.2 MB, free: 10.37 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001659/0.1613, allocations: 192.2 kB / 361.3 MB, free: 10.18 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.612e-05/0.1614, allocations: 110.4 kB / 361.4 MB, free: 10.07 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.487e-05/0.1614, allocations: 8 kB / 361.5 MB, free: 10.06 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0002021/0.1616, allocations: 342.8 kB / 361.8 MB, free: 9.719 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001515/0.1618, allocations: 71.97 kB / 361.9 MB, free: 9.648 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002365/0.162, allocations: 156.5 kB / 362 MB, free: 9.465 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001855/0.1622, allocations: 99.81 kB / 362.1 MB, free: 9.367 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.1623, allocations: 0 / 362.1 MB, free: 9.367 MB / 302.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0004532/0.1627, allocations: 277.1 kB / 362.4 MB, free: 9.09 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.165e-05/0.1627, allocations: 8.062 kB / 362.4 MB, free: 9.082 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.051e-06/0.1628, allocations: 0 / 362.4 MB, free: 9.082 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.123e-05/0.1628, allocations: 4 kB / 362.4 MB, free: 9.078 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003098/0.1631, allocations: 83.89 kB / 362.5 MB, free: 8.996 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.097e-06/0.1631, allocations: 0 / 362.5 MB, free: 8.996 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001469/0.1633, allocations: 31.69 kB / 362.5 MB, free: 8.965 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.847e-05/0.1633, allocations: 7.984 kB / 362.5 MB, free: 8.957 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (38): * Single equations (assignments): 38 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001828/0.1635, allocations: 161.7 kB / 362.7 MB, free: 8.789 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.636e-05/0.1636, allocations: 19.81 kB / 362.7 MB, free: 8.77 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.367e-05/0.1636, allocations: 30.66 kB / 362.7 MB, free: 8.734 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.532e-06/0.1637, allocations: 4 kB / 362.7 MB, free: 8.73 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.367e-05/0.1637, allocations: 0 / 362.7 MB, free: 8.73 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.693e-06/0.1637, allocations: 3.984 kB / 362.7 MB, free: 8.727 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001093/0.1648, allocations: 0.7758 MB / 363.5 MB, free: 7.891 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/0.1648, allocations: 0 / 363.5 MB, free: 7.891 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002433/0.165, allocations: 63.88 kB / 363.6 MB, free: 7.828 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003279/0.1654, allocations: 84.81 kB / 363.6 MB, free: 7.742 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.747e-05/0.1654, allocations: 4 kB / 363.7 MB, free: 7.738 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002172/0.1676, allocations: 1.831 MB / 365.5 MB, free: 5.777 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.1676, allocations: 0 / 365.5 MB, free: 5.777 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007976/0.1684, allocations: 0.5023 MB / 366 MB, free: 5.25 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.474e-05/0.1685, allocations: 108.8 kB / 366.1 MB, free: 5.125 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.093e-05/0.1685, allocations: 11.95 kB / 366.1 MB, free: 5.113 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001383/0.1687, allocations: 12.12 kB / 366.1 MB, free: 5.102 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.666e-05/0.1688, allocations: 27.97 kB / 366.1 MB, free: 5.074 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.376e-05/0.1688, allocations: 7.984 kB / 366.1 MB, free: 5.066 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001375/0.1689, allocations: 152.5 kB / 366.3 MB, free: 4.918 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1689, allocations: 0 / 366.3 MB, free: 4.918 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004025/0.1693, allocations: 111.5 kB / 366.4 MB, free: 4.809 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 5 (L1.iinternal,L2.iinternal,C1.vinternal,L3.iinternal,C2.vinternal) * 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): 17 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 10} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001646/0.1695, allocations: 103.2 kB / 366.5 MB, free: 4.699 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0004126/0.1699, allocations: 224.1 kB / 366.7 MB, free: 4.48 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.689e-06/0.17, allocations: 4 kB / 366.7 MB, free: 4.477 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004564/0.1704, allocations: 274.5 kB / 367 MB, free: 4.195 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004072/0.1708, allocations: 37.14 kB / 367 MB, free: 4.16 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00148/0.1723, allocations: 1.088 MB / 368.1 MB, free: 3.043 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004579/0.1728, allocations: 0.7872 MB / 368.9 MB, free: 2.23 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.347e-05/0.1729, allocations: 23.44 kB / 368.9 MB, free: 2.207 MB / 302.1 MB Notification: Performance of SimCode: time 4.41e-07/0.1729, allocations: 0 / 368.9 MB, free: 2.207 MB / 302.1 MB Notification: Performance of Templates: time 0.2453/0.4182, allocations: 3.988 MB / 372.9 MB, free: 24.13 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.CoupledInductors.makefile make -j1 -f Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.CoupledInductors.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.Electrical.Spice3.Examples.CoupledInductorsCalcHelperMain.o OMCppModelica_4.0.0_Modelica.Electrical.Spice3.Examples.CoupledInductorsCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_4.0.0_Modelica.Electrical.Spice3.Examples.CoupledInductorsCalcHelperMain.o] Error 1