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.00133/0.00133, allocations: 94.22 kB / 17.96 MB, free: 5.418 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.001884/0.001884, allocations: 176.3 kB / 18.86 MB, free: 4.637 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.903/1.903, allocations: 205.4 MB / 225 MB, free: 12.93 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.0005205/0.0005206, allocations: 18.81 kB / 282 MB, free: 3.375 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1308/0.1314, allocations: 47.57 MB / 329.6 MB, free: 3.73 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ResonanceCircuits): time 0.006242/0.1377, allocations: 4.884 MB / 334.5 MB, free: 14.81 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.003489/0.1412, allocations: 1.443 MB / 335.9 MB, free: 13.37 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001327/0.1426, allocations: 27.81 kB / 336 MB, free: 13.34 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007911/0.1434, allocations: 162.6 kB / 336.1 MB, free: 13.18 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00155/0.145, allocations: 150.7 kB / 336.3 MB, free: 13.03 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001418/0.1464, allocations: 347.6 kB / 336.6 MB, free: 12.69 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.002139/0.1486, allocations: 1.06 MB / 337.7 MB, free: 11.63 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000924/0.1495, allocations: 423.4 kB / 338.1 MB, free: 11.2 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007801/0.1503, allocations: 330.2 kB / 338.4 MB, free: 10.87 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007664/0.1511, allocations: 373.6 kB / 338.8 MB, free: 10.5 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002036/0.1513, allocations: 40 kB / 338.8 MB, free: 10.46 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000292/0.1516, allocations: 55.98 kB / 338.9 MB, free: 10.41 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001963/0.1518, allocations: 155.1 kB / 339 MB, free: 10.26 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006085/0.1524, allocations: 474.7 kB / 339.5 MB, free: 9.785 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008972/0.1533, allocations: 0.7832 MB / 340.3 MB, free: 9 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.382e-06/0.1534, allocations: 0 / 340.3 MB, free: 9 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.274e-06/0.1534, allocations: 0 / 340.3 MB, free: 9 MB / 286.1 MB Notification: Performance of Transformations before backend: time 8.326e-05/0.1535, allocations: 4 kB / 340.3 MB, free: 8.996 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.002708/0.1562, allocations: 1.118 MB / 341.4 MB, free: 7.824 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.775e-05/0.1563, allocations: 12.03 kB / 341.4 MB, free: 7.812 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000226/0.1565, allocations: 126.4 kB / 341.5 MB, free: 7.688 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001025/0.1575, allocations: 0.6108 MB / 342.1 MB, free: 7.031 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.283e-05/0.1576, allocations: 77.94 kB / 342.2 MB, free: 6.957 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001844/0.1578, allocations: 103.8 kB / 342.3 MB, free: 6.855 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00193/0.1598, allocations: 1.034 MB / 343.3 MB, free: 5.695 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.733e-05/0.1598, allocations: 7.938 kB / 343.3 MB, free: 5.688 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.659e-05/0.1599, allocations: 44 kB / 343.4 MB, free: 5.645 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.164e-05/0.16, allocations: 31.98 kB / 343.4 MB, free: 5.613 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001213/0.1612, allocations: 0.5578 MB / 344 MB, free: 5.055 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00531/0.1665, allocations: 5.536 MB / 349.5 MB, free: 15.23 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005658/0.1671, allocations: 237 kB / 349.7 MB, free: 14.98 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003234/0.1674, allocations: 165.6 kB / 349.9 MB, free: 14.81 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002026/0.1676, allocations: 89.03 kB / 350 MB, free: 14.71 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.241e-05/0.1677, allocations: 38.56 kB / 350 MB, free: 14.66 MB / 302.1 MB Notification: Performance of pre-optimization done (n=28): time 3.357e-06/0.1677, allocations: 0 / 350 MB, free: 14.66 MB / 302.1 MB Notification: Performance of matching and sorting (n=40): time 0.004178/0.1719, allocations: 1.765 MB / 351.8 MB, free: 12.79 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.72e-05/0.172, allocations: 85.05 kB / 351.9 MB, free: 12.69 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007526/0.1727, allocations: 0.6333 MB / 352.5 MB, free: 12.05 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.457e-05/0.1728, allocations: 33.7 kB / 352.5 MB, free: 12.01 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000458/0.1732, allocations: 0.6026 MB / 353.1 MB, free: 11.4 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001232/0.1734, allocations: 149.9 kB / 353.3 MB, free: 11.25 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.633e-05/0.1735, allocations: 65.67 kB / 353.4 MB, free: 11.18 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0002162/0.1737, allocations: 386.7 kB / 353.7 MB, free: 10.79 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003226/0.174, allocations: 161.9 kB / 353.9 MB, free: 10.64 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005824/0.1746, allocations: 0.4933 MB / 354.4 MB, free: 9.977 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009197/0.1756, allocations: 0.7108 MB / 355.1 MB, free: 9.105 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.282e-06/0.1756, allocations: 4 kB / 355.1 MB, free: 9.102 MB / 302.1 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001151/0.1767, allocations: 0.7307 MB / 355.8 MB, free: 8.363 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.131e-05/0.1768, allocations: 8 kB / 355.8 MB, free: 8.355 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.012e-05/0.1768, allocations: 12 kB / 355.9 MB, free: 8.344 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.173e-05/0.1768, allocations: 19.94 kB / 355.9 MB, free: 8.324 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006667/0.1775, allocations: 208.2 kB / 356.1 MB, free: 8.121 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.89e-05/0.1776, allocations: 23.88 kB / 356.1 MB, free: 8.098 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003519/0.1779, allocations: 39.98 kB / 356.1 MB, free: 8.059 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.315e-05/0.178, allocations: 36 kB / 356.2 MB, free: 8.023 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.0003372/0.1783, allocations: 233.5 kB / 356.4 MB, free: 7.785 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001144/0.1784, allocations: 78.97 kB / 356.5 MB, free: 7.707 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001361/0.1786, allocations: 78.55 kB / 356.6 MB, free: 7.629 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.731e-06/0.1786, allocations: 4 kB / 356.6 MB, free: 7.625 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.267e-05/0.1786, allocations: 3.938 kB / 356.6 MB, free: 7.621 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.843e-06/0.1786, allocations: 3.984 kB / 356.6 MB, free: 7.617 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002137/0.1808, allocations: 1.356 MB / 357.9 MB, free: 6.188 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.1808, allocations: 4.156 kB / 357.9 MB, free: 6.184 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004416/0.1812, allocations: 111.9 kB / 358 MB, free: 6.074 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.318e-06/0.1813, allocations: 0 / 358 MB, free: 6.074 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.907e-05/0.1813, allocations: 12 kB / 358 MB, free: 6.062 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.857e-06/0.1813, allocations: 11.88 kB / 358.1 MB, free: 6.051 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.978e-06/0.1813, allocations: 4 kB / 358.1 MB, free: 6.047 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001037/0.1824, allocations: 0.7252 MB / 358.8 MB, free: 5.289 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001242/0.1825, allocations: 148.2 kB / 358.9 MB, free: 5.125 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.416e-05/0.1826, allocations: 8 kB / 358.9 MB, free: 5.117 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002782/0.1828, allocations: 27.92 kB / 359 MB, free: 5.09 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.548e-05/0.1829, allocations: 27.95 kB / 359 MB, free: 5.062 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.099e-05/0.183, allocations: 16 kB / 359 MB, free: 5.047 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0004774/0.1834, allocations: 423 kB / 359.4 MB, free: 4.637 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.1835, allocations: 0 / 359.4 MB, free: 4.637 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0006343/0.1841, allocations: 144 kB / 359.6 MB, free: 4.496 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.0001605/0.1843, allocations: 103.2 kB / 359.7 MB, free: 4.383 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0007741/0.1851, allocations: 453.7 kB / 360.1 MB, free: 3.941 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.779e-06/0.1851, allocations: 0 / 360.1 MB, free: 3.941 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000293/0.1854, allocations: 168.5 kB / 360.3 MB, free: 3.777 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007043/0.1861, allocations: 87.86 kB / 360.4 MB, free: 3.695 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00308/0.1892, allocations: 2.236 MB / 362.6 MB, free: 1.406 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006626/0.1898, allocations: 1 MB / 363.6 MB, free: 388 kB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001801/0.19, allocations: 71.42 kB / 363.7 MB, free: 316 kB / 302.1 MB Notification: Performance of SimCode: time 5.81e-07/0.19, allocations: 0 / 363.7 MB, free: 316 kB / 302.1 MB Notification: Performance of Templates: time 0.01508/0.2051, allocations: 9.052 MB / 372.7 MB, free: 7.25 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