Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingRectifier.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.HeatingRectifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Capacitor1.v|HeatCapacitor1.T",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingRectifier") translateModel(Modelica.Electrical.Analog.Examples.HeatingRectifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Capacitor1.v|HeatCapacitor1.T",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingRectifier") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001036/0.001036, allocations: 89.53 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.00107/0.00107, allocations: 198.2 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.615/1.615, allocations: 227.3 MB / 246.6 MB, free: 10.21 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003313/0.0003314, allocations: 8 kB / 307.3 MB, free: 1.398 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1514/0.1518, allocations: 51.48 MB / 358.8 MB, free: 13.91 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingRectifier): time 0.002838/0.1547, allocations: 2.14 MB / 360.9 MB, free: 11.76 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001198/0.1559, allocations: 0.647 MB / 361.6 MB, free: 11.11 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001189/0.156, allocations: 4 kB / 361.6 MB, free: 11.1 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001379/0.1562, allocations: 31.77 kB / 361.6 MB, free: 11.07 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001274/0.1563, allocations: 63.47 kB / 361.7 MB, free: 11.01 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002699/0.1566, allocations: 63.92 kB / 361.7 MB, free: 10.95 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002767/0.1569, allocations: 254.8 kB / 362 MB, free: 10.7 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001836/0.1571, allocations: 76.52 kB / 362.1 MB, free: 10.62 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001852/0.1573, allocations: 95.64 kB / 362.2 MB, free: 10.52 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001571/0.1574, allocations: 103.5 kB / 362.3 MB, free: 10.42 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.844e-05/0.1575, allocations: 8 kB / 362.3 MB, free: 10.41 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.499e-05/0.1576, allocations: 35.98 kB / 362.3 MB, free: 10.38 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 3.879e-05/0.1576, allocations: 35.84 kB / 362.3 MB, free: 10.34 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 5.876e-05/0.1577, allocations: 69.58 kB / 362.4 MB, free: 10.27 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002302/0.1579, allocations: 199.7 kB / 362.6 MB, free: 10.07 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.105e-06/0.1579, allocations: 3.984 kB / 362.6 MB, free: 10.07 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.094e-06/0.1579, allocations: 0 / 362.6 MB, free: 10.07 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.34e-06/0.158, allocations: 0 / 362.6 MB, free: 10.07 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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0007914/0.1588, allocations: 0.4977 MB / 363.1 MB, free: 9.527 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.781e-05/0.1588, allocations: 15.97 kB / 363.1 MB, free: 9.512 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001739/0.159, allocations: 35.7 kB / 363.1 MB, free: 9.477 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002876/0.1593, allocations: 234.7 kB / 363.4 MB, free: 9.207 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.891e-05/0.1593, allocations: 24.31 kB / 363.4 MB, free: 9.184 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.089e-05/0.1594, allocations: 19.95 kB / 363.4 MB, free: 9.164 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003862/0.1598, allocations: 195.3 kB / 363.6 MB, free: 8.965 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.387e-05/0.1598, allocations: 0 / 363.6 MB, free: 8.965 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.33e-05/0.1598, allocations: 4 kB / 363.6 MB, free: 8.961 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.062e-05/0.1598, allocations: 8 kB / 363.6 MB, free: 8.953 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003771/0.1602, allocations: 153.7 kB / 363.8 MB, free: 8.801 MB / 302.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001402/0.1616, allocations: 0.9297 MB / 364.7 MB, free: 7.762 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003093/0.1619, allocations: 161.4 kB / 364.9 MB, free: 7.598 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002034/0.1622, allocations: 101.1 kB / 365 MB, free: 7.496 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.139e-05/0.1622, allocations: 7.891 kB / 365 MB, free: 7.488 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.97e-05/0.1622, allocations: 34.56 kB / 365 MB, free: 7.445 MB / 302.1 MB Notification: Performance of pre-optimization done (n=17): time 1.543e-06/0.1622, allocations: 0 / 365 MB, free: 7.445 MB / 302.1 MB Notification: Performance of matching and sorting (n=17): time 0.001257/0.1635, allocations: 427.1 kB / 365.4 MB, free: 7 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.073e-05/0.1636, allocations: 55.41 kB / 365.5 MB, free: 6.934 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000179/0.1637, allocations: 179.1 kB / 365.6 MB, free: 6.746 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.488e-05/0.1638, allocations: 33.7 kB / 365.7 MB, free: 6.707 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001139/0.1639, allocations: 144.1 kB / 365.8 MB, free: 6.562 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.996e-05/0.164, allocations: 63.11 kB / 365.9 MB, free: 6.5 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.215e-06/0.164, allocations: 3.938 kB / 365.9 MB, free: 6.496 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001464/0.1641, allocations: 330.8 kB / 366.2 MB, free: 6.164 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001141/0.1642, allocations: 48.36 kB / 366.3 MB, free: 6.117 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000125/0.1644, allocations: 71.56 kB / 366.3 MB, free: 6.043 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001294/0.1645, allocations: 67.94 kB / 366.4 MB, free: 5.977 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.1645, allocations: 0 / 366.4 MB, free: 5.977 MB / 302.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0004738/0.165, allocations: 226.2 kB / 366.6 MB, free: 5.746 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.93e-05/0.165, allocations: 4 kB / 366.6 MB, free: 5.742 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.732e-05/0.1651, allocations: 4 kB / 366.6 MB, free: 5.738 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001298/0.1664, allocations: 224.6 kB / 366.8 MB, free: 5.516 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001593/0.1665, allocations: 35.92 kB / 366.9 MB, free: 5.48 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005168/0.1671, allocations: 0.6148 MB / 367.5 MB, free: 4.84 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001329/0.1672, allocations: 15.92 kB / 367.5 MB, free: 4.824 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.428e-05/0.1672, allocations: 8.016 kB / 367.5 MB, free: 4.816 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (14): * Single equations (assignments): 13 * 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: 0 * Non-linear torn systems: 1 {1 7} Notification: Performance of prepare postOptimizeDAE: time 0.0001421/0.1674, allocations: 137.7 kB / 367.6 MB, free: 4.672 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.253e-05/0.1674, allocations: 15.81 kB / 367.7 MB, free: 4.656 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004672/0.1679, allocations: 238.8 kB / 367.9 MB, free: 4.414 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.087e-06/0.1679, allocations: 0 / 367.9 MB, free: 4.414 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.1679, allocations: 0 / 367.9 MB, free: 4.414 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.315e-06/0.1679, allocations: 7.953 kB / 367.9 MB, free: 4.406 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008741/0.1688, allocations: 0.5959 MB / 368.5 MB, free: 3.75 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.1688, allocations: 0 / 368.5 MB, free: 3.75 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001461/0.169, allocations: 27.98 kB / 368.5 MB, free: 3.723 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001001/0.17, allocations: 208.6 kB / 368.7 MB, free: 3.516 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.094e-05/0.17, allocations: 12 kB / 368.7 MB, free: 3.504 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004509/0.1705, allocations: 0.6303 MB / 369.4 MB, free: 2.848 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.1705, allocations: 0 / 369.4 MB, free: 2.848 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007757/0.1713, allocations: 431 kB / 369.8 MB, free: 2.406 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.088e-05/0.1714, allocations: 96.88 kB / 369.9 MB, free: 2.293 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.464e-05/0.1714, allocations: 11.95 kB / 369.9 MB, free: 2.281 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001392/0.1715, allocations: 12.06 kB / 369.9 MB, free: 2.27 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.546e-05/0.1716, allocations: 15.97 kB / 369.9 MB, free: 2.254 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.39e-05/0.1716, allocations: 4 kB / 369.9 MB, free: 2.25 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001163/0.1717, allocations: 127.2 kB / 370.1 MB, free: 2.125 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1717, allocations: 0 / 370.1 MB, free: 2.125 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004114/0.1722, allocations: 63.84 kB / 370.1 MB, free: 2.062 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (Capacitor1.v,HeatCapacitor1.T) * 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 (10): * Single equations (assignments): 9 * 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: 0 * Non-linear torn systems: 1 {1 9} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001931/0.1724, allocations: 107.2 kB / 370.2 MB, free: 1.949 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003994/0.1728, allocations: 155.8 kB / 370.4 MB, free: 1.797 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.1728, allocations: 0 / 370.4 MB, free: 1.797 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001882/0.173, allocations: 83.89 kB / 370.5 MB, free: 1.715 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003638/0.1733, allocations: 34.34 kB / 370.5 MB, free: 1.684 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001045/0.1744, allocations: 0.6966 MB / 371.2 MB, free: 0.9531 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003144/0.1747, allocations: 0.7441 MB / 371.9 MB, free: 188 kB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.7e-05/0.1748, allocations: 15.44 kB / 371.9 MB, free: 172 kB / 302.1 MB Notification: Performance of SimCode: time 5.21e-07/0.1748, allocations: 0 / 371.9 MB, free: 172 kB / 302.1 MB Notification: Performance of Templates: time 0.2125/0.3873, allocations: 3.072 MB / 375 MB, free: 19.14 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingRectifier.makefile make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingRectifier.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.HeatingRectifierCalcHelperMain.o OMCppModelica_trunk_Modelica.Electrical.Analog.Examples.HeatingRectifierCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_trunk_Modelica.Electrical.Analog.Examples.HeatingRectifierCalcHelperMain.o] Error 1