Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Electrical.Analog.Examples.HeatingMOSInverter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001098/0.001098, allocations: 87.67 kB / 17.63 MB, free: 6.16 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001387/0.001388, allocations: 196.5 kB / 18.54 MB, free: 5.305 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.861/1.861, allocations: 227.3 MB / 246.6 MB, free: 12.03 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002966/0.0002968, allocations: 8 kB / 307.3 MB, free: 1.629 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1617/0.162, allocations: 51.5 MB / 358.8 MB, free: 14.13 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingMOSInverter): time 0.004665/0.1667, allocations: 2.69 MB / 361.5 MB, free: 11.43 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002249/0.169, allocations: 0.8006 MB / 362.3 MB, free: 10.62 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002769/0.1694, allocations: 7.938 kB / 362.3 MB, free: 10.61 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001941/0.1696, allocations: 47.61 kB / 362.3 MB, free: 10.56 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002141/0.1698, allocations: 95.22 kB / 362.4 MB, free: 10.47 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004426/0.1702, allocations: 107.8 kB / 362.5 MB, free: 10.36 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005604/0.1708, allocations: 0.4956 MB / 363 MB, free: 9.867 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002897/0.1711, allocations: 127.6 kB / 363.2 MB, free: 9.738 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004159/0.1715, allocations: 191.4 kB / 363.3 MB, free: 9.551 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002993/0.1718, allocations: 211.1 kB / 363.6 MB, free: 9.344 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.873e-05/0.1719, allocations: 32 kB / 363.6 MB, free: 9.312 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000122/0.172, allocations: 39.98 kB / 363.6 MB, free: 9.273 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 8.712e-05/0.1721, allocations: 87.59 kB / 363.7 MB, free: 9.188 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001026/0.1723, allocations: 101.5 kB / 363.8 MB, free: 9.082 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004788/0.1727, allocations: 403.1 kB / 364.2 MB, free: 8.688 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.14e-05/0.1728, allocations: 0 / 364.2 MB, free: 8.688 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.857e-06/0.1728, allocations: 0 / 364.2 MB, free: 8.688 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.004e-05/0.1728, allocations: 0 / 364.2 MB, free: 8.688 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.001762/0.1746, allocations: 0.7681 MB / 365 MB, free: 7.867 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.429e-05/0.1746, allocations: 8.031 kB / 365 MB, free: 7.859 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002811/0.1749, allocations: 55.44 kB / 365 MB, free: 7.805 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004748/0.1754, allocations: 305.3 kB / 365.3 MB, free: 7.461 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.956e-05/0.1755, allocations: 25 kB / 365.4 MB, free: 7.438 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.427e-05/0.1756, allocations: 47.86 kB / 365.4 MB, free: 7.391 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001145/0.1767, allocations: 0.5318 MB / 365.9 MB, free: 6.84 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.11e-05/0.1768, allocations: 3.984 kB / 365.9 MB, free: 6.836 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.308e-05/0.1768, allocations: 16 kB / 366 MB, free: 6.82 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.356e-05/0.1769, allocations: 8 kB / 366 MB, free: 6.812 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001333/0.1782, allocations: 0.566 MB / 366.5 MB, free: 6.246 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.002877/0.1811, allocations: 1.69 MB / 368.2 MB, free: 4.41 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001216/0.1823, allocations: 467.5 kB / 368.7 MB, free: 3.945 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005249/0.1829, allocations: 262.9 kB / 368.9 MB, free: 3.688 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.287e-05/0.1829, allocations: 12.33 kB / 368.9 MB, free: 3.676 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.961e-05/0.183, allocations: 38.89 kB / 369 MB, free: 3.629 MB / 302.1 MB Notification: Performance of pre-optimization done (n=40): time 7.223e-06/0.183, allocations: 4 kB / 369 MB, free: 3.625 MB / 302.1 MB Notification: Performance of matching and sorting (n=40): time 0.005138/0.1881, allocations: 1.533 MB / 370.5 MB, free: 2.043 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001565/0.1883, allocations: 162.2 kB / 370.7 MB, free: 1.848 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004572/0.1888, allocations: 267 kB / 370.9 MB, free: 1.578 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 5.504e-05/0.1889, allocations: 37.64 kB / 371 MB, free: 1.535 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002161/0.1891, allocations: 212.3 kB / 371.2 MB, free: 1.324 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001502/0.1892, allocations: 138 kB / 371.3 MB, free: 1.188 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.725e-05/0.1893, allocations: 8 kB / 371.3 MB, free: 1.18 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0002202/0.1895, allocations: 338.8 kB / 371.7 MB, free: 0.8398 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005082/0.19, allocations: 204.7 kB / 371.9 MB, free: 0.6406 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006502/0.1907, allocations: 306.5 kB / 372.2 MB, free: 308 kB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005555/0.1913, allocations: 215.9 kB / 372.4 MB, free: 92 kB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.699e-06/0.1913, allocations: 0 / 372.4 MB, free: 92 kB / 302.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.3299/0.5212, allocations: 0.7635 MB / 373.1 MB, free: 19.74 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.76e-05/0.5213, allocations: 5.406 kB / 373.1 MB, free: 19.74 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.464e-05/0.5213, allocations: 4.234 kB / 373.1 MB, free: 19.74 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001587/0.5229, allocations: 334.4 kB / 373.5 MB, free: 19.72 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000383/0.5233, allocations: 86.72 kB / 373.5 MB, free: 19.72 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001238/0.5245, allocations: 1.372 MB / 374.9 MB, free: 18.69 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005319/0.5251, allocations: 91.44 kB / 375 MB, free: 18.69 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.373e-05/0.5251, allocations: 18.06 kB / 375 MB, free: 18.69 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.0002392/0.5254, allocations: 167.2 kB / 375.2 MB, free: 18.57 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.303e-05/0.5255, allocations: 37.95 kB / 375.2 MB, free: 18.56 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00255/0.528, allocations: 0.8145 MB / 376 MB, free: 18.47 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.28e-05/0.5281, allocations: 4.641 kB / 376 MB, free: 18.47 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.996e-06/0.5281, allocations: 4 kB / 376 MB, free: 18.46 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.482e-05/0.5281, allocations: 3.391 kB / 376.1 MB, free: 18.46 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001025/0.5291, allocations: 464.9 kB / 376.5 MB, free: 18.27 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.941e-06/0.5292, allocations: 0.6094 kB / 376.5 MB, free: 18.27 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003173/0.5295, allocations: 63.48 kB / 376.6 MB, free: 18.27 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001305/0.5308, allocations: 341.2 kB / 376.9 MB, free: 18.23 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.768e-05/0.5308, allocations: 12.67 kB / 376.9 MB, free: 18.23 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00117/0.532, allocations: 1.379 MB / 378.3 MB, free: 17.18 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.502e-06/0.532, allocations: 4.969 kB / 378.3 MB, free: 17.18 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002651/0.5347, allocations: 1.125 MB / 379.4 MB, free: 16.82 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.609e-05/0.5348, allocations: 113.9 kB / 379.5 MB, free: 16.71 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.297e-05/0.5349, allocations: 9.969 kB / 379.5 MB, free: 16.7 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000368/0.5352, allocations: 61.23 kB / 379.6 MB, free: 16.7 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.979e-05/0.5353, allocations: 26.73 kB / 379.6 MB, free: 16.69 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.089e-05/0.5354, allocations: 17.8 kB / 379.6 MB, free: 16.68 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002506/0.5356, allocations: 188.9 kB / 379.8 MB, free: 16.57 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.5356, allocations: 0 / 379.8 MB, free: 16.57 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004882/0.5361, allocations: 109.8 kB / 379.9 MB, free: 16.56 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.0001837/0.5363, allocations: 111.3 kB / 380 MB, free: 16.46 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001396/0.5377, allocations: 0.5184 MB / 380.6 MB, free: 16.32 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.5377, allocations: 0 / 380.6 MB, free: 16.32 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006626/0.5384, allocations: 276.4 kB / 380.8 MB, free: 16.25 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004601/0.5389, allocations: 54.55 kB / 380.9 MB, free: 16.22 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00185/0.5407, allocations: 1.113 MB / 382 MB, free: 15.55 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003179/0.5411, allocations: 0.794 MB / 382.8 MB, free: 14.85 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.62e-05/0.5412, allocations: 26.33 kB / 382.8 MB, free: 14.84 MB / 302.1 MB Notification: Performance of SimCode: time 3.81e-07/0.5412, allocations: 0 / 382.8 MB, free: 14.84 MB / 302.1 MB Notification: Performance of Templates: time 0.01261/0.5538, allocations: 7.112 MB / 389.9 MB, free: 12.48 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.makefile make -j1 -f Modelica_trunk_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_trunk_Modelica.Electrical.Analog.Examples.HeatingMOSInverterCalcHelperMain.o OMCppModelica_trunk_Modelica.Electrical.Analog.Examples.HeatingMOSInverterCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_trunk_Modelica.Electrical.Analog.Examples.HeatingMOSInverterCalcHelperMain.o] Error 1