Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ResonanceCircuits.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.Electrical.Analog.Examples.ResonanceCircuits,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|capacitor1.v|capacitor2.v|inductor2.i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ResonanceCircuits") translateModel(Modelica.Electrical.Analog.Examples.ResonanceCircuits,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|capacitor1.v|capacitor2.v|inductor2.i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ResonanceCircuits") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002162/0.002162, allocations: 101.5 kB / 17.8 MB, free: 5.676 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.002759/0.002759, allocations: 194 kB / 18.72 MB, free: 4.762 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.909/1.909, allocations: 205.1 MB / 224.6 MB, free: 12.49 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.001512/0.001512, allocations: 59.91 kB / 280.6 MB, free: 3.602 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1477/0.1493, allocations: 46.63 MB / 327.2 MB, free: 4.906 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ResonanceCircuits): time 0.009015/0.1583, allocations: 5.331 MB / 332.6 MB, free: 15.54 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.004792/0.1632, allocations: 1.462 MB / 334 MB, free: 14.07 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001217/0.1645, allocations: 27.81 kB / 334.1 MB, free: 14.04 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005807/0.1651, allocations: 158.6 kB / 334.2 MB, free: 13.89 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007032/0.1658, allocations: 154.6 kB / 334.4 MB, free: 13.73 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009332/0.1668, allocations: 343.6 kB / 334.7 MB, free: 13.4 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.001142/0.1679, allocations: 1.064 MB / 335.8 MB, free: 12.33 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006791/0.1686, allocations: 427.4 kB / 336.2 MB, free: 11.89 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005079/0.1692, allocations: 374.2 kB / 336.6 MB, free: 11.53 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004571/0.1696, allocations: 413.6 kB / 337 MB, free: 11.12 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001136/0.1697, allocations: 60 kB / 337 MB, free: 11.06 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001878/0.1699, allocations: 68 kB / 337.1 MB, free: 11 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001787/0.1701, allocations: 183.1 kB / 337.3 MB, free: 10.82 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004425/0.1706, allocations: 485 kB / 337.7 MB, free: 10.34 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008129/0.1714, allocations: 0.7952 MB / 338.5 MB, free: 9.543 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.049e-06/0.1714, allocations: 4 kB / 338.5 MB, free: 9.539 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.1714, allocations: 0 / 338.5 MB, free: 9.539 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.871e-05/0.1715, allocations: 0 / 338.5 MB, free: 9.539 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: 252 * Number of variables: 252 Notification: Performance of Generate backend data structure: time 0.002137/0.1736, allocations: 1.309 MB / 339.8 MB, free: 8.176 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.864e-05/0.1737, allocations: 8.031 kB / 339.9 MB, free: 8.168 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002149/0.1739, allocations: 126.5 kB / 340 MB, free: 8.043 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009858/0.1749, allocations: 0.6107 MB / 340.6 MB, free: 7.387 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.705e-05/0.175, allocations: 85.88 kB / 340.7 MB, free: 7.305 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001736/0.1751, allocations: 96 kB / 340.8 MB, free: 7.211 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001939/0.1771, allocations: 1.034 MB / 341.8 MB, free: 6.051 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.018e-05/0.1771, allocations: 4 kB / 341.8 MB, free: 6.047 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.69e-05/0.1772, allocations: 47.98 kB / 341.9 MB, free: 6 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.51e-05/0.1773, allocations: 27.94 kB / 341.9 MB, free: 5.973 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00118/0.1784, allocations: 0.5539 MB / 342.4 MB, free: 5.418 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005901/0.1844, allocations: 5.528 MB / 348 MB, free: 15.6 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005801/0.185, allocations: 229 kB / 348.2 MB, free: 15.36 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003346/0.1853, allocations: 161.6 kB / 348.3 MB, free: 15.19 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003029/0.1856, allocations: 89.09 kB / 348.4 MB, free: 15.09 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.959e-05/0.1857, allocations: 38.5 kB / 348.5 MB, free: 15.04 MB / 302.1 MB Notification: Performance of pre-optimization done (n=28): time 3.447e-06/0.1857, allocations: 0 / 348.5 MB, free: 15.04 MB / 302.1 MB Notification: Performance of matching and sorting (n=40): time 0.004182/0.1899, allocations: 1.709 MB / 350.2 MB, free: 13.23 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.63e-05/0.19, allocations: 85.05 kB / 350.3 MB, free: 13.13 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008499/0.1908, allocations: 0.6294 MB / 350.9 MB, free: 12.49 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.131e-05/0.1909, allocations: 33.7 kB / 350.9 MB, free: 12.45 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004421/0.1913, allocations: 0.6026 MB / 351.5 MB, free: 11.84 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001236/0.1915, allocations: 141.9 kB / 351.7 MB, free: 11.7 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001804/0.1916, allocations: 142.5 kB / 351.8 MB, free: 11.55 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000201/0.1919, allocations: 382.8 kB / 352.2 MB, free: 11.17 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003339/0.1922, allocations: 157.8 kB / 352.3 MB, free: 11.02 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006673/0.1929, allocations: 0.4893 MB / 352.8 MB, free: 10.36 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001066/0.194, allocations: 0.6912 MB / 353.5 MB, free: 9.512 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.242e-06/0.194, allocations: 8 kB / 353.5 MB, free: 9.504 MB / 302.1 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001345/0.1953, allocations: 0.7073 MB / 354.2 MB, free: 8.789 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.993e-05/0.1954, allocations: 12 kB / 354.2 MB, free: 8.777 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.315e-05/0.1954, allocations: 15.94 kB / 354.3 MB, free: 8.762 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.667e-05/0.1954, allocations: 16 kB / 354.3 MB, free: 8.746 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006834/0.1961, allocations: 200.2 kB / 354.5 MB, free: 8.551 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.504e-05/0.1962, allocations: 27.86 kB / 354.5 MB, free: 8.523 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003696/0.1966, allocations: 35.98 kB / 354.5 MB, free: 8.488 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.104e-05/0.1966, allocations: 36 kB / 354.6 MB, free: 8.453 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 53 * 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 (96): * Single equations (assignments): 96 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004255/0.197, allocations: 229.5 kB / 354.8 MB, free: 8.219 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001842/0.1972, allocations: 79.06 kB / 354.9 MB, free: 8.141 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001723/0.1974, allocations: 78.53 kB / 354.9 MB, free: 8.059 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.048e-05/0.1974, allocations: 4 kB / 354.9 MB, free: 8.055 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.533e-05/0.1975, allocations: 7.938 kB / 355 MB, free: 8.047 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.133e-05/0.1975, allocations: 3.984 kB / 355 MB, free: 8.043 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002568/0.2001, allocations: 1.321 MB / 356.3 MB, free: 6.648 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.262e-06/0.2001, allocations: 4 kB / 356.3 MB, free: 6.645 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004841/0.2006, allocations: 104 kB / 356.4 MB, free: 6.543 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.691e-06/0.2006, allocations: 0 / 356.4 MB, free: 6.543 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.385e-05/0.2006, allocations: 15.98 kB / 356.4 MB, free: 6.527 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.501e-06/0.2006, allocations: 3.938 kB / 356.4 MB, free: 6.523 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.913e-06/0.2007, allocations: 7.938 kB / 356.4 MB, free: 6.516 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001156/0.2018, allocations: 0.6964 MB / 357.1 MB, free: 5.789 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001632/0.202, allocations: 144.2 kB / 357.2 MB, free: 5.629 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.533e-05/0.2021, allocations: 8 kB / 357.3 MB, free: 5.621 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002914/0.2024, allocations: 31.86 kB / 357.3 MB, free: 5.59 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.313e-05/0.2025, allocations: 27.95 kB / 357.3 MB, free: 5.562 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.672e-05/0.2025, allocations: 16 kB / 357.3 MB, free: 5.547 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0005088/0.203, allocations: 423 kB / 357.7 MB, free: 5.137 MB / 302.1 MB Notification: Performance of sort global known variables: time 3.61e-07/0.203, allocations: 0 / 357.7 MB, free: 5.137 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0007111/0.2037, allocations: 143.9 kB / 357.9 MB, free: 4.996 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 4 (inductor2.i,capacitor2.v,inductor1.i,capacitor1.v) * 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 (40): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003565/0.2041, allocations: 111.2 kB / 358 MB, free: 4.875 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0008926/0.205, allocations: 428 kB / 358.4 MB, free: 4.461 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.918e-06/0.205, allocations: 3.938 kB / 358.4 MB, free: 4.457 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003317/0.2054, allocations: 159.4 kB / 358.6 MB, free: 4.305 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006591/0.206, allocations: 75.55 kB / 358.6 MB, free: 4.234 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004162/0.2102, allocations: 2.142 MB / 360.8 MB, free: 2.039 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009366/0.2112, allocations: 1 MB / 361.8 MB, free: 1.012 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002149/0.2114, allocations: 67.42 kB / 361.8 MB, free: 0.9453 MB / 302.1 MB Notification: Performance of SimCode: time 8.61e-07/0.2114, allocations: 0 / 361.8 MB, free: 0.9453 MB / 302.1 MB Notification: Performance of Templates: time 0.02114/0.2325, allocations: 9.222 MB / 371.1 MB, free: 7.711 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ResonanceCircuits.makefile make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ResonanceCircuits.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.Electrical.Analog.Examples.ResonanceCircuitsCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Electrical.Analog.Examples.ResonanceCircuitsCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Electrical.Analog.Examples.ResonanceCircuitsCalcHelperMain.o] Error 1