Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.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.Analog.Examples.CauerLowPassOPV,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|C1.v|C2.v|C3.v|C4.v|C7.v",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassOPV") translateModel(Modelica.Electrical.Analog.Examples.CauerLowPassOPV,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|C1.v|C2.v|C3.v|C4.v|C7.v",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassOPV") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001094/0.001094, allocations: 92.22 kB / 16.95 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.0009322/0.0009324, allocations: 179.8 kB / 17.84 MB, free: 5.324 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.565/1.565, allocations: 223.2 MB / 241.9 MB, free: 260 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003005/0.0003008, allocations: 8.625 kB / 301.5 MB, free: 6.434 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1396/0.1399, allocations: 50.42 MB / 351.9 MB, free: 4.004 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CauerLowPassOPV): time 0.005797/0.1458, allocations: 4.983 MB / 356.9 MB, free: 15 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00296/0.1488, allocations: 1.134 MB / 358 MB, free: 13.86 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008776/0.1497, allocations: 16 kB / 358 MB, free: 13.84 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004315/0.1501, allocations: 131 kB / 358.1 MB, free: 13.71 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008205/0.151, allocations: 242 kB / 358.4 MB, free: 13.47 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005283/0.1515, allocations: 155.8 kB / 358.5 MB, free: 13.32 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001113/0.1526, allocations: 0.9932 MB / 359.5 MB, free: 12.32 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006771/0.1533, allocations: 400.2 kB / 359.9 MB, free: 11.91 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000466/0.1538, allocations: 330.8 kB / 360.2 MB, free: 11.59 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000487/0.1543, allocations: 386.2 kB / 360.6 MB, free: 11.21 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 9.247e-05/0.1544, allocations: 52 kB / 360.7 MB, free: 11.16 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001115/0.1545, allocations: 52 kB / 360.7 MB, free: 11.11 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001394/0.1547, allocations: 159.3 kB / 360.9 MB, free: 10.95 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002015/0.1549, allocations: 201.2 kB / 361.1 MB, free: 10.75 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000709/0.1556, allocations: 0.7947 MB / 361.9 MB, free: 9.953 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.1556, allocations: 0 / 361.9 MB, free: 9.953 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.216e-06/0.1556, allocations: 7.984 kB / 361.9 MB, free: 9.945 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.451e-05/0.1556, allocations: 0 / 361.9 MB, free: 9.945 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: 240 * Number of variables: 240 Notification: Performance of Generate backend data structure: time 0.001787/0.1574, allocations: 1.091 MB / 362.9 MB, free: 8.801 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.645e-05/0.1575, allocations: 8.031 kB / 363 MB, free: 8.793 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000191/0.1577, allocations: 102.8 kB / 363.1 MB, free: 8.691 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006311/0.1583, allocations: 442.1 kB / 363.5 MB, free: 8.219 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.459e-05/0.1584, allocations: 74 kB / 363.6 MB, free: 8.148 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000123/0.1585, allocations: 95.91 kB / 363.7 MB, free: 8.055 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001446/0.16, allocations: 0.8596 MB / 364.5 MB, free: 7.168 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.12e-05/0.16, allocations: 0 / 364.5 MB, free: 7.168 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.511e-05/0.1601, allocations: 43.95 kB / 364.6 MB, free: 7.125 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.088e-05/0.1601, allocations: 24 kB / 364.6 MB, free: 7.102 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009793/0.1611, allocations: 0.57 MB / 365.2 MB, free: 6.535 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004262/0.1654, allocations: 2.98 MB / 368.1 MB, free: 3.434 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004368/0.1658, allocations: 293.2 kB / 368.4 MB, free: 3.141 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00036/0.1662, allocations: 276.8 kB / 368.7 MB, free: 2.867 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.965e-05/0.1663, allocations: 8 kB / 368.7 MB, free: 2.859 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.063e-05/0.1663, allocations: 38.56 kB / 368.7 MB, free: 2.812 MB / 302.1 MB Notification: Performance of pre-optimization done (n=42): time 2.886e-06/0.1663, allocations: 0 / 368.7 MB, free: 2.812 MB / 302.1 MB Notification: Performance of matching and sorting (n=42): time 0.001463/0.1678, allocations: 0.6626 MB / 369.4 MB, free: 2.121 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.81e-05/0.1678, allocations: 55.41 kB / 369.5 MB, free: 2.055 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006167/0.1684, allocations: 0.5025 MB / 370 MB, free: 1.543 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 6.052e-05/0.1685, allocations: 41.69 kB / 370 MB, free: 1.496 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003437/0.1689, allocations: 481.6 kB / 370.5 MB, free: 1.016 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001303/0.169, allocations: 161.7 kB / 370.6 MB, free: 0.8555 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.607e-05/0.169, allocations: 16 kB / 370.6 MB, free: 0.8398 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001783/0.1692, allocations: 366.8 kB / 371 MB, free: 484 kB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003076/0.1695, allocations: 169.9 kB / 371.2 MB, free: 316 kB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2954/0.465, allocations: 446.7 kB / 371.6 MB, free: 23.58 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007975/0.4658, allocations: 243.3 kB / 371.8 MB, free: 23.58 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.819e-06/0.4658, allocations: 3.406 kB / 371.8 MB, free: 23.58 MB / 302.1 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001803/0.4677, allocations: 0.7571 MB / 372.6 MB, free: 23.48 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.511e-05/0.4677, allocations: 13.05 kB / 372.6 MB, free: 23.48 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.311e-05/0.4677, allocations: 9.812 kB / 372.6 MB, free: 23.48 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000373/0.4681, allocations: 84.97 kB / 372.7 MB, free: 23.47 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007872/0.4689, allocations: 199.2 kB / 372.9 MB, free: 23.46 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001933/0.4709, allocations: 1.804 MB / 374.7 MB, free: 22.11 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006179/0.4715, allocations: 90.7 kB / 374.8 MB, free: 22.11 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.382e-05/0.4716, allocations: 40.81 kB / 374.8 MB, free: 22.11 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * 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 (89): * Single equations (assignments): 88 * 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 {(1,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004495/0.472, allocations: 212 kB / 375 MB, free: 21.97 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001216/0.4722, allocations: 55.84 kB / 375.1 MB, free: 21.96 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000165/0.4723, allocations: 64.98 kB / 375.2 MB, free: 21.95 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.005e-06/0.4723, allocations: 4.188 kB / 375.2 MB, free: 21.95 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.462e-05/0.4724, allocations: 1.609 kB / 375.2 MB, free: 21.95 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.356e-06/0.4724, allocations: 6.734 kB / 375.2 MB, free: 21.95 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001194/0.4736, allocations: 0.6458 MB / 375.8 MB, free: 21.75 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.089e-06/0.4736, allocations: 1.375 kB / 375.8 MB, free: 21.75 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004348/0.474, allocations: 103.6 kB / 375.9 MB, free: 21.74 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002303/0.4743, allocations: 68.3 kB / 376 MB, free: 21.73 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.584e-05/0.4743, allocations: 10.22 kB / 376 MB, free: 21.73 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001673/0.476, allocations: 1.799 MB / 377.8 MB, free: 20.19 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.476, allocations: 0.75 kB / 377.8 MB, free: 20.19 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001094/0.4771, allocations: 0.6586 MB / 378.4 MB, free: 19.84 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001461/0.4773, allocations: 132.2 kB / 378.6 MB, free: 19.71 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.081e-05/0.4773, allocations: 10.75 kB / 378.6 MB, free: 19.71 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003592/0.4777, allocations: 50.48 kB / 378.6 MB, free: 19.7 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.604e-05/0.4778, allocations: 39.47 kB / 378.7 MB, free: 19.68 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.097e-05/0.4778, allocations: 14.53 kB / 378.7 MB, free: 19.68 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0004882/0.4783, allocations: 339.5 kB / 379 MB, free: 19.52 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.4783, allocations: 0 / 379 MB, free: 19.52 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.00103/0.4794, allocations: 249 kB / 379.3 MB, free: 19.45 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (C1.v,C2.v,C3.v,C4.v,C7.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 (33): * Single equations (assignments): 32 * 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 {(1,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001918/0.4796, allocations: 116.2 kB / 379.4 MB, free: 19.35 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001234/0.4808, allocations: 0.5896 MB / 380 MB, free: 19.08 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.609e-06/0.4808, allocations: 0 / 380 MB, free: 19.08 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005193/0.4814, allocations: 318.3 kB / 380.3 MB, free: 18.89 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006935/0.4821, allocations: 113.7 kB / 380.4 MB, free: 18.85 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003037/0.4851, allocations: 1.796 MB / 382.2 MB, free: 17.65 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006595/0.4858, allocations: 0.9317 MB / 383.1 MB, free: 16.94 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001748/0.486, allocations: 47.72 kB / 383.2 MB, free: 16.93 MB / 302.1 MB Notification: Performance of SimCode: time 1.182e-06/0.486, allocations: 2.953 kB / 383.2 MB, free: 16.93 MB / 302.1 MB Notification: Performance of Templates: time 0.02617/0.5122, allocations: 10.92 MB / 394.1 MB, free: 12.85 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.makefile make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.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.Analog.Examples.CauerLowPassOPVCalcHelperMain.o OMCppModelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassOPVCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassOPVCalcHelperMain.o] Error 1