Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_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 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.ShowVariableResistor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|VariableResistor.i|R2.i",fileNamePrefix="Modelica_3.2.3_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_3.2.3_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.001759/0.001758, allocations: 101.5 kB / 17.8 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.001814/0.001814, allocations: 194 kB / 18.72 MB, free: 4.762 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.933/1.933, allocations: 205.1 MB / 224.6 MB, free: 12.48 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.001061/0.001061, allocations: 51.92 kB / 280.6 MB, free: 3.605 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1464/0.1475, allocations: 46.63 MB / 327.2 MB, free: 4.906 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ShowVariableResistor): time 0.004796/0.1523, allocations: 3.006 MB / 330.3 MB, free: 1.875 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001315/0.1536, allocations: 0.7254 MB / 331 MB, free: 1.141 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001241/0.1538, allocations: 4 kB / 331 MB, free: 1.137 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001344/0.1539, allocations: 39.69 kB / 331 MB, free: 1.098 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000157/0.1541, allocations: 91.23 kB / 331.1 MB, free: 1.008 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002089/0.1543, allocations: 75.91 kB / 331.2 MB, free: 0.9336 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003855/0.1547, allocations: 394.2 kB / 331.6 MB, free: 0.5469 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001735/0.1549, allocations: 95.67 kB / 331.7 MB, free: 468 kB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001695/0.1551, allocations: 135.5 kB / 331.8 MB, free: 332 kB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001648/0.1553, allocations: 155.3 kB / 331.9 MB, free: 176 kB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 4.201e-05/0.1553, allocations: 20 kB / 332 MB, free: 156 kB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.401e-05/0.1554, allocations: 24 kB / 332 MB, free: 132 kB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 5.941e-05/0.1554, allocations: 63.69 kB / 332 MB, free: 68 kB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001703/0.1556, allocations: 159.1 kB / 332.2 MB, free: 15.91 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002387/0.1559, allocations: 283.5 kB / 332.5 MB, free: 15.63 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.1559, allocations: 4 kB / 332.5 MB, free: 15.63 MB / 286.1 MB Notification: Performance of FrontEnd: time 8.62e-07/0.1559, allocations: 0 / 332.5 MB, free: 15.63 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.873e-06/0.1559, allocations: 4 kB / 332.5 MB, free: 15.62 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: 67 * Number of variables: 67 Notification: Performance of Generate backend data structure: time 0.0009366/0.1568, allocations: 0.6314 MB / 333.1 MB, free: 14.95 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.601e-05/0.1569, allocations: 11.97 kB / 333.1 MB, free: 14.93 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.906e-05/0.157, allocations: 36.56 kB / 333.2 MB, free: 14.9 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003432/0.1573, allocations: 283.5 kB / 333.4 MB, free: 14.58 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.387e-05/0.1574, allocations: 24.92 kB / 333.5 MB, free: 14.56 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.174e-05/0.1574, allocations: 24.38 kB / 333.5 MB, free: 14.54 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000516/0.1579, allocations: 265.1 kB / 333.8 MB, free: 14.27 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.534e-06/0.1579, allocations: 0 / 333.8 MB, free: 14.27 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.178e-05/0.158, allocations: 16 kB / 333.8 MB, free: 14.25 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.165e-06/0.158, allocations: 4 kB / 333.8 MB, free: 14.25 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000493/0.1585, allocations: 214.1 kB / 334 MB, free: 14.04 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001668/0.1602, allocations: 0.9716 MB / 335 MB, free: 13 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005164/0.1607, allocations: 299.7 kB / 335.2 MB, free: 12.68 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002208/0.1609, allocations: 108.8 kB / 335.4 MB, free: 12.57 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.456e-05/0.161, allocations: 8 kB / 335.4 MB, free: 12.56 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.472e-05/0.161, allocations: 30.56 kB / 335.4 MB, free: 12.52 MB / 286.1 MB Notification: Performance of pre-optimization done (n=21): time 1.433e-06/0.161, allocations: 0 / 335.4 MB, free: 12.52 MB / 286.1 MB Notification: Performance of matching and sorting (n=21): time 0.001341/0.1624, allocations: 0.5637 MB / 336 MB, free: 11.91 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.486e-05/0.1624, allocations: 51.41 kB / 336 MB, free: 11.85 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003191/0.1627, allocations: 262.5 kB / 336.3 MB, free: 11.58 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.325e-05/0.1628, allocations: 33.7 kB / 336.3 MB, free: 11.54 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001801/0.163, allocations: 179.9 kB / 336.5 MB, free: 11.36 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.55e-05/0.1631, allocations: 71 kB / 336.5 MB, free: 11.29 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001019/0.1632, allocations: 49.84 kB / 336.6 MB, free: 11.23 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001793/0.1634, allocations: 334.8 kB / 336.9 MB, free: 10.89 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002037/0.1636, allocations: 76.42 kB / 337 MB, free: 10.82 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002212/0.1638, allocations: 107.5 kB / 337.1 MB, free: 10.71 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000406/0.1642, allocations: 194.3 kB / 337.3 MB, free: 10.51 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.1642, allocations: 0 / 337.3 MB, free: 10.51 MB / 286.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0006939/0.1649, allocations: 322.8 kB / 337.6 MB, free: 10.18 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.16e-05/0.165, allocations: 4 kB / 337.6 MB, free: 10.18 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/0.165, allocations: 0 / 337.6 MB, free: 10.18 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002629/0.1652, allocations: 77.66 kB / 337.7 MB, free: 10.09 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001848/0.1654, allocations: 35.92 kB / 337.7 MB, free: 10.06 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002483/0.1679, allocations: 2.831 MB / 340.5 MB, free: 6.961 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002057/0.1682, allocations: 27.86 kB / 340.6 MB, free: 6.934 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.958e-05/0.1682, allocations: 12 kB / 340.6 MB, free: 6.922 MB / 286.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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,4,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001965/0.1684, allocations: 141.8 kB / 340.7 MB, free: 6.773 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.293e-05/0.1685, allocations: 27.7 kB / 340.7 MB, free: 6.746 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.472e-05/0.1685, allocations: 30.19 kB / 340.8 MB, free: 6.719 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.1685, allocations: 0 / 340.8 MB, free: 6.719 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.172e-05/0.1685, allocations: 11.88 kB / 340.8 MB, free: 6.707 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.448e-06/0.1685, allocations: 3.984 kB / 340.8 MB, free: 6.703 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001068/0.1696, allocations: 0.6754 MB / 341.5 MB, free: 5.965 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.347e-06/0.1696, allocations: 0 / 341.5 MB, free: 5.965 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000136/0.1698, allocations: 31.97 kB / 341.5 MB, free: 5.934 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002238/0.17, allocations: 77.61 kB / 341.6 MB, free: 5.852 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.615e-05/0.17, allocations: 4 kB / 341.6 MB, free: 5.848 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002651/0.1727, allocations: 2.827 MB / 344.4 MB, free: 2.758 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.714e-06/0.1727, allocations: 4.125 kB / 344.4 MB, free: 2.754 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000755/0.1735, allocations: 385.5 kB / 344.8 MB, free: 2.355 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.734e-05/0.1736, allocations: 100.8 kB / 344.9 MB, free: 2.238 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.444e-05/0.1736, allocations: 12 kB / 344.9 MB, free: 2.227 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002377/0.1739, allocations: 27.97 kB / 344.9 MB, free: 2.199 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000108/0.174, allocations: 27.91 kB / 345 MB, free: 2.172 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.558e-05/0.174, allocations: 7.938 kB / 345 MB, free: 2.164 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0002047/0.1742, allocations: 186 kB / 345.1 MB, free: 1.98 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1742, allocations: 4 kB / 345.1 MB, free: 1.977 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0004444/0.1747, allocations: 87.84 kB / 345.2 MB, free: 1.891 MB / 286.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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,4,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000204/0.1749, allocations: 107.2 kB / 345.3 MB, free: 1.773 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0008801/0.1758, allocations: 445.1 kB / 345.8 MB, free: 1.312 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.1758, allocations: 0 / 345.8 MB, free: 1.312 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004649/0.1763, allocations: 345.2 kB / 346.1 MB, free: 0.9492 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005485/0.1768, allocations: 52.61 kB / 346.2 MB, free: 0.8984 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00117/0.178, allocations: 0.6341 MB / 346.8 MB, free: 240 kB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005368/0.1786, allocations: 0.7639 MB / 347.6 MB, free: 15.44 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.025e-05/0.1786, allocations: 23.38 kB / 347.6 MB, free: 15.42 MB / 302.1 MB Notification: Performance of SimCode: time 5.91e-07/0.1787, allocations: 0 / 347.6 MB, free: 15.42 MB / 302.1 MB Notification: Performance of Templates: time 0.009041/0.1877, allocations: 5.605 MB / 353.2 MB, free: 9.812 MB / 302.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ShowVariableResistor.makefile make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ShowVariableResistor.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.ShowVariableResistorCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Electrical.Analog.Examples.ShowVariableResistorCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Electrical.Analog.Examples.ShowVariableResistorCalcHelperMain.o] Error 1