Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingResistor.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.HeatingResistor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heatingResistor.i|heatingResistor.LossPower",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingResistor") translateModel(Modelica.Electrical.Analog.Examples.HeatingResistor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heatingResistor.i|heatingResistor.LossPower",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingResistor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001517/0.001517, allocations: 98.39 kB / 17.96 MB, free: 5.77 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.001879/0.001879, allocations: 177.3 kB / 18.86 MB, free: 4.906 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.047/2.047, 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.0004863/0.0004866, allocations: 12 kB / 282 MB, free: 3.426 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1255/0.126, allocations: 47.59 MB / 329.6 MB, free: 3.766 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingResistor): time 0.003275/0.1294, allocations: 1.835 MB / 331.4 MB, free: 1.914 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.00125/0.1307, allocations: 0.4957 MB / 331.9 MB, free: 1.41 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001285/0.1308, allocations: 0 / 331.9 MB, free: 1.41 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001659/0.131, allocations: 19.84 kB / 332 MB, free: 1.391 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001116/0.1311, allocations: 35.64 kB / 332 MB, free: 1.355 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002458/0.1314, allocations: 39.95 kB / 332 MB, free: 1.316 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002276/0.1316, allocations: 147.3 kB / 332.2 MB, free: 1.172 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002014/0.1318, allocations: 45.47 kB / 332.2 MB, free: 1.125 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001365/0.132, allocations: 55.72 kB / 332.3 MB, free: 1.07 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001283/0.1321, allocations: 55.77 kB / 332.3 MB, free: 1.016 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 2.355e-05/0.1322, allocations: 7.938 kB / 332.3 MB, free: 1.008 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.133e-05/0.1322, allocations: 15.94 kB / 332.4 MB, free: 0.9922 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 3.636e-05/0.1323, allocations: 23.91 kB / 332.4 MB, free: 0.9688 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001204/0.1324, allocations: 89.38 kB / 332.5 MB, free: 0.875 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002181/0.1326, allocations: 119.9 kB / 332.6 MB, free: 0.7578 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.568e-06/0.1327, allocations: 3.984 kB / 332.6 MB, free: 0.7539 MB / 270.1 MB Notification: Performance of FrontEnd: time 3.647e-06/0.1327, allocations: 0 / 332.6 MB, free: 0.7539 MB / 270.1 MB Notification: Performance of Transformations before backend: time 9.918e-06/0.1327, allocations: 0 / 332.6 MB, free: 0.7539 MB / 270.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.0007364/0.1334, allocations: 411.3 kB / 333 MB, free: 312 kB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.036e-05/0.1335, allocations: 16.02 kB / 333 MB, free: 296 kB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001723/0.1337, allocations: 24.69 kB / 333 MB, free: 272 kB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002667/0.134, allocations: 204.1 kB / 333.2 MB, free: 28 kB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.825e-05/0.134, allocations: 4.609 kB / 333.2 MB, free: 24 kB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.319e-05/0.134, allocations: 12.38 kB / 333.2 MB, free: 12 kB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000324/0.1343, allocations: 131.8 kB / 333.4 MB, free: 15.88 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.281e-05/0.1344, allocations: 0 / 333.4 MB, free: 15.88 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.363e-05/0.1344, allocations: 7.984 kB / 333.4 MB, free: 15.87 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.258e-05/0.1344, allocations: 7.984 kB / 333.4 MB, free: 15.86 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000208/0.1346, allocations: 80.67 kB / 333.5 MB, free: 15.78 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009999/0.1356, allocations: 0.6088 MB / 334.1 MB, free: 15.09 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003276/0.136, allocations: 86.56 kB / 334.2 MB, free: 15 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.701e-05/0.1361, allocations: 36.97 kB / 334.2 MB, free: 14.96 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.927e-05/0.1361, allocations: 0 / 334.2 MB, free: 14.96 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.261e-05/0.1362, allocations: 34.56 kB / 334.2 MB, free: 14.92 MB / 286.1 MB Notification: Performance of pre-optimization done (n=6): time 9.52e-07/0.1362, allocations: 4 kB / 334.2 MB, free: 14.91 MB / 286.1 MB Notification: Performance of matching and sorting (n=6): time 0.0008045/0.137, allocations: 259.4 kB / 334.5 MB, free: 14.63 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.716e-05/0.1371, allocations: 59.28 kB / 334.5 MB, free: 14.56 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001574/0.1372, allocations: 153.5 kB / 334.7 MB, free: 14.4 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.363e-05/0.1373, allocations: 25.7 kB / 334.7 MB, free: 14.37 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000104/0.1374, allocations: 124 kB / 334.8 MB, free: 14.25 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.45e-05/0.1374, allocations: 23.64 kB / 334.9 MB, free: 14.22 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.199e-05/0.1374, allocations: 17.72 kB / 334.9 MB, free: 14.2 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001712/0.1376, allocations: 322.8 kB / 335.2 MB, free: 13.88 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.123e-05/0.1377, allocations: 16 kB / 335.2 MB, free: 13.86 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.144e-05/0.1378, allocations: 58.48 kB / 335.3 MB, free: 13.79 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001417/0.138, allocations: 66.56 kB / 335.3 MB, free: 13.72 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.35e-06/0.138, allocations: 4.188 kB / 335.3 MB, free: 13.71 MB / 286.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003218/0.1383, allocations: 138.2 kB / 335.5 MB, free: 13.57 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.779e-05/0.1383, allocations: 12 kB / 335.5 MB, free: 13.56 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.534e-06/0.1384, allocations: 0 / 335.5 MB, free: 13.56 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002582/0.1386, allocations: 40.83 kB / 335.5 MB, free: 13.52 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.105e-05/0.1387, allocations: 8.25 kB / 335.5 MB, free: 13.51 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001638/0.1403, allocations: 1.522 MB / 337.1 MB, free: 11.85 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.728e-05/0.1404, allocations: 15.92 kB / 337.1 MB, free: 11.84 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.334e-06/0.1404, allocations: 4.062 kB / 337.1 MB, free: 11.83 MB / 286.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (5): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0001213/0.1406, allocations: 125.8 kB / 337.2 MB, free: 11.7 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.153e-05/0.1406, allocations: 7.906 kB / 337.2 MB, free: 11.69 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.757e-05/0.1407, allocations: 8.719 kB / 337.2 MB, free: 11.68 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.306e-06/0.1407, allocations: 7.938 kB / 337.2 MB, free: 11.67 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.062e-06/0.1407, allocations: 0 / 337.2 MB, free: 11.67 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.37e-06/0.1407, allocations: 3.984 kB / 337.2 MB, free: 11.67 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002431/0.1409, allocations: 209.6 kB / 337.4 MB, free: 11.41 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.365e-06/0.1409, allocations: 0 / 337.4 MB, free: 11.41 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.605e-05/0.141, allocations: 8 kB / 337.4 MB, free: 11.41 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001214/0.1411, allocations: 40.83 kB / 337.5 MB, free: 11.36 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.155e-06/0.1411, allocations: 128 / 337.5 MB, free: 11.36 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00147/0.1426, allocations: 1.506 MB / 339 MB, free: 9.727 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.1426, allocations: 0 / 339 MB, free: 9.727 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003444/0.143, allocations: 232.2 kB / 339.2 MB, free: 9.48 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.535e-05/0.143, allocations: 85.02 kB / 339.3 MB, free: 9.379 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.404e-05/0.1431, allocations: 3.938 kB / 339.3 MB, free: 9.375 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.933e-05/0.1432, allocations: 4 kB / 339.3 MB, free: 9.371 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.71e-05/0.1432, allocations: 11.92 kB / 339.3 MB, free: 9.359 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.159e-06/0.1432, allocations: 0 / 339.3 MB, free: 9.359 MB / 286.1 MB Notification: Performance of sorting global known variables: time 9.433e-05/0.1433, allocations: 119.2 kB / 339.4 MB, free: 9.242 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1433, allocations: 0 / 339.4 MB, free: 9.242 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003578/0.1437, allocations: 39.94 kB / 339.5 MB, free: 9.203 MB / 286.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (2): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001558/0.1438, allocations: 95.25 kB / 339.6 MB, free: 9.102 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0004039/0.1443, allocations: 186.6 kB / 339.7 MB, free: 8.906 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 3.777e-06/0.1443, allocations: 8 kB / 339.7 MB, free: 8.898 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002165/0.1445, allocations: 158.7 kB / 339.9 MB, free: 8.73 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002932/0.1448, allocations: 14.75 kB / 339.9 MB, free: 8.719 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006511/0.1455, allocations: 392.2 kB / 340.3 MB, free: 8.305 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003768/0.1459, allocations: 0.7157 MB / 341 MB, free: 7.562 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.403e-05/0.1459, allocations: 11.44 kB / 341 MB, free: 7.551 MB / 286.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1459, allocations: 0 / 341 MB, free: 7.551 MB / 286.1 MB Notification: Performance of Templates: time 0.004086/0.15, allocations: 1.879 MB / 342.9 MB, free: 5.668 MB / 286.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingResistor.makefile make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingResistor.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.HeatingResistorCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingResistorCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingResistorCalcHelperMain.o] Error 1