Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_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 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.HeatingMOSInverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Capacitor1.v|HeatCapacitor1.T",fileNamePrefix="Modelica_4.0.0_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_4.0.0_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.001238/0.001239, allocations: 94.83 kB / 16.95 MB, free: 5.57 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.001388/0.001388, allocations: 184.9 kB / 17.85 MB, free: 5.246 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.578/1.578, allocations: 223.2 MB / 241.9 MB, free: 300 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004171/0.0004172, allocations: 8.797 kB / 301.4 MB, free: 6.438 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1355/0.1359, allocations: 50.42 MB / 351.9 MB, free: 4.012 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingMOSInverter): time 0.004031/0.14, allocations: 2.668 MB / 354.5 MB, free: 1.324 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002046/0.1421, allocations: 0.7654 MB / 355.3 MB, free: 0.5508 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002572/0.1424, allocations: 4 kB / 355.3 MB, free: 0.5469 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002256/0.1426, allocations: 43.62 kB / 355.4 MB, free: 0.5039 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002273/0.1428, allocations: 95.23 kB / 355.4 MB, free: 420 kB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004622/0.1433, allocations: 103.8 kB / 355.5 MB, free: 316 kB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.00064/0.144, allocations: 0.4918 MB / 356 MB, free: 15.81 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000358/0.1443, allocations: 127.5 kB / 356.2 MB, free: 15.69 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003265/0.1447, allocations: 183.4 kB / 356.3 MB, free: 15.51 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003153/0.145, allocations: 223.1 kB / 356.6 MB, free: 15.29 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 6.127e-05/0.1451, allocations: 28 kB / 356.6 MB, free: 15.26 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001085/0.1452, allocations: 28 kB / 356.6 MB, free: 15.23 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 8.861e-05/0.1453, allocations: 87.67 kB / 356.7 MB, free: 15.15 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001036/0.1454, allocations: 93.52 kB / 356.8 MB, free: 15.05 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004504/0.1458, allocations: 411.1 kB / 357.2 MB, free: 14.65 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.396e-06/0.1459, allocations: 0 / 357.2 MB, free: 14.65 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.106e-06/0.1459, allocations: 4 kB / 357.2 MB, free: 14.64 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.566e-06/0.1459, allocations: 0 / 357.2 MB, free: 14.64 MB / 302.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.001688/0.1476, allocations: 0.7563 MB / 358 MB, free: 13.84 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.613e-05/0.1477, allocations: 8.031 kB / 358 MB, free: 13.83 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000141/0.1478, allocations: 55.39 kB / 358 MB, free: 13.77 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005037/0.1483, allocations: 301.3 kB / 358.3 MB, free: 13.44 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.015e-05/0.1484, allocations: 29 kB / 358.3 MB, free: 13.41 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.344e-05/0.1485, allocations: 43.89 kB / 358.4 MB, free: 13.37 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001199/0.1497, allocations: 0.5357 MB / 358.9 MB, free: 12.82 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.801e-05/0.1497, allocations: 0 / 358.9 MB, free: 12.82 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.892e-05/0.1498, allocations: 16 kB / 358.9 MB, free: 12.8 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.831e-05/0.1498, allocations: 8 kB / 358.9 MB, free: 12.79 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001432/0.1512, allocations: 0.5621 MB / 359.5 MB, free: 12.23 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.003048/0.1543, allocations: 1.702 MB / 361.2 MB, free: 10.38 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00123/0.1555, allocations: 459.7 kB / 361.7 MB, free: 9.918 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006293/0.1562, allocations: 265.7 kB / 361.9 MB, free: 9.656 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.435e-05/0.1562, allocations: 8.328 kB / 361.9 MB, free: 9.648 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.571e-05/0.1563, allocations: 38.89 kB / 362 MB, free: 9.602 MB / 302.1 MB Notification: Performance of pre-optimization done (n=40): time 2.063e-06/0.1563, allocations: 0 / 362 MB, free: 9.602 MB / 302.1 MB Notification: Performance of matching and sorting (n=40): time 0.005208/0.1615, allocations: 1.533 MB / 363.5 MB, free: 8.02 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001339/0.1617, allocations: 166.2 kB / 363.7 MB, free: 7.82 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004375/0.1621, allocations: 267 kB / 363.9 MB, free: 7.551 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 5.237e-05/0.1622, allocations: 29.7 kB / 363.9 MB, free: 7.516 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001804/0.1624, allocations: 216.3 kB / 364.2 MB, free: 7.301 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001338/0.1625, allocations: 134 kB / 364.3 MB, free: 7.168 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.768e-05/0.1625, allocations: 12 kB / 364.3 MB, free: 7.156 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0002056/0.1628, allocations: 342.8 kB / 364.6 MB, free: 6.812 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005105/0.1633, allocations: 204.7 kB / 364.8 MB, free: 6.613 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006489/0.1639, allocations: 310.4 kB / 365.1 MB, free: 6.273 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000559/0.1645, allocations: 219.9 kB / 365.3 MB, free: 6.059 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.148e-06/0.1645, allocations: 0 / 365.3 MB, free: 6.059 MB / 302.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.001962/0.1665, allocations: 0.7679 MB / 366.1 MB, free: 5.277 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.331e-05/0.1665, allocations: 4 kB / 366.1 MB, free: 5.273 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.386e-05/0.1666, allocations: 8.031 kB / 366.1 MB, free: 5.266 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001548/0.1681, allocations: 345.4 kB / 366.5 MB, free: 4.922 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003592/0.1685, allocations: 83.88 kB / 366.5 MB, free: 4.84 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001548/0.1701, allocations: 1.37 MB / 367.9 MB, free: 3.418 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005236/0.1706, allocations: 95.67 kB / 368 MB, free: 3.324 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.485e-05/0.1707, allocations: 8 kB / 368 MB, free: 3.316 MB / 302.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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 9,1 9} Notification: Performance of prepare postOptimizeDAE: time 0.0002753/0.1709, allocations: 161.7 kB / 368.2 MB, free: 3.148 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.126e-05/0.171, allocations: 35.58 kB / 368.2 MB, free: 3.113 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002283/0.1733, allocations: 0.8251 MB / 369 MB, free: 2.277 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.162e-05/0.1733, allocations: 8 kB / 369 MB, free: 2.27 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.087e-06/0.1734, allocations: 0 / 369 MB, free: 2.27 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.452e-06/0.1734, allocations: 192 / 369 MB, free: 2.27 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008228/0.1742, allocations: 469 kB / 369.5 MB, free: 1.762 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.939e-06/0.1742, allocations: 3.938 kB / 369.5 MB, free: 1.758 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003243/0.1746, allocations: 63.89 kB / 369.6 MB, free: 1.695 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001323/0.1759, allocations: 349.3 kB / 369.9 MB, free: 1.348 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.678e-05/0.1759, allocations: 4 kB / 369.9 MB, free: 1.344 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3093/0.4853, allocations: 1.372 MB / 371.3 MB, free: 25.08 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.421e-06/0.4854, allocations: 1.156 kB / 371.3 MB, free: 25.08 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003771/0.4891, allocations: 1.13 MB / 372.4 MB, free: 24.93 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000181/0.4894, allocations: 115.4 kB / 372.5 MB, free: 24.84 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.385e-05/0.4894, allocations: 5.875 kB / 372.5 MB, free: 24.84 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004328/0.4899, allocations: 61.75 kB / 372.6 MB, free: 24.84 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001223/0.49, allocations: 23.86 kB / 372.6 MB, free: 24.84 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.532e-05/0.4901, allocations: 11.97 kB / 372.6 MB, free: 24.84 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0003215/0.4904, allocations: 194.9 kB / 372.8 MB, free: 24.76 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.4904, allocations: 0 / 372.8 MB, free: 24.76 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005763/0.491, allocations: 114.5 kB / 372.9 MB, free: 24.76 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 10,1 10} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002579/0.4912, allocations: 106.8 kB / 373 MB, free: 24.67 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001617/0.4929, allocations: 0.5148 MB / 373.6 MB, free: 24.66 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.91e-06/0.4929, allocations: 0.75 kB / 373.6 MB, free: 24.66 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008419/0.4937, allocations: 275.8 kB / 373.8 MB, free: 24.66 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005217/0.4943, allocations: 46.22 kB / 373.9 MB, free: 24.66 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002507/0.4968, allocations: 1.105 MB / 375 MB, free: 24.11 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004658/0.4973, allocations: 0.7966 MB / 375.8 MB, free: 23.4 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001067/0.4974, allocations: 27.25 kB / 375.8 MB, free: 23.39 MB / 302.1 MB Notification: Performance of SimCode: time 7.42e-07/0.4974, allocations: 0 / 375.8 MB, free: 23.39 MB / 302.1 MB Notification: Performance of Templates: time 0.01522/0.5126, allocations: 7.107 MB / 382.9 MB, free: 21.59 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.makefile make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.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.HeatingMOSInverterCalcHelperMain.o OMCppModelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingMOSInverterCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingMOSInverterCalcHelperMain.o] Error 1