Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.SeriesResonance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.SeriesResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|capacitor1.v|capacitor2.v|cosineVoltage.phi|inductor1.i|inductor2.i|sineVoltage.phi",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.SeriesResonance") translateModel(Modelica.Electrical.Analog.Examples.SeriesResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|capacitor1.v|capacitor2.v|cosineVoltage.phi|inductor1.i|inductor2.i|sineVoltage.phi",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.SeriesResonance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001017/0.001017, allocations: 89 kB / 17.63 MB, free: 6.16 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00138/0.00138, allocations: 197.9 kB / 18.54 MB, free: 5.305 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.616/1.616, allocations: 227.3 MB / 246.6 MB, free: 10.32 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000287/0.0002872, allocations: 8 kB / 307.3 MB, free: 1.402 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1447/0.145, allocations: 51.49 MB / 358.8 MB, free: 13.91 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.SeriesResonance): time 0.004023/0.1491, allocations: 2.463 MB / 361.3 MB, free: 11.44 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001771/0.1509, allocations: 0.6741 MB / 361.9 MB, free: 10.76 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003569/0.1513, allocations: 11.94 kB / 361.9 MB, free: 10.75 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002085/0.1516, allocations: 47.61 kB / 362 MB, free: 10.7 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002102/0.1518, allocations: 71.45 kB / 362.1 MB, free: 10.63 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003111/0.1521, allocations: 71.86 kB / 362.1 MB, free: 10.56 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003606/0.1525, allocations: 338.6 kB / 362.5 MB, free: 10.23 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002519/0.1527, allocations: 111.9 kB / 362.6 MB, free: 10.11 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002648/0.153, allocations: 127.5 kB / 362.7 MB, free: 9.988 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001824/0.1532, allocations: 123.4 kB / 362.8 MB, free: 9.867 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.842e-05/0.1532, allocations: 20 kB / 362.8 MB, free: 9.848 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.548e-05/0.1533, allocations: 20 kB / 362.9 MB, free: 9.828 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.728e-05/0.1534, allocations: 51.77 kB / 362.9 MB, free: 9.777 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 8.089e-05/0.1534, allocations: 81.52 kB / 363 MB, free: 9.691 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000257/0.1537, allocations: 279.4 kB / 363.3 MB, free: 9.418 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.333e-05/0.1537, allocations: 4 kB / 363.3 MB, free: 9.414 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.074e-06/0.1537, allocations: 0 / 363.3 MB, free: 9.414 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.053e-06/0.1538, allocations: 0 / 363.3 MB, free: 9.414 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: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.0009194/0.1547, allocations: 0.5637 MB / 363.8 MB, free: 8.801 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.871e-05/0.1547, allocations: 12.03 kB / 363.8 MB, free: 8.789 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.25e-05/0.1548, allocations: 31.62 kB / 363.9 MB, free: 8.758 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003412/0.1552, allocations: 258.5 kB / 364.1 MB, free: 8.465 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.548e-05/0.1552, allocations: 32.59 kB / 364.2 MB, free: 8.434 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.187e-05/0.1553, allocations: 28 kB / 364.2 MB, free: 8.406 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005489/0.1558, allocations: 278 kB / 364.4 MB, free: 8.133 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.359e-05/0.1558, allocations: 0 / 364.4 MB, free: 8.133 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.537e-05/0.1559, allocations: 16 kB / 364.5 MB, free: 8.117 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.289e-05/0.1559, allocations: 8 kB / 364.5 MB, free: 8.109 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000452/0.1564, allocations: 218.4 kB / 364.7 MB, free: 7.895 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001569/0.1579, allocations: 0.9869 MB / 365.7 MB, free: 6.832 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003347/0.1583, allocations: 162.6 kB / 365.8 MB, free: 6.664 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001812/0.1585, allocations: 84.83 kB / 365.9 MB, free: 6.578 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.392e-05/0.1585, allocations: 4 kB / 365.9 MB, free: 6.574 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.308e-05/0.1586, allocations: 42.48 kB / 366 MB, free: 6.523 MB / 302.1 MB Notification: Performance of pre-optimization done (n=17): time 1.403e-06/0.1586, allocations: 0 / 366 MB, free: 6.523 MB / 302.1 MB Notification: Performance of matching and sorting (n=17): time 0.0005671/0.1591, allocations: 229.5 kB / 366.2 MB, free: 6.293 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.777e-05/0.1592, allocations: 55.41 kB / 366.2 MB, free: 6.227 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002433/0.1594, allocations: 206.8 kB / 366.4 MB, free: 6.016 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.524e-05/0.1595, allocations: 33.7 kB / 366.5 MB, free: 5.977 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001619/0.1596, allocations: 188 kB / 366.7 MB, free: 5.789 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.49e-05/0.1597, allocations: 67.09 kB / 366.7 MB, free: 5.723 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.249e-05/0.1597, allocations: 4 kB / 366.7 MB, free: 5.719 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001908/0.1599, allocations: 334.8 kB / 367.1 MB, free: 5.383 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001607/0.1601, allocations: 63.97 kB / 367.1 MB, free: 5.32 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002095/0.1603, allocations: 125.9 kB / 367.2 MB, free: 5.176 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001889/0.1605, allocations: 79.92 kB / 367.3 MB, free: 5.098 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/0.1605, allocations: 3.938 kB / 367.3 MB, free: 5.094 MB / 302.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0004636/0.161, allocations: 253.1 kB / 367.6 MB, free: 4.84 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.942e-05/0.161, allocations: 7.938 kB / 367.6 MB, free: 4.832 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.817e-06/0.161, allocations: 4 kB / 367.6 MB, free: 4.828 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.735e-05/0.1611, allocations: 3.953 kB / 367.6 MB, free: 4.824 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002804/0.1614, allocations: 72.09 kB / 367.7 MB, free: 4.754 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.327e-05/0.1614, allocations: 7.938 kB / 367.7 MB, free: 4.746 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001387/0.1615, allocations: 27.77 kB / 367.7 MB, free: 4.719 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.676e-05/0.1615, allocations: 8 kB / 367.7 MB, free: 4.711 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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): 29 * 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.0001393/0.1617, allocations: 137.8 kB / 367.8 MB, free: 4.566 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.663e-05/0.1618, allocations: 23.72 kB / 367.9 MB, free: 4.543 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004369/0.1622, allocations: 199.4 kB / 368 MB, free: 4.34 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.106e-05/0.1622, allocations: 4 kB / 368.1 MB, free: 4.336 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.694e-06/0.1622, allocations: 0 / 368.1 MB, free: 4.336 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.173e-06/0.1622, allocations: 3.984 kB / 368.1 MB, free: 4.332 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003784/0.1626, allocations: 317.4 kB / 368.4 MB, free: 3.973 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.1626, allocations: 4 kB / 368.4 MB, free: 3.969 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002642/0.1629, allocations: 55.91 kB / 368.4 MB, free: 3.914 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.786e-06/0.1629, allocations: 0 / 368.4 MB, free: 3.914 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.891e-05/0.1629, allocations: 8 kB / 368.4 MB, free: 3.906 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.897e-06/0.163, allocations: 3.984 kB / 368.4 MB, free: 3.902 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.163, allocations: 3.938 kB / 368.4 MB, free: 3.898 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006079/0.1636, allocations: 363.6 kB / 368.8 MB, free: 3.531 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.709e-05/0.1636, allocations: 96.83 kB / 368.9 MB, free: 3.418 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.313e-05/0.1637, allocations: 4.062 kB / 368.9 MB, free: 3.414 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001665/0.1639, allocations: 23.98 kB / 368.9 MB, free: 3.391 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.92e-05/0.1639, allocations: 15.92 kB / 368.9 MB, free: 3.375 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.569e-05/0.1639, allocations: 11.98 kB / 368.9 MB, free: 3.363 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001293/0.1641, allocations: 144.6 kB / 369.1 MB, free: 3.223 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1641, allocations: 0 / 369.1 MB, free: 3.223 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003609/0.1645, allocations: 79.69 kB / 369.2 MB, free: 3.145 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (sineVoltage.phi,inductor1.i,capacitor1.v,cosineVoltage.phi,inductor2.i,capacitor2.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 (19): * Single equations (assignments): 19 * 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 Backend phase and start with SimCode phase: time 0.0001573/0.1646, allocations: 103.2 kB / 369.3 MB, free: 3.035 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003969/0.165, allocations: 167.7 kB / 369.4 MB, free: 2.871 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.165, allocations: 4 kB / 369.4 MB, free: 2.867 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001599/0.1652, allocations: 84.14 kB / 369.5 MB, free: 2.785 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003881/0.1656, allocations: 27.95 kB / 369.5 MB, free: 2.758 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001672/0.1673, allocations: 1.059 MB / 370.6 MB, free: 1.672 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004731/0.1678, allocations: 0.7715 MB / 371.4 MB, free: 0.8711 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.89e-05/0.1678, allocations: 23.44 kB / 371.4 MB, free: 0.8477 MB / 302.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1679, allocations: 0 / 371.4 MB, free: 0.8477 MB / 302.1 MB Notification: Performance of Templates: time 0.2412/0.4091, allocations: 2.836 MB / 374.2 MB, free: 18.34 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.SeriesResonance.makefile make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.SeriesResonance.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_trunk_Modelica.Electrical.Analog.Examples.SeriesResonanceCalcHelperMain.o OMCppModelica_trunk_Modelica.Electrical.Analog.Examples.SeriesResonanceCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_trunk_Modelica.Electrical.Analog.Examples.SeriesResonanceCalcHelperMain.o] Error 1