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.001633/0.001633, 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.001455/0.001455, 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 1.983/1.983, allocations: 205.1 MB / 224.6 MB, free: 12.38 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.001259/0.001259, allocations: 51.92 kB / 280.6 MB, free: 3.594 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1297/0.131, allocations: 46.64 MB / 327.3 MB, free: 4.887 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingMOSInverter): time 0.005428/0.1364, allocations: 3.123 MB / 330.4 MB, free: 1.742 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001627/0.1381, allocations: 0.82 MB / 331.2 MB, free: 0.9141 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001729/0.1383, allocations: 8 kB / 331.2 MB, free: 0.9062 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001725/0.1385, allocations: 35.69 kB / 331.2 MB, free: 0.8711 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001917/0.1387, allocations: 103.2 kB / 331.3 MB, free: 0.7695 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003483/0.1391, allocations: 119.9 kB / 331.5 MB, free: 0.6523 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004839/0.1396, allocations: 0.5112 MB / 332 MB, free: 144 kB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002726/0.1398, allocations: 144.8 kB / 332.1 MB, free: 15.99 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002295/0.1401, allocations: 199.2 kB / 332.3 MB, free: 15.79 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002337/0.1403, allocations: 235 kB / 332.5 MB, free: 15.56 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 6.028e-05/0.1404, allocations: 36 kB / 332.6 MB, free: 15.53 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.03e-05/0.1405, allocations: 36 kB / 332.6 MB, free: 15.49 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 8.92e-05/0.1406, allocations: 99.58 kB / 332.7 MB, free: 15.39 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002055/0.1408, allocations: 222.9 kB / 332.9 MB, free: 15.18 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000382/0.1412, allocations: 419.2 kB / 333.3 MB, free: 14.77 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.321e-06/0.1412, allocations: 0 / 333.3 MB, free: 14.77 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.1412, allocations: 0 / 333.3 MB, free: 14.77 MB / 286.1 MB Notification: Performance of Transformations before backend: time 8.916e-06/0.1412, allocations: 0 / 333.3 MB, free: 14.77 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.001811/0.143, allocations: 0.7876 MB / 334.1 MB, free: 13.93 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.577e-05/0.1431, allocations: 12.03 kB / 334.1 MB, free: 13.91 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001026/0.1432, allocations: 48.38 kB / 334.2 MB, free: 13.87 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003891/0.1436, allocations: 302.5 kB / 334.5 MB, free: 13.53 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.763e-05/0.1436, allocations: 29.38 kB / 334.5 MB, free: 13.5 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.388e-05/0.1437, allocations: 40.36 kB / 334.5 MB, free: 13.46 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001093/0.1448, allocations: 0.5048 MB / 335 MB, free: 12.94 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.871e-05/0.1449, allocations: 0 / 335 MB, free: 12.94 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.791e-05/0.1449, allocations: 16 kB / 335.1 MB, free: 12.93 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.494e-05/0.1449, allocations: 8 kB / 335.1 MB, free: 12.92 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001279/0.1462, allocations: 0.5074 MB / 335.6 MB, free: 12.41 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.002674/0.1489, allocations: 1.663 MB / 337.2 MB, free: 10.61 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00114/0.1501, allocations: 435.5 kB / 337.7 MB, free: 10.17 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005222/0.1506, allocations: 245.3 kB / 337.9 MB, free: 9.93 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.915e-05/0.1507, allocations: 12.31 kB / 337.9 MB, free: 9.918 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.357e-05/0.1507, allocations: 34.89 kB / 337.9 MB, free: 9.875 MB / 286.1 MB Notification: Performance of pre-optimization done (n=40): time 1.343e-06/0.1507, allocations: 0 / 337.9 MB, free: 9.875 MB / 286.1 MB Notification: Performance of matching and sorting (n=40): time 0.004907/0.1556, allocations: 1.372 MB / 339.3 MB, free: 8.453 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001192/0.1557, allocations: 158.2 kB / 339.5 MB, free: 8.262 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003428/0.1561, allocations: 263 kB / 339.7 MB, free: 8 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.647e-05/0.1561, allocations: 29.7 kB / 339.8 MB, free: 7.965 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001817/0.1563, allocations: 220.3 kB / 340 MB, free: 7.746 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001214/0.1565, allocations: 130 kB / 340.1 MB, free: 7.617 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001495/0.1566, allocations: 78.12 kB / 340.2 MB, free: 7.535 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001672/0.1568, allocations: 338.8 kB / 340.5 MB, free: 7.195 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004844/0.1573, allocations: 184.8 kB / 340.7 MB, free: 7.012 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005557/0.1579, allocations: 286.5 kB / 341 MB, free: 6.699 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009602/0.1588, allocations: 418.6 kB / 341.4 MB, free: 6.266 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.406e-06/0.1588, allocations: 0 / 341.4 MB, free: 6.266 MB / 286.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.001858/0.1607, allocations: 0.6859 MB / 342.1 MB, free: 5.566 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.035e-05/0.1607, allocations: 11.28 kB / 342.1 MB, free: 5.559 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.002e-05/0.1608, allocations: 4.062 kB / 342.1 MB, free: 5.555 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00144/0.1622, allocations: 313.4 kB / 342.4 MB, free: 5.242 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003428/0.1626, allocations: 83.88 kB / 342.5 MB, free: 5.16 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001519/0.1641, allocations: 1.35 MB / 343.8 MB, free: 3.758 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004907/0.1646, allocations: 83.72 kB / 343.9 MB, free: 3.676 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.633e-05/0.1647, allocations: 19.98 kB / 343.9 MB, free: 3.656 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.0002322/0.1649, allocations: 149.8 kB / 344.1 MB, free: 3.5 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.815e-05/0.165, allocations: 35.62 kB / 344.1 MB, free: 3.465 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002194/0.1672, allocations: 0.7276 MB / 344.8 MB, free: 2.723 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.125e-06/0.1672, allocations: 4 kB / 344.8 MB, free: 2.719 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.002e-05/0.1672, allocations: 0 / 344.8 MB, free: 2.719 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.586e-06/0.1673, allocations: 3.984 kB / 344.8 MB, free: 2.715 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007727/0.168, allocations: 465 kB / 345.3 MB, free: 2.211 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.382e-06/0.1681, allocations: 0 / 345.3 MB, free: 2.211 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000298/0.1684, allocations: 55.89 kB / 345.3 MB, free: 2.156 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00131/0.1697, allocations: 333.3 kB / 345.7 MB, free: 1.824 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.331e-05/0.1697, allocations: 8 kB / 345.7 MB, free: 1.816 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001536/0.1713, allocations: 1.358 MB / 347 MB, free: 416 kB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/0.1713, allocations: 0 / 347 MB, free: 416 kB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002715/0.174, allocations: 1.027 MB / 348.1 MB, free: 15.36 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001525/0.1742, allocations: 112.6 kB / 348.2 MB, free: 15.23 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.155e-05/0.1743, allocations: 11.98 kB / 348.2 MB, free: 15.21 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003901/0.1747, allocations: 43.95 kB / 348.2 MB, free: 15.17 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001252/0.1748, allocations: 23.95 kB / 348.3 MB, free: 15.15 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.017e-05/0.1748, allocations: 20 kB / 348.3 MB, free: 15.13 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002748/0.1751, allocations: 186 kB / 348.5 MB, free: 14.95 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.1751, allocations: 0 / 348.5 MB, free: 14.95 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005362/0.1757, allocations: 107.8 kB / 348.6 MB, free: 14.84 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.0002594/0.176, allocations: 127.1 kB / 348.7 MB, free: 14.71 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001419/0.1774, allocations: 472.2 kB / 349.1 MB, free: 14.25 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.038e-06/0.1774, allocations: 4.125 kB / 349.1 MB, free: 14.24 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006058/0.178, allocations: 247.8 kB / 349.4 MB, free: 14 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005333/0.1786, allocations: 52.48 kB / 349.4 MB, free: 13.95 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002105/0.1807, allocations: 1.049 MB / 350.5 MB, free: 12.87 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004693/0.1812, allocations: 0.7998 MB / 351.3 MB, free: 12.04 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.972e-05/0.1813, allocations: 27.38 kB / 351.3 MB, free: 12.01 MB / 302.1 MB Notification: Performance of SimCode: time 5.01e-07/0.1813, allocations: 0 / 351.3 MB, free: 12.01 MB / 302.1 MB Notification: Performance of Templates: time 0.01189/0.1932, allocations: 7.057 MB / 358.4 MB, free: 4.945 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