Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.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.HeatingMOSInverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Capacitor1.v|HeatCapacitor1.T",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingMOSInverter") translateModel(Modelica.Electrical.Analog.Examples.HeatingMOSInverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Capacitor1.v|HeatCapacitor1.T",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingMOSInverter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001016/0.001016, allocations: 92.94 kB / 17.95 MB, free: 5.625 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.001231/0.001231, allocations: 180.7 kB / 18.86 MB, free: 4.77 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.044/2.044, allocations: 205.4 MB / 225 MB, free: 13.07 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.0004736/0.0004735, allocations: 16 kB / 282 MB, free: 3.418 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1307/0.1312, allocations: 47.58 MB / 329.6 MB, free: 3.766 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingMOSInverter): time 0.003693/0.135, allocations: 2.757 MB / 332.4 MB, free: 0.9883 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001894/0.1369, allocations: 0.8123 MB / 333.2 MB, free: 172 kB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002123/0.1371, allocations: 4 kB / 333.2 MB, free: 168 kB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001992/0.1373, allocations: 43.62 kB / 333.2 MB, free: 124 kB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002494/0.1376, allocations: 99.22 kB / 333.3 MB, free: 24 kB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004684/0.1381, allocations: 123.8 kB / 333.4 MB, free: 15.9 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005124/0.1386, allocations: 0.5035 MB / 333.9 MB, free: 15.4 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003084/0.1389, allocations: 140.8 kB / 334.1 MB, free: 15.25 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002697/0.1392, allocations: 187.2 kB / 334.3 MB, free: 15.07 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002748/0.1395, allocations: 231 kB / 334.5 MB, free: 14.84 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 5.121e-05/0.1396, allocations: 24 kB / 334.5 MB, free: 14.82 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.522e-05/0.1397, allocations: 36 kB / 334.5 MB, free: 14.78 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 8.135e-05/0.1397, allocations: 87.66 kB / 334.6 MB, free: 14.7 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002096/0.14, allocations: 228.6 kB / 334.9 MB, free: 14.46 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004146/0.1404, allocations: 411.1 kB / 335.3 MB, free: 14.06 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.1404, allocations: 0 / 335.3 MB, free: 14.06 MB / 286.1 MB Notification: Performance of FrontEnd: time 4.589e-06/0.1404, allocations: 0 / 335.3 MB, free: 14.06 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.209e-05/0.1404, allocations: 3.938 kB / 335.3 MB, free: 14.06 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: 92 * Number of variables: 92 Notification: Performance of Generate backend data structure: time 0.001569/0.142, allocations: 0.7487 MB / 336 MB, free: 13.26 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.359e-05/0.1421, allocations: 8.031 kB / 336 MB, free: 13.25 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001072/0.1422, allocations: 56.36 kB / 336.1 MB, free: 13.2 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000399/0.1426, allocations: 302.5 kB / 336.4 MB, free: 12.86 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.082e-05/0.1426, allocations: 25.38 kB / 336.4 MB, free: 12.84 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001016/0.1427, allocations: 36.38 kB / 336.4 MB, free: 12.8 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001217/0.1439, allocations: 0.5399 MB / 337 MB, free: 12.24 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.905e-05/0.144, allocations: 0 / 337 MB, free: 12.24 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.108e-05/0.144, allocations: 20 kB / 337 MB, free: 12.22 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.194e-05/0.1441, allocations: 8 kB / 337 MB, free: 12.21 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001461/0.1455, allocations: 0.566 MB / 337.6 MB, free: 11.65 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.002837/0.1484, allocations: 1.694 MB / 339.3 MB, free: 9.809 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001196/0.1496, allocations: 475.5 kB / 339.7 MB, free: 9.336 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000915/0.1505, allocations: 261.4 kB / 340 MB, free: 9.078 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.383e-05/0.1506, allocations: 16.3 kB / 340 MB, free: 9.062 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.537e-05/0.1507, allocations: 38.88 kB / 340 MB, free: 9.016 MB / 286.1 MB Notification: Performance of pre-optimization done (n=40): time 2.975e-06/0.1507, allocations: 3.938 kB / 340 MB, free: 9.012 MB / 286.1 MB Notification: Performance of matching and sorting (n=40): time 0.007569/0.1583, allocations: 1.552 MB / 341.6 MB, free: 7.41 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001549/0.1585, allocations: 162.2 kB / 341.7 MB, free: 7.215 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005553/0.1591, allocations: 263 kB / 342 MB, free: 6.953 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 7.103e-05/0.1592, allocations: 37.7 kB / 342 MB, free: 6.91 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000234/0.1594, allocations: 208.3 kB / 342.2 MB, free: 6.703 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001787/0.1596, allocations: 134 kB / 342.4 MB, free: 6.57 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.215e-05/0.1597, allocations: 41.7 kB / 342.4 MB, free: 6.523 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0002068/0.1599, allocations: 342.8 kB / 342.7 MB, free: 6.18 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000771/0.1607, allocations: 208.7 kB / 343 MB, free: 5.973 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008593/0.1616, allocations: 298.5 kB / 343.2 MB, free: 5.648 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001533/0.1631, allocations: 478.5 kB / 343.7 MB, free: 5.156 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.501e-06/0.1631, allocations: 0 / 343.7 MB, free: 5.156 MB / 286.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.002827/0.166, allocations: 0.7444 MB / 344.5 MB, free: 4.398 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.372e-05/0.166, allocations: 4 kB / 344.5 MB, free: 4.395 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.088e-05/0.1661, allocations: 7.984 kB / 344.5 MB, free: 4.387 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001927/0.168, allocations: 333.5 kB / 344.8 MB, free: 4.055 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005027/0.1685, allocations: 83.88 kB / 344.9 MB, free: 3.973 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001957/0.1705, allocations: 1.378 MB / 346.3 MB, free: 2.543 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007151/0.1712, allocations: 95.53 kB / 346.3 MB, free: 2.449 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.711e-05/0.1713, allocations: 12.19 kB / 346.4 MB, free: 2.438 MB / 286.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (33): * Single equations (assignments): 31 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,9), (1,9)} Notification: Performance of prepare postOptimizeDAE: time 0.0003075/0.1716, allocations: 157.8 kB / 346.5 MB, free: 2.273 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.754e-05/0.1717, allocations: 39.55 kB / 346.5 MB, free: 2.234 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003221/0.1749, allocations: 0.8175 MB / 347.4 MB, free: 1.402 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.053e-05/0.175, allocations: 8 kB / 347.4 MB, free: 1.395 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.845e-06/0.175, allocations: 0 / 347.4 MB, free: 1.395 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.132e-05/0.175, allocations: 3.984 kB / 347.4 MB, free: 1.391 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008769/0.1759, allocations: 465 kB / 347.8 MB, free: 0.8867 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.952e-06/0.1759, allocations: 0 / 347.8 MB, free: 0.8867 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004308/0.1763, allocations: 59.95 kB / 347.9 MB, free: 0.8281 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001769/0.1781, allocations: 349.3 kB / 348.2 MB, free: 492 kB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.402e-05/0.1782, allocations: 8 kB / 348.2 MB, free: 484 kB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001947/0.1802, allocations: 1.374 MB / 349.6 MB, free: 15.05 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.967e-06/0.1802, allocations: 3.938 kB / 349.6 MB, free: 15.04 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003731/0.1839, allocations: 1.125 MB / 350.7 MB, free: 13.89 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001438/0.1841, allocations: 116.6 kB / 350.9 MB, free: 13.76 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.919e-05/0.1842, allocations: 8.062 kB / 350.9 MB, free: 13.75 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005415/0.1847, allocations: 63.86 kB / 350.9 MB, free: 13.69 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.845e-05/0.1848, allocations: 27.95 kB / 351 MB, free: 13.66 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.838e-05/0.1849, allocations: 23.94 kB / 351 MB, free: 13.64 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0003464/0.1852, allocations: 186 kB / 351.2 MB, free: 13.46 MB / 302.1 MB Notification: Performance of sort global known variables: time 2e-07/0.1853, allocations: 0 / 351.2 MB, free: 13.46 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0006624/0.1859, allocations: 103.8 kB / 351.3 MB, free: 13.36 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (22): * Single equations (assignments): 20 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,10), (1,10)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002911/0.1862, allocations: 115.2 kB / 351.4 MB, free: 13.23 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001985/0.1882, allocations: 0.5117 MB / 351.9 MB, free: 12.72 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.409e-06/0.1883, allocations: 0 / 351.9 MB, free: 12.72 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009039/0.1892, allocations: 276.1 kB / 352.2 MB, free: 12.45 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006458/0.1898, allocations: 48.48 kB / 352.2 MB, free: 12.41 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00265/0.1925, allocations: 1.144 MB / 353.3 MB, free: 11.23 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005173/0.193, allocations: 0.7959 MB / 354.1 MB, free: 10.41 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001225/0.1932, allocations: 31.38 kB / 354.2 MB, free: 10.38 MB / 302.1 MB Notification: Performance of SimCode: time 9.21e-07/0.1932, allocations: 0 / 354.2 MB, free: 10.38 MB / 302.1 MB Notification: Performance of Templates: time 0.01402/0.2072, allocations: 7.019 MB / 361.2 MB, free: 3.352 MB / 302.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.makefile make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.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.HeatingMOSInverterCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingMOSInverterCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingMOSInverterCalcHelperMain.o] Error 1