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.0008684/0.0008685, allocations: 87.31 kB / 17.58 MB, free: 6.219 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.0009218/0.0009219, allocations: 187.8 kB / 18.48 MB, free: 5.379 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.778/1.778, allocations: 205.4 MB / 224.6 MB, free: 13.16 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.0004527/0.0004528, allocations: 12 kB / 281.4 MB, free: 3.75 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09238/0.09284, allocations: 47.58 MB / 329 MB, free: 4.09 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingMOSInverter): time 0.002936/0.09583, allocations: 2.635 MB / 331.6 MB, free: 1.438 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001396/0.09727, allocations: 0.7892 MB / 332.4 MB, free: 0.6406 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001609/0.09745, allocations: 4 kB / 332.4 MB, free: 0.6367 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001471/0.09761, allocations: 43.62 kB / 332.5 MB, free: 0.5938 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001724/0.09779, allocations: 99.16 kB / 332.6 MB, free: 0.4961 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003094/0.0981, allocations: 103.9 kB / 332.7 MB, free: 404 kB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004564/0.09857, allocations: 499.5 kB / 333.1 MB, free: 15.9 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002399/0.09882, allocations: 123.5 kB / 333.3 MB, free: 15.77 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002284/0.09906, allocations: 187.4 kB / 333.4 MB, free: 15.59 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002644/0.09933, allocations: 211.1 kB / 333.7 MB, free: 15.38 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 5.249e-05/0.09939, allocations: 32 kB / 333.7 MB, free: 15.35 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001014/0.0995, allocations: 32 kB / 333.7 MB, free: 15.32 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 8.199e-05/0.09959, allocations: 79.72 kB / 333.8 MB, free: 15.24 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 8.942e-05/0.09968, allocations: 101.5 kB / 333.9 MB, free: 15.14 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004001/0.1001, allocations: 407.1 kB / 334.3 MB, free: 14.74 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.631e-06/0.1001, allocations: 0 / 334.3 MB, free: 14.74 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.964e-06/0.1001, allocations: 0 / 334.3 MB, free: 14.74 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.943e-06/0.1001, allocations: 0 / 334.3 MB, free: 14.74 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.001383/0.1015, allocations: 0.7563 MB / 335 MB, free: 13.93 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.665e-05/0.1016, allocations: 8.031 kB / 335.1 MB, free: 13.92 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.063e-05/0.1017, allocations: 51.44 kB / 335.1 MB, free: 13.87 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003549/0.102, allocations: 293.4 kB / 335.4 MB, free: 13.54 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.261e-05/0.1021, allocations: 32.95 kB / 335.4 MB, free: 13.51 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.173e-05/0.1021, allocations: 36 kB / 335.5 MB, free: 13.48 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001025/0.1032, allocations: 0.5279 MB / 336 MB, free: 12.93 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.422e-05/0.1032, allocations: 4 kB / 336 MB, free: 12.93 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.559e-05/0.1032, allocations: 16 kB / 336 MB, free: 12.91 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.588e-06/0.1033, allocations: 8 kB / 336 MB, free: 12.9 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001232/0.1045, allocations: 0.5621 MB / 336.6 MB, free: 12.34 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.002464/0.107, allocations: 1.702 MB / 338.3 MB, free: 10.49 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001027/0.108, allocations: 459.7 kB / 338.7 MB, free: 10.04 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004751/0.1085, allocations: 261.8 kB / 339 MB, free: 9.777 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.479e-05/0.1086, allocations: 16.25 kB / 339 MB, free: 9.762 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.255e-05/0.1086, allocations: 42.83 kB / 339 MB, free: 9.711 MB / 286.1 MB Notification: Performance of pre-optimization done (n=40): time 3.677e-06/0.1086, allocations: 3.984 kB / 339 MB, free: 9.707 MB / 286.1 MB Notification: Performance of matching and sorting (n=40): time 0.004332/0.1129, allocations: 1.552 MB / 340.6 MB, free: 8.105 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.854e-05/0.1131, allocations: 158.2 kB / 340.7 MB, free: 7.914 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003167/0.1134, allocations: 263 kB / 341 MB, free: 7.652 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 4.084e-05/0.1134, allocations: 33.7 kB / 341 MB, free: 7.613 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001354/0.1136, allocations: 208.3 kB / 341.2 MB, free: 7.406 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001037/0.1137, allocations: 138 kB / 341.4 MB, free: 7.27 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.368e-05/0.1137, allocations: 12 kB / 341.4 MB, free: 7.258 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001259/0.1138, allocations: 346.8 kB / 341.7 MB, free: 6.91 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004486/0.1143, allocations: 200.8 kB / 341.9 MB, free: 6.711 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005137/0.1148, allocations: 302.5 kB / 342.2 MB, free: 6.383 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004736/0.1153, allocations: 215.8 kB / 342.4 MB, free: 6.172 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.936e-06/0.1153, allocations: 4 kB / 342.4 MB, free: 6.168 MB / 286.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.001705/0.117, allocations: 0.764 MB / 343.2 MB, free: 5.391 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.999e-05/0.1171, allocations: 11.98 kB / 343.2 MB, free: 5.379 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.834e-06/0.1171, allocations: 0 / 343.2 MB, free: 5.379 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001168/0.1182, allocations: 337.4 kB / 343.5 MB, free: 5.043 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003198/0.1186, allocations: 91.88 kB / 343.6 MB, free: 4.953 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001152/0.1197, allocations: 1.354 MB / 345 MB, free: 3.547 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004343/0.1202, allocations: 95.69 kB / 345.1 MB, free: 3.453 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.127e-05/0.1202, allocations: 23.95 kB / 345.1 MB, free: 3.43 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 (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.0001923/0.1204, allocations: 161.9 kB / 345.3 MB, free: 3.262 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.658e-05/0.1205, allocations: 31.62 kB / 345.3 MB, free: 3.23 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001896/0.1224, allocations: 0.8175 MB / 346.1 MB, free: 2.398 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.012e-05/0.1225, allocations: 11.95 kB / 346.1 MB, free: 2.387 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.342e-06/0.1225, allocations: 0 / 346.1 MB, free: 2.387 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.063e-06/0.1225, allocations: 3.984 kB / 346.1 MB, free: 2.383 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005122/0.123, allocations: 453.1 kB / 346.6 MB, free: 1.891 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.076e-06/0.123, allocations: 4 kB / 346.6 MB, free: 1.887 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002776/0.1233, allocations: 67.89 kB / 346.6 MB, free: 1.82 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001101/0.1244, allocations: 337.4 kB / 347 MB, free: 1.484 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.021e-05/0.1244, allocations: 12 kB / 347 MB, free: 1.473 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001115/0.1256, allocations: 1.378 MB / 348.4 MB, free: 44 kB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.644e-06/0.1256, allocations: 0 / 348.4 MB, free: 44 kB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002291/0.1279, allocations: 1.129 MB / 349.5 MB, free: 14.89 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001061/0.128, allocations: 112.6 kB / 349.6 MB, free: 14.76 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.6e-05/0.1281, allocations: 8 kB / 349.6 MB, free: 14.75 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003366/0.1284, allocations: 63.92 kB / 349.7 MB, free: 14.69 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.048e-05/0.1285, allocations: 27.91 kB / 349.7 MB, free: 14.66 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.568e-05/0.1285, allocations: 12 kB / 349.7 MB, free: 14.65 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002146/0.1287, allocations: 190 kB / 349.9 MB, free: 14.46 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1287, allocations: 0 / 349.9 MB, free: 14.46 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000422/0.1292, allocations: 111.8 kB / 350 MB, free: 14.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 (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.0001807/0.1294, allocations: 111.5 kB / 350.1 MB, free: 14.24 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001179/0.1306, allocations: 0.5151 MB / 350.6 MB, free: 13.72 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.1306, allocations: 0 / 350.6 MB, free: 13.72 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005532/0.1311, allocations: 275.9 kB / 350.9 MB, free: 13.45 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004203/0.1316, allocations: 44.55 kB / 350.9 MB, free: 13.41 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001617/0.1332, allocations: 1.097 MB / 352 MB, free: 12.29 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000333/0.1335, allocations: 0.7997 MB / 352.8 MB, free: 11.46 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.915e-05/0.1336, allocations: 23.44 kB / 352.9 MB, free: 11.43 MB / 302.1 MB Notification: Performance of SimCode: time 5.81e-07/0.1336, allocations: 3.938 kB / 352.9 MB, free: 11.43 MB / 302.1 MB Notification: Performance of Templates: time 0.008683/0.1423, allocations: 7.026 MB / 359.9 MB, free: 4.395 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++ 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_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