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.001467/0.001467, 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.001669/0.001669, 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 2.001/2.001, 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.001254/0.001254, allocations: 52.36 kB / 280.6 MB, free: 3.602 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1215/0.1227, allocations: 46.63 MB / 327.2 MB, free: 4.902 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingRectifier): time 0.004832/0.1276, allocations: 2.52 MB / 329.8 MB, free: 2.355 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001497/0.1292, allocations: 0.6711 MB / 330.4 MB, free: 1.68 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001483/0.1293, allocations: 4 kB / 330.4 MB, free: 1.676 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002097/0.1296, allocations: 27.77 kB / 330.5 MB, free: 1.648 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001367/0.1298, allocations: 59.48 kB / 330.5 MB, free: 1.59 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003103/0.1301, allocations: 63.94 kB / 330.6 MB, free: 1.527 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002937/0.1304, allocations: 262.8 kB / 330.8 MB, free: 1.27 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002061/0.1306, allocations: 72.78 kB / 330.9 MB, free: 1.199 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001842/0.1308, allocations: 99.53 kB / 331 MB, free: 1.102 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001664/0.131, allocations: 111.5 kB / 331.1 MB, free: 0.9922 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 3.594e-05/0.131, allocations: 12 kB / 331.1 MB, free: 0.9805 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001136/0.1311, allocations: 31.98 kB / 331.2 MB, free: 0.9492 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 4.827e-05/0.1312, allocations: 43.84 kB / 331.2 MB, free: 0.9062 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001234/0.1313, allocations: 115.4 kB / 331.3 MB, free: 0.793 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002503/0.1316, allocations: 203.7 kB / 331.5 MB, free: 0.5938 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.1316, allocations: 0 / 331.5 MB, free: 0.5938 MB / 270.1 MB Notification: Performance of FrontEnd: time 8.82e-07/0.1316, allocations: 3.938 kB / 331.5 MB, free: 0.5898 MB / 270.1 MB Notification: Performance of Transformations before backend: time 6.903e-06/0.1316, allocations: 0 / 331.5 MB, free: 0.5898 MB / 270.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.0009521/0.1326, allocations: 0.5264 MB / 332 MB, free: 12 kB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.031e-05/0.1326, allocations: 8.031 kB / 332.1 MB, free: 4 kB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.639e-05/0.1327, allocations: 28.64 kB / 332.1 MB, free: 15.98 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003406/0.1331, allocations: 244.5 kB / 332.3 MB, free: 15.7 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.852e-05/0.1331, allocations: 12.81 kB / 332.3 MB, free: 15.69 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.572e-05/0.1332, allocations: 20.38 kB / 332.4 MB, free: 15.67 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004035/0.1336, allocations: 191.2 kB / 332.5 MB, free: 15.47 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.997e-05/0.1336, allocations: 0 / 332.5 MB, free: 15.47 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.639e-05/0.1336, allocations: 16 kB / 332.6 MB, free: 15.46 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.554e-05/0.1337, allocations: 4 kB / 332.6 MB, free: 15.45 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003299/0.134, allocations: 149.7 kB / 332.7 MB, free: 15.31 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.001505/0.1355, allocations: 0.9413 MB / 333.6 MB, free: 14.26 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000333/0.1359, allocations: 146.6 kB / 333.8 MB, free: 14.11 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002364/0.1361, allocations: 92.83 kB / 333.9 MB, free: 14.02 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.202e-05/0.1362, allocations: 4 kB / 333.9 MB, free: 14.01 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.533e-05/0.1362, allocations: 34.56 kB / 333.9 MB, free: 13.97 MB / 286.1 MB Notification: Performance of pre-optimization done (n=17): time 1.844e-06/0.1362, allocations: 0 / 333.9 MB, free: 13.97 MB / 286.1 MB Notification: Performance of matching and sorting (n=17): time 0.001404/0.1376, allocations: 434.7 kB / 334.3 MB, free: 13.52 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.118e-05/0.1377, allocations: 55.41 kB / 334.4 MB, free: 13.45 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001817/0.1379, allocations: 166.4 kB / 334.6 MB, free: 13.28 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.969e-05/0.1379, allocations: 33.7 kB / 334.6 MB, free: 13.24 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001243/0.1381, allocations: 152 kB / 334.7 MB, free: 13.09 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.201e-05/0.1381, allocations: 59.11 kB / 334.8 MB, free: 13.03 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.433e-05/0.1382, allocations: 41.7 kB / 334.8 MB, free: 12.98 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.000215/0.1384, allocations: 326.8 kB / 335.2 MB, free: 12.66 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001218/0.1386, allocations: 47.97 kB / 335.2 MB, free: 12.61 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001509/0.1387, allocations: 69.69 kB / 335.3 MB, free: 12.54 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002602/0.139, allocations: 125.7 kB / 335.4 MB, free: 12.41 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.816e-06/0.139, allocations: 4 kB / 335.4 MB, free: 12.4 MB / 286.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0004305/0.1394, allocations: 222.2 kB / 335.6 MB, free: 12.18 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.345e-05/0.1395, allocations: 7.938 kB / 335.6 MB, free: 12.17 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.865e-06/0.1395, allocations: 3.938 kB / 335.6 MB, free: 12.16 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001469/0.141, allocations: 216.6 kB / 335.8 MB, free: 11.95 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001465/0.1411, allocations: 31.98 kB / 335.9 MB, free: 11.92 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006186/0.1418, allocations: 0.6186 MB / 336.5 MB, free: 11.27 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000147/0.1419, allocations: 7.906 kB / 336.5 MB, free: 11.27 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.666e-05/0.1419, allocations: 8 kB / 336.5 MB, free: 11.26 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.0001486/0.1421, allocations: 133.8 kB / 336.6 MB, free: 11.12 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.456e-05/0.1422, allocations: 15.81 kB / 336.7 MB, free: 11.1 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004942/0.1427, allocations: 232.2 kB / 336.9 MB, free: 10.86 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.881e-06/0.1427, allocations: 0 / 336.9 MB, free: 10.86 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.111e-06/0.1427, allocations: 0 / 336.9 MB, free: 10.86 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.55e-06/0.1427, allocations: 0 / 336.9 MB, free: 10.86 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001171/0.1439, allocations: 0.5974 MB / 337.5 MB, free: 10.2 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.377e-06/0.1439, allocations: 0 / 337.5 MB, free: 10.2 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001684/0.1441, allocations: 27.97 kB / 337.5 MB, free: 10.18 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001204/0.1453, allocations: 208.6 kB / 337.7 MB, free: 9.969 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.196e-05/0.1453, allocations: 8 kB / 337.7 MB, free: 9.961 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006761/0.146, allocations: 0.6225 MB / 338.3 MB, free: 9.312 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.384e-06/0.146, allocations: 0 / 338.3 MB, free: 9.312 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009171/0.1469, allocations: 429.1 kB / 338.8 MB, free: 8.871 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.045e-05/0.147, allocations: 96.88 kB / 338.9 MB, free: 8.758 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.118e-05/0.1471, allocations: 12 kB / 338.9 MB, free: 8.746 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001497/0.1472, allocations: 7.984 kB / 338.9 MB, free: 8.738 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.226e-05/0.1473, allocations: 19.92 kB / 338.9 MB, free: 8.719 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.351e-05/0.1473, allocations: 4 kB / 338.9 MB, free: 8.715 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.000137/0.1475, allocations: 127.3 kB / 339 MB, free: 8.59 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1475, allocations: 3.938 kB / 339 MB, free: 8.586 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003679/0.1479, allocations: 55.84 kB / 339.1 MB, free: 8.531 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.0002544/0.1481, allocations: 111.2 kB / 339.2 MB, free: 8.414 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0005166/0.1486, allocations: 144 kB / 339.3 MB, free: 8.273 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.1487, allocations: 4 kB / 339.3 MB, free: 8.27 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002137/0.1489, allocations: 95.86 kB / 339.4 MB, free: 8.176 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005075/0.1494, allocations: 31.95 kB / 339.5 MB, free: 8.145 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001335/0.1507, allocations: 0.6499 MB / 340.1 MB, free: 7.461 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005274/0.1513, allocations: 0.7402 MB / 340.8 MB, free: 6.695 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.26e-05/0.1513, allocations: 11.44 kB / 340.9 MB, free: 6.684 MB / 286.1 MB Notification: Performance of SimCode: time 5.21e-07/0.1513, allocations: 0 / 340.9 MB, free: 6.684 MB / 286.1 MB Notification: Performance of Templates: time 0.006002/0.1573, allocations: 3.046 MB / 343.9 MB, free: 3.633 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