Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ShowVariableResistor.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.ShowVariableResistor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|VariableResistor.i|R2.i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ShowVariableResistor") translateModel(Modelica.Electrical.Analog.Examples.ShowVariableResistor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|VariableResistor.i|R2.i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ShowVariableResistor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009612/0.0009613, allocations: 90.73 kB / 16.95 MB, free: 5.617 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.001012/0.001012, allocations: 184.9 kB / 17.85 MB, free: 5.289 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.732/1.732, allocations: 223.2 MB / 241.9 MB, free: 14.59 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003441/0.0003441, allocations: 4 kB / 301.4 MB, free: 6.238 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1468/0.1472, allocations: 50.43 MB / 351.9 MB, free: 3.801 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ShowVariableResistor): time 0.002963/0.1502, allocations: 2.543 MB / 354.4 MB, free: 1.242 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001023/0.1513, allocations: 0.6625 MB / 355.1 MB, free: 0.5742 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000126/0.1514, allocations: 4 kB / 355.1 MB, free: 0.5703 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001391/0.1515, allocations: 35.69 kB / 355.1 MB, free: 0.5352 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001479/0.1517, allocations: 91.23 kB / 355.2 MB, free: 456 kB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002539/0.152, allocations: 67.91 kB / 355.3 MB, free: 388 kB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003879/0.1524, allocations: 382.2 kB / 355.6 MB, free: 4 kB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002247/0.1526, allocations: 77.7 kB / 355.7 MB, free: 15.93 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001849/0.1528, allocations: 123.6 kB / 355.8 MB, free: 15.8 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001736/0.153, allocations: 139.4 kB / 356 MB, free: 15.67 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.273e-05/0.153, allocations: 16 kB / 356 MB, free: 15.65 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.143e-05/0.1531, allocations: 16 kB / 356 MB, free: 15.64 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.961e-05/0.1531, allocations: 59.75 kB / 356.1 MB, free: 15.58 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 8.099e-05/0.1532, allocations: 93.52 kB / 356.2 MB, free: 15.48 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002626/0.1535, allocations: 275.5 kB / 356.4 MB, free: 15.21 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.563e-06/0.1535, allocations: 0 / 356.4 MB, free: 15.21 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.884e-06/0.1535, allocations: 3.938 kB / 356.4 MB, free: 15.21 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.871e-06/0.1535, allocations: 0 / 356.4 MB, free: 15.21 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: 67 * Number of variables: 67 Notification: Performance of Generate backend data structure: time 0.0009353/0.1545, allocations: 0.5962 MB / 357 MB, free: 14.56 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.407e-05/0.1545, allocations: 8.031 kB / 357 MB, free: 14.55 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.762e-05/0.1546, allocations: 35.62 kB / 357.1 MB, free: 14.52 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003348/0.155, allocations: 270.4 kB / 357.3 MB, free: 14.21 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.64e-05/0.155, allocations: 28.55 kB / 357.4 MB, free: 14.19 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.612e-05/0.155, allocations: 24 kB / 357.4 MB, free: 14.16 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005251/0.1556, allocations: 256.9 kB / 357.6 MB, free: 13.91 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.134e-05/0.1556, allocations: 0 / 357.6 MB, free: 13.91 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.4e-05/0.1556, allocations: 16 kB / 357.7 MB, free: 13.89 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.676e-05/0.1557, allocations: 11.95 kB / 357.7 MB, free: 13.88 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004783/0.1561, allocations: 230.1 kB / 357.9 MB, free: 13.66 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001711/0.1579, allocations: 0.9913 MB / 358.9 MB, free: 12.6 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00053/0.1584, allocations: 307.3 kB / 359.2 MB, free: 12.27 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002325/0.1586, allocations: 113.2 kB / 359.3 MB, free: 12.16 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.628e-05/0.1587, allocations: 4.188 kB / 359.3 MB, free: 12.16 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.188e-05/0.1587, allocations: 46.69 kB / 359.3 MB, free: 12.1 MB / 302.1 MB Notification: Performance of pre-optimization done (n=21): time 1.362e-06/0.1587, allocations: 0 / 359.3 MB, free: 12.1 MB / 302.1 MB Notification: Performance of matching and sorting (n=21): time 0.001329/0.1601, allocations: 0.5814 MB / 359.9 MB, free: 11.47 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.6e-05/0.1601, allocations: 59.41 kB / 360 MB, free: 11.4 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002708/0.1604, allocations: 246.6 kB / 360.2 MB, free: 11.15 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.344e-05/0.1604, allocations: 33.7 kB / 360.3 MB, free: 11.11 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001454/0.1606, allocations: 183.9 kB / 360.4 MB, free: 10.92 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.833e-05/0.1607, allocations: 67 kB / 360.5 MB, free: 10.86 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.207e-05/0.1607, allocations: 4 kB / 360.5 MB, free: 10.85 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001587/0.1608, allocations: 342.8 kB / 360.8 MB, free: 10.51 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001868/0.161, allocations: 80.42 kB / 360.9 MB, free: 10.43 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002342/0.1613, allocations: 116.4 kB / 361 MB, free: 10.3 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002054/0.1615, allocations: 91.98 kB / 361.1 MB, free: 10.21 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.608e-06/0.1615, allocations: 11.86 kB / 361.1 MB, free: 10.2 MB / 302.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0006228/0.1621, allocations: 330.8 kB / 361.5 MB, free: 9.867 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.533e-05/0.1622, allocations: 8 kB / 361.5 MB, free: 9.859 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.446e-06/0.1622, allocations: 0 / 361.5 MB, free: 9.859 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003144/0.1625, allocations: 73.62 kB / 361.5 MB, free: 9.781 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001786/0.1627, allocations: 47.91 kB / 361.6 MB, free: 9.734 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002531/0.1652, allocations: 2.839 MB / 364.4 MB, free: 6.633 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001932/0.1654, allocations: 35.77 kB / 364.5 MB, free: 6.598 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.617e-05/0.1655, allocations: 8.062 kB / 364.5 MB, free: 6.59 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (20): * Single equations (assignments): 18 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 4,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001704/0.1656, allocations: 137.8 kB / 364.6 MB, free: 6.445 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.311e-05/0.1657, allocations: 23.72 kB / 364.6 MB, free: 6.422 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.443e-05/0.1658, allocations: 38.12 kB / 364.7 MB, free: 6.391 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.894e-06/0.1658, allocations: 0 / 364.7 MB, free: 6.391 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.298e-06/0.1658, allocations: 4 kB / 364.7 MB, free: 6.387 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.679e-06/0.1658, allocations: 0 / 364.7 MB, free: 6.387 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009813/0.1668, allocations: 0.7082 MB / 365.4 MB, free: 5.617 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-06/0.1668, allocations: 0 / 365.4 MB, free: 5.617 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001216/0.1669, allocations: 23.98 kB / 365.4 MB, free: 5.594 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001761/0.1671, allocations: 73.67 kB / 365.5 MB, free: 5.516 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.443e-05/0.1671, allocations: 7.984 kB / 365.5 MB, free: 5.508 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002125/0.1693, allocations: 2.816 MB / 368.3 MB, free: 2.426 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.597e-06/0.1693, allocations: 8.109 kB / 368.3 MB, free: 2.418 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000596/0.1699, allocations: 392.7 kB / 368.7 MB, free: 2.012 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.45e-05/0.17, allocations: 108.7 kB / 368.8 MB, free: 1.887 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.928e-05/0.17, allocations: 7.922 kB / 368.8 MB, free: 1.879 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002258/0.1703, allocations: 35.98 kB / 368.8 MB, free: 1.844 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.654e-05/0.1703, allocations: 23.97 kB / 368.9 MB, free: 1.82 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.372e-05/0.1703, allocations: 4 kB / 368.9 MB, free: 1.816 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001882/0.1705, allocations: 186 kB / 369 MB, free: 1.633 MB / 302.1 MB Notification: Performance of sort global known variables: time 3.71e-07/0.1705, allocations: 0 / 369 MB, free: 1.633 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004138/0.171, allocations: 95.84 kB / 369.1 MB, free: 1.539 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (13): * Single equations (assignments): 11 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 4,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001729/0.1711, allocations: 107.2 kB / 369.2 MB, free: 1.426 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0007681/0.1719, allocations: 467.2 kB / 369.7 MB, free: 0.9453 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.567e-06/0.1719, allocations: 0 / 369.7 MB, free: 0.9453 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000429/0.1724, allocations: 357.4 kB / 370 MB, free: 0.5703 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004393/0.1728, allocations: 55.19 kB / 370.1 MB, free: 0.5195 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2052/0.378, allocations: 0.6182 MB / 370.7 MB, free: 24.4 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002947/0.3784, allocations: 0.7683 MB / 371.5 MB, free: 23.7 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001057/0.3785, allocations: 20.33 kB / 371.5 MB, free: 23.69 MB / 302.1 MB Notification: Performance of SimCode: time 6.41e-07/0.3785, allocations: 1 kB / 371.5 MB, free: 23.69 MB / 302.1 MB Notification: Performance of Templates: time 0.0104/0.3889, allocations: 5.566 MB / 377.1 MB, free: 23.31 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ShowVariableResistor.makefile make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ShowVariableResistor.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.ShowVariableResistorCalcHelperMain.o OMCppModelica_4.0.0_Modelica.Electrical.Analog.Examples.ShowVariableResistorCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_4.0.0_Modelica.Electrical.Analog.Examples.ShowVariableResistorCalcHelperMain.o] Error 1