Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_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 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.HeatingRectifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Capacitor1.v|HeatCapacitor1.T",fileNamePrefix="Modelica_4.0.0_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_4.0.0_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.001058/0.001058, allocations: 91.72 kB / 16.95 MB, free: 5.953 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.001332/0.001332, allocations: 177.8 kB / 17.84 MB, free: 5.617 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.619/1.619, allocations: 223.3 MB / 241.9 MB, free: 348 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002797/0.0002801, allocations: 8 kB / 301.4 MB, free: 6.445 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1282/0.1285, allocations: 50.42 MB / 351.9 MB, free: 4.016 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingRectifier): time 0.002976/0.1315, allocations: 2.106 MB / 354 MB, free: 1.895 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001127/0.1327, allocations: 0.6353 MB / 354.6 MB, free: 1.254 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001276/0.1328, allocations: 4 kB / 354.6 MB, free: 1.25 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001602/0.133, allocations: 31.77 kB / 354.6 MB, free: 1.219 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000125/0.1331, allocations: 55.48 kB / 354.7 MB, free: 1.164 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003289/0.1335, allocations: 67.86 kB / 354.8 MB, free: 1.098 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003293/0.1338, allocations: 254.8 kB / 355 MB, free: 0.8477 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002385/0.1341, allocations: 68.66 kB / 355.1 MB, free: 0.7734 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000176/0.1342, allocations: 83.66 kB / 355.2 MB, free: 0.6914 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001829/0.1344, allocations: 103.5 kB / 355.3 MB, free: 0.5898 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.338e-05/0.1345, allocations: 12 kB / 355.3 MB, free: 0.5781 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001073/0.1346, allocations: 23.98 kB / 355.3 MB, free: 0.5547 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 4.333e-05/0.1346, allocations: 35.84 kB / 355.3 MB, free: 0.5195 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 7.466e-05/0.1347, allocations: 69.58 kB / 355.4 MB, free: 456 kB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002725/0.135, allocations: 207.7 kB / 355.6 MB, free: 248 kB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.57e-06/0.135, allocations: 4 kB / 355.6 MB, free: 244 kB / 286.1 MB Notification: Performance of FrontEnd: time 2.194e-06/0.135, allocations: 4 kB / 355.6 MB, free: 240 kB / 286.1 MB Notification: Performance of Transformations before backend: time 6.913e-06/0.135, allocations: 0 / 355.6 MB, free: 240 kB / 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.0008744/0.1359, allocations: 0.4911 MB / 356.1 MB, free: 15.69 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.642e-05/0.136, allocations: 8.031 kB / 356.1 MB, free: 15.68 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.61e-05/0.1361, allocations: 35.67 kB / 356.1 MB, free: 15.65 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002855/0.1363, allocations: 222.7 kB / 356.4 MB, free: 15.39 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.234e-05/0.1364, allocations: 16.44 kB / 356.4 MB, free: 15.38 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.655e-05/0.1364, allocations: 31.92 kB / 356.4 MB, free: 15.35 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003796/0.1368, allocations: 183.3 kB / 356.6 MB, free: 15.16 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.457e-05/0.1369, allocations: 0 / 356.6 MB, free: 15.16 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.035e-05/0.1369, allocations: 12 kB / 356.6 MB, free: 15.15 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.021e-05/0.1369, allocations: 11.89 kB / 356.6 MB, free: 15.14 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003223/0.1372, allocations: 157.7 kB / 356.8 MB, free: 14.99 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.001485/0.1387, allocations: 0.9297 MB / 357.7 MB, free: 13.95 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003419/0.1391, allocations: 160.9 kB / 357.9 MB, free: 13.79 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002109/0.1393, allocations: 97.12 kB / 357.9 MB, free: 13.69 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.226e-05/0.1393, allocations: 7.906 kB / 358 MB, free: 13.68 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.143e-05/0.1394, allocations: 34.56 kB / 358 MB, free: 13.64 MB / 302.1 MB Notification: Performance of pre-optimization done (n=17): time 1.362e-06/0.1394, allocations: 4 kB / 358 MB, free: 13.63 MB / 302.1 MB Notification: Performance of matching and sorting (n=17): time 0.001284/0.1407, allocations: 423.2 kB / 358.4 MB, free: 13.19 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.632e-05/0.1407, allocations: 59.36 kB / 358.5 MB, free: 13.12 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001866/0.1409, allocations: 175.1 kB / 358.6 MB, free: 12.94 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.407e-05/0.141, allocations: 33.7 kB / 358.7 MB, free: 12.9 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001162/0.1411, allocations: 152.1 kB / 358.8 MB, free: 12.75 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.32e-05/0.1412, allocations: 55.11 kB / 358.9 MB, free: 12.69 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.114e-05/0.1412, allocations: 8 kB / 358.9 MB, free: 12.68 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000153/0.1413, allocations: 322.8 kB / 359.2 MB, free: 12.36 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001119/0.1414, allocations: 60.22 kB / 359.3 MB, free: 12.3 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001264/0.1416, allocations: 78.44 kB / 359.3 MB, free: 12.22 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001197/0.1417, allocations: 54.75 kB / 359.4 MB, free: 12.17 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.1417, allocations: 0 / 359.4 MB, free: 12.17 MB / 302.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0004964/0.1422, allocations: 234.1 kB / 359.6 MB, free: 11.93 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.538e-05/0.1423, allocations: 8 kB / 359.6 MB, free: 11.92 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.004e-05/0.1423, allocations: 8.016 kB / 359.6 MB, free: 11.91 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00126/0.1435, allocations: 216.6 kB / 359.8 MB, free: 11.7 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001425/0.1437, allocations: 35.91 kB / 359.9 MB, free: 11.66 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005511/0.1443, allocations: 0.6109 MB / 360.5 MB, free: 11.03 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001264/0.1444, allocations: 12.03 kB / 360.5 MB, free: 11.02 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.513e-05/0.1444, allocations: 4 kB / 360.5 MB, free: 11.01 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.0001816/0.1446, allocations: 141.7 kB / 360.6 MB, free: 10.86 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.465e-05/0.1447, allocations: 15.81 kB / 360.7 MB, free: 10.85 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004798/0.1452, allocations: 232.3 kB / 360.9 MB, free: 10.61 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.949e-06/0.1452, allocations: 4 kB / 360.9 MB, free: 10.61 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.972e-06/0.1452, allocations: 3.938 kB / 360.9 MB, free: 10.61 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.835e-06/0.1452, allocations: 3.984 kB / 360.9 MB, free: 10.6 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009234/0.1461, allocations: 0.5962 MB / 361.5 MB, free: 9.945 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.482e-06/0.1462, allocations: 4 kB / 361.5 MB, free: 9.941 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001489/0.1463, allocations: 27.98 kB / 361.5 MB, free: 9.914 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001032/0.1474, allocations: 216.7 kB / 361.7 MB, free: 9.699 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.6e-05/0.1474, allocations: 7.938 kB / 361.7 MB, free: 9.691 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006038/0.148, allocations: 0.6225 MB / 362.4 MB, free: 9.043 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.34e-06/0.148, allocations: 3.938 kB / 362.4 MB, free: 9.039 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008785/0.1489, allocations: 431.7 kB / 362.8 MB, free: 8.598 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.123e-05/0.149, allocations: 92.89 kB / 362.9 MB, free: 8.488 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.345e-05/0.1491, allocations: 8.062 kB / 362.9 MB, free: 8.48 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001449/0.1492, allocations: 15.98 kB / 362.9 MB, free: 8.465 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.723e-05/0.1493, allocations: 8.078 kB / 362.9 MB, free: 8.457 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.006e-05/0.1493, allocations: 15.89 kB / 362.9 MB, free: 8.441 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001491/0.1495, allocations: 131.2 kB / 363.1 MB, free: 8.312 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1495, allocations: 0 / 363.1 MB, free: 8.312 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003738/0.1499, allocations: 55.84 kB / 363.1 MB, free: 8.258 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.0003053/0.1502, allocations: 107.2 kB / 363.2 MB, free: 8.141 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0004721/0.1507, allocations: 147.9 kB / 363.4 MB, free: 7.996 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.098e-06/0.1507, allocations: 0 / 363.4 MB, free: 7.996 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002139/0.1509, allocations: 84.03 kB / 363.4 MB, free: 7.914 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004731/0.1514, allocations: 36.12 kB / 363.5 MB, free: 7.879 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001433/0.1528, allocations: 0.6997 MB / 364.2 MB, free: 7.148 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004573/0.1533, allocations: 0.7441 MB / 364.9 MB, free: 6.379 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.282e-05/0.1534, allocations: 11.44 kB / 364.9 MB, free: 6.367 MB / 302.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1534, allocations: 0 / 364.9 MB, free: 6.367 MB / 302.1 MB Notification: Performance of Templates: time 0.006882/0.1602, allocations: 3.092 MB / 368 MB, free: 3.277 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingRectifier.makefile make -j1 -f Modelica_4.0.0_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_4.0.0_Modelica.Electrical.Analog.Examples.HeatingRectifierCalcHelperMain.o OMCppModelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingRectifierCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingRectifierCalcHelperMain.o] Error 1