Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingRectifier.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.HeatingRectifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Capacitor1.v|HeatCapacitor1.T",fileNamePrefix="Modelica_3.2.3_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_3.2.3_Modelica.Electrical.Analog.Examples.HeatingRectifier") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001068/0.001068, allocations: 94.31 kB / 17.96 MB, free: 5.629 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.001435/0.001435, allocations: 179.8 kB / 18.86 MB, free: 4.773 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.136/2.136, allocations: 205.4 MB / 225 MB, free: 12.99 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.000516/0.000516, allocations: 12 kB / 282 MB, free: 3.402 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1398/0.1403, allocations: 47.59 MB / 329.6 MB, free: 3.75 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingRectifier): time 0.003846/0.1442, allocations: 2.15 MB / 331.8 MB, free: 1.578 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001812/0.1461, allocations: 0.6673 MB / 332.4 MB, free: 0.9062 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003086/0.1464, allocations: 4 kB / 332.4 MB, free: 0.9023 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002293/0.1466, allocations: 27.77 kB / 332.5 MB, free: 0.875 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002974/0.147, allocations: 63.45 kB / 332.5 MB, free: 0.8125 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004222/0.1474, allocations: 67.94 kB / 332.6 MB, free: 0.7461 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.000471/0.1479, allocations: 262.7 kB / 332.8 MB, free: 500 kB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002106/0.1481, allocations: 64.81 kB / 332.9 MB, free: 436 kB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002233/0.1483, allocations: 99.56 kB / 333 MB, free: 336 kB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001899/0.1485, allocations: 99.48 kB / 333.1 MB, free: 236 kB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 3.613e-05/0.1486, allocations: 12 kB / 333.1 MB, free: 224 kB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001116/0.1487, allocations: 27.98 kB / 333.1 MB, free: 196 kB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 5.935e-05/0.1488, allocations: 43.83 kB / 333.2 MB, free: 152 kB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001634/0.1489, allocations: 133.1 kB / 333.3 MB, free: 12 kB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003304/0.1493, allocations: 203.7 kB / 333.5 MB, free: 15.81 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.501e-06/0.1493, allocations: 0 / 333.5 MB, free: 15.81 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.154e-06/0.1493, allocations: 0 / 333.5 MB, free: 15.81 MB / 286.1 MB Notification: Performance of Transformations before backend: time 8.696e-06/0.1493, allocations: 0 / 333.5 MB, free: 15.81 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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0009626/0.1503, allocations: 499.1 kB / 334 MB, free: 15.27 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.976e-05/0.1503, allocations: 8.031 kB / 334 MB, free: 15.27 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.885e-05/0.1504, allocations: 28.66 kB / 334 MB, free: 15.24 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003478/0.1508, allocations: 236.5 kB / 334.3 MB, free: 14.97 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.7e-05/0.1508, allocations: 16.81 kB / 334.3 MB, free: 14.95 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.451e-05/0.1509, allocations: 24.36 kB / 334.3 MB, free: 14.93 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003964/0.1513, allocations: 195.2 kB / 334.5 MB, free: 14.73 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.751e-05/0.1513, allocations: 7.984 kB / 334.5 MB, free: 14.72 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.369e-05/0.1514, allocations: 4 kB / 334.5 MB, free: 14.72 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.376e-06/0.1514, allocations: 4 kB / 334.5 MB, free: 14.71 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003382/0.1517, allocations: 153.7 kB / 334.7 MB, free: 14.57 MB / 286.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.001539/0.1533, allocations: 0.9452 MB / 335.6 MB, free: 13.52 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000333/0.1536, allocations: 154.6 kB / 335.8 MB, free: 13.36 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002107/0.1538, allocations: 96.83 kB / 335.9 MB, free: 13.26 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.789e-05/0.1539, allocations: 8 kB / 335.9 MB, free: 13.25 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3e-05/0.1539, allocations: 30.56 kB / 335.9 MB, free: 13.21 MB / 286.1 MB Notification: Performance of pre-optimization done (n=17): time 1.373e-06/0.1539, allocations: 0 / 335.9 MB, free: 13.21 MB / 286.1 MB Notification: Performance of matching and sorting (n=17): time 0.001375/0.1553, allocations: 427.4 kB / 336.3 MB, free: 12.77 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.974e-05/0.1554, allocations: 63.33 kB / 336.4 MB, free: 12.69 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002059/0.1556, allocations: 163.1 kB / 336.5 MB, free: 12.52 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.253e-05/0.1556, allocations: 33.7 kB / 336.6 MB, free: 12.48 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001406/0.1558, allocations: 148 kB / 336.7 MB, free: 12.34 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.215e-05/0.1558, allocations: 63.09 kB / 336.8 MB, free: 12.27 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.981e-05/0.1559, allocations: 17.72 kB / 336.8 MB, free: 12.25 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001961/0.1561, allocations: 330.8 kB / 337.1 MB, free: 11.92 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001338/0.1562, allocations: 55.97 kB / 337.2 MB, free: 11.86 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001402/0.1564, allocations: 73.62 kB / 337.2 MB, free: 11.79 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002733/0.1567, allocations: 133.6 kB / 337.4 MB, free: 11.65 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.1567, allocations: 0 / 337.4 MB, free: 11.65 MB / 286.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0005726/0.1573, allocations: 230.2 kB / 337.6 MB, free: 11.41 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.881e-05/0.1573, allocations: 7.125 kB / 337.6 MB, free: 11.41 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.039e-05/0.1573, allocations: 3.938 kB / 337.6 MB, free: 11.41 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001382/0.1587, allocations: 228.6 kB / 337.8 MB, free: 11.18 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001475/0.1589, allocations: 31.98 kB / 337.9 MB, free: 11.15 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005344/0.1594, allocations: 0.6031 MB / 338.5 MB, free: 10.52 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001549/0.1596, allocations: 15.97 kB / 338.5 MB, free: 10.5 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.458e-05/0.1596, allocations: 11.97 kB / 338.5 MB, free: 10.49 MB / 286.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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0001642/0.1598, allocations: 141.7 kB / 338.6 MB, free: 10.34 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.064e-05/0.1598, allocations: 15.81 kB / 338.6 MB, free: 10.33 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005754/0.1604, allocations: 228.2 kB / 338.9 MB, free: 10.09 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.588e-06/0.1604, allocations: 4 kB / 338.9 MB, free: 10.09 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.194e-06/0.1605, allocations: 4 kB / 338.9 MB, free: 10.09 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.933e-06/0.1605, allocations: 3.984 kB / 338.9 MB, free: 10.08 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001138/0.1616, allocations: 0.5896 MB / 339.5 MB, free: 9.43 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.488e-06/0.1616, allocations: 7.969 kB / 339.5 MB, free: 9.422 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001637/0.1618, allocations: 27.98 kB / 339.5 MB, free: 9.395 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001213/0.163, allocations: 216.6 kB / 339.7 MB, free: 9.18 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.787e-05/0.1631, allocations: 3.984 kB / 339.7 MB, free: 9.176 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009786/0.164, allocations: 0.6225 MB / 340.3 MB, free: 8.527 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.1641, allocations: 0 / 340.3 MB, free: 8.527 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009723/0.165, allocations: 436.8 kB / 340.8 MB, free: 8.078 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.991e-05/0.1651, allocations: 92.89 kB / 340.9 MB, free: 7.969 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.116e-05/0.1652, allocations: 4 kB / 340.9 MB, free: 7.965 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002195/0.1654, allocations: 11.98 kB / 340.9 MB, free: 7.953 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.189e-05/0.1655, allocations: 15.92 kB / 340.9 MB, free: 7.938 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.473e-05/0.1655, allocations: 12.16 kB / 340.9 MB, free: 7.926 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001622/0.1657, allocations: 131.4 kB / 341 MB, free: 7.797 MB / 286.1 MB Notification: Performance of sort global known variables: time 2.91e-07/0.1657, allocations: 4 kB / 341 MB, free: 7.793 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0004821/0.1662, allocations: 55.84 kB / 341.1 MB, free: 7.738 MB / 286.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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,9)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002373/0.1664, allocations: 115.2 kB / 341.2 MB, free: 7.617 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.000647/0.1671, allocations: 160.3 kB / 341.4 MB, free: 7.461 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.945e-06/0.1671, allocations: 0 / 341.4 MB, free: 7.461 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000274/0.1674, allocations: 91.89 kB / 341.4 MB, free: 7.371 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005652/0.168, allocations: 27.92 kB / 341.5 MB, free: 7.344 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001717/0.1697, allocations: 0.72 MB / 342.2 MB, free: 6.59 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006043/0.1703, allocations: 0.7324 MB / 342.9 MB, free: 5.832 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001795/0.1705, allocations: 15.44 kB / 342.9 MB, free: 5.816 MB / 286.1 MB Notification: Performance of SimCode: time 2.355e-06/0.1705, allocations: 4 kB / 342.9 MB, free: 5.812 MB / 286.1 MB Notification: Performance of Templates: time 0.008833/0.1794, allocations: 3.022 MB / 346 MB, free: 2.785 MB / 286.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingRectifier.makefile make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingRectifier.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.HeatingRectifierCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingRectifierCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingRectifierCalcHelperMain.o] Error 1