Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.ParallelResonance.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.ParallelResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|capacitor1.v|capacitor2.v|cosineCurrent.phi|inductor1.i|inductor2.i|sineCurrent.phi",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.ParallelResonance") translateModel(Modelica.Electrical.Analog.Examples.ParallelResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|capacitor1.v|capacitor2.v|cosineCurrent.phi|inductor1.i|inductor2.i|sineCurrent.phi",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.ParallelResonance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009863/0.0009863, allocations: 90.11 kB / 17.63 MB, free: 5.43 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001409/0.001409, allocations: 200.2 kB / 18.54 MB, free: 4.984 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.654/1.654, allocations: 227.3 MB / 246.6 MB, free: 12.04 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002689/0.0002689, allocations: 8 kB / 307.3 MB, free: 1.625 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.142/0.1423, allocations: 51.49 MB / 358.8 MB, free: 14.13 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ParallelResonance): time 0.003815/0.1462, allocations: 2.459 MB / 361.3 MB, free: 11.66 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001602/0.1478, allocations: 0.6781 MB / 361.9 MB, free: 10.97 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002099/0.1481, allocations: 8 kB / 361.9 MB, free: 10.96 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002034/0.1483, allocations: 43.62 kB / 362 MB, free: 10.92 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001826/0.1485, allocations: 75.38 kB / 362.1 MB, free: 10.85 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002727/0.1488, allocations: 67.94 kB / 362.1 MB, free: 10.78 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004283/0.1492, allocations: 350.9 kB / 362.5 MB, free: 10.44 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003436/0.1496, allocations: 128.7 kB / 362.6 MB, free: 10.3 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002878/0.1498, allocations: 119.5 kB / 362.7 MB, free: 10.18 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001803/0.15, allocations: 131.4 kB / 362.8 MB, free: 10.05 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.566e-05/0.1501, allocations: 24 kB / 362.9 MB, free: 10.03 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.504e-05/0.1501, allocations: 16 kB / 362.9 MB, free: 10.02 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.944e-05/0.1502, allocations: 51.77 kB / 362.9 MB, free: 9.965 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 8.91e-05/0.1503, allocations: 77.58 kB / 363 MB, free: 9.883 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003435/0.1507, allocations: 279.4 kB / 363.3 MB, free: 9.609 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.763e-06/0.1507, allocations: 3.938 kB / 363.3 MB, free: 9.605 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.786e-06/0.1507, allocations: 0 / 363.3 MB, free: 9.605 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.506e-06/0.1507, allocations: 0 / 363.3 MB, free: 9.605 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.001006/0.1517, allocations: 0.5691 MB / 363.8 MB, free: 8.988 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.757e-05/0.1518, allocations: 12.03 kB / 363.9 MB, free: 8.977 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.04e-05/0.1519, allocations: 31.62 kB / 363.9 MB, free: 8.945 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004997/0.1524, allocations: 258.5 kB / 364.1 MB, free: 8.652 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.14e-05/0.1524, allocations: 24.66 kB / 364.2 MB, free: 8.629 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000106/0.1525, allocations: 39.89 kB / 364.2 MB, free: 8.59 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008597/0.1534, allocations: 286 kB / 364.5 MB, free: 8.309 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.423e-05/0.1534, allocations: 0 / 364.5 MB, free: 8.309 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.76e-05/0.1535, allocations: 8 kB / 364.5 MB, free: 8.301 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.685e-05/0.1535, allocations: 8 kB / 364.5 MB, free: 8.293 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005745/0.1541, allocations: 226.5 kB / 364.7 MB, free: 8.07 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001769/0.1559, allocations: 1.03 MB / 365.8 MB, free: 6.961 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003719/0.1563, allocations: 161 kB / 365.9 MB, free: 6.797 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000295/0.1566, allocations: 137.1 kB / 366 MB, free: 6.66 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.212e-05/0.1566, allocations: 11.94 kB / 366.1 MB, free: 6.648 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.828e-05/0.1567, allocations: 46.5 kB / 366.1 MB, free: 6.594 MB / 302.1 MB Notification: Performance of pre-optimization done (n=19): time 1.703e-06/0.1567, allocations: 0 / 366.1 MB, free: 6.594 MB / 302.1 MB Notification: Performance of matching and sorting (n=19): time 0.000643/0.1573, allocations: 244.2 kB / 366.3 MB, free: 6.352 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.15e-05/0.1574, allocations: 59.34 kB / 366.4 MB, free: 6.281 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002467/0.1577, allocations: 211.1 kB / 366.6 MB, free: 6.066 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.043e-05/0.1577, allocations: 29.7 kB / 366.6 MB, free: 6.031 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001462/0.1578, allocations: 192 kB / 366.8 MB, free: 5.84 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.325e-05/0.1579, allocations: 70.92 kB / 366.9 MB, free: 5.77 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.179e-05/0.1579, allocations: 4 kB / 366.9 MB, free: 5.766 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001838/0.1581, allocations: 334.8 kB / 367.2 MB, free: 5.43 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001668/0.1583, allocations: 76.52 kB / 367.3 MB, free: 5.355 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002416/0.1586, allocations: 147.3 kB / 367.4 MB, free: 5.18 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001996/0.1588, allocations: 91.91 kB / 367.5 MB, free: 5.09 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.1588, allocations: 0 / 367.5 MB, free: 5.09 MB / 302.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.000529/0.1593, allocations: 281.1 kB / 367.8 MB, free: 4.809 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.494e-05/0.1593, allocations: 8 kB / 367.8 MB, free: 4.801 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.43e-05/0.1594, allocations: 4 kB / 367.8 MB, free: 4.797 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.265e-05/0.1594, allocations: 4 kB / 367.8 MB, free: 4.793 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003171/0.1597, allocations: 71.89 kB / 367.9 MB, free: 4.723 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.561e-05/0.1597, allocations: 4 kB / 367.9 MB, free: 4.719 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001599/0.1599, allocations: 47.8 kB / 367.9 MB, free: 4.672 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.038e-05/0.1599, allocations: 11.94 kB / 368 MB, free: 4.66 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (33): * Single equations (assignments): 33 * 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.0002031/0.1602, allocations: 145.8 kB / 368.1 MB, free: 4.508 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.222e-05/0.1602, allocations: 23.67 kB / 368.1 MB, free: 4.484 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004789/0.1607, allocations: 216.6 kB / 368.3 MB, free: 4.27 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.128e-06/0.1607, allocations: 0 / 368.3 MB, free: 4.27 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.887e-06/0.1607, allocations: 4 kB / 368.3 MB, free: 4.266 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.323e-06/0.1607, allocations: 3.984 kB / 368.3 MB, free: 4.262 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008957/0.1616, allocations: 0.6014 MB / 368.9 MB, free: 3.598 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.484e-06/0.1617, allocations: 4 kB / 368.9 MB, free: 3.594 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002915/0.162, allocations: 59.91 kB / 369 MB, free: 3.535 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.367e-06/0.162, allocations: 7.953 kB / 369 MB, free: 3.527 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.53e-05/0.162, allocations: 0 / 369 MB, free: 3.527 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.867e-06/0.162, allocations: 4 kB / 369 MB, free: 3.523 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.544e-06/0.162, allocations: 3.984 kB / 369 MB, free: 3.52 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006138/0.1626, allocations: 393.2 kB / 369.4 MB, free: 3.113 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.896e-05/0.1627, allocations: 100.8 kB / 369.5 MB, free: 2.996 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.727e-05/0.1628, allocations: 7.984 kB / 369.5 MB, free: 2.988 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001747/0.1629, allocations: 16 kB / 369.5 MB, free: 2.973 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.89e-05/0.163, allocations: 19.97 kB / 369.5 MB, free: 2.953 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.23e-05/0.163, allocations: 4 kB / 369.5 MB, free: 2.949 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001488/0.1632, allocations: 160.6 kB / 369.7 MB, free: 2.793 MB / 302.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.1632, allocations: 0 / 369.7 MB, free: 2.793 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003439/0.1636, allocations: 71.78 kB / 369.8 MB, free: 2.723 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 6 (sineCurrent.phi,inductor1.i,capacitor1.v,cosineCurrent.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 (21): * Single equations (assignments): 21 * 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.0001732/0.1637, allocations: 107.2 kB / 369.9 MB, free: 2.609 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0004805/0.1642, allocations: 183.8 kB / 370.1 MB, free: 2.43 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.1642, allocations: 0 / 370.1 MB, free: 2.43 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001707/0.1644, allocations: 94.58 kB / 370.1 MB, free: 2.34 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003786/0.1648, allocations: 29.3 kB / 370.2 MB, free: 2.312 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001666/0.1665, allocations: 1.087 MB / 371.3 MB, free: 1.195 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005794/0.1671, allocations: 0.7675 MB / 372 MB, free: 412 kB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.327e-05/0.1672, allocations: 23.44 kB / 372.1 MB, free: 388 kB / 302.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1672, allocations: 0 / 372.1 MB, free: 388 kB / 302.1 MB Notification: Performance of Templates: time 0.2584/0.4256, allocations: 2.896 MB / 374.9 MB, free: 18.66 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.ParallelResonance.makefile make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.ParallelResonance.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.ParallelResonanceCalcHelperMain.o OMCppModelica_trunk_Modelica.Electrical.Analog.Examples.ParallelResonanceCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_trunk_Modelica.Electrical.Analog.Examples.ParallelResonanceCalcHelperMain.o] Error 1