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.0009435/0.0009436, allocations: 88.67 kB / 17.58 MB, free: 5.758 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.0009061/0.0009061, allocations: 180.9 kB / 18.47 MB, free: 5.203 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.688/1.688, 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.00052/0.0005202, allocations: 16.22 kB / 281.4 MB, free: 3.75 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1283/0.1289, allocations: 47.58 MB / 329 MB, free: 4.098 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingResistor): time 0.002442/0.1314, allocations: 1.792 MB / 330.8 MB, free: 2.289 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007685/0.1321, allocations: 483.9 kB / 331.2 MB, free: 1.809 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.554e-05/0.1322, allocations: 4 kB / 331.2 MB, free: 1.805 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 9.898e-05/0.1324, allocations: 15.91 kB / 331.3 MB, free: 1.789 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 8.578e-05/0.1324, allocations: 39.64 kB / 331.3 MB, free: 1.75 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000196/0.1327, allocations: 35.95 kB / 331.3 MB, free: 1.715 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001771/0.1328, allocations: 143.3 kB / 331.5 MB, free: 1.574 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001548/0.133, allocations: 37.48 kB / 331.5 MB, free: 1.535 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001006/0.1331, allocations: 59.77 kB / 331.6 MB, free: 1.477 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001012/0.1332, allocations: 47.77 kB / 331.6 MB, free: 1.43 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 1.829e-05/0.1332, allocations: 12 kB / 331.6 MB, free: 1.418 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.788e-05/0.1333, allocations: 15.94 kB / 331.6 MB, free: 1.402 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 2.42e-05/0.1334, allocations: 19.92 kB / 331.7 MB, free: 1.383 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 4.02e-05/0.1334, allocations: 49.64 kB / 331.7 MB, free: 1.328 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001559/0.1336, allocations: 119.9 kB / 331.8 MB, free: 1.211 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.551e-06/0.1336, allocations: 0 / 331.8 MB, free: 1.211 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.1336, allocations: 0 / 331.8 MB, free: 1.211 MB / 270.1 MB Notification: Performance of Transformations before backend: time 6.262e-06/0.1336, allocations: 0 / 331.8 MB, free: 1.211 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.000597/0.1342, allocations: 423.1 kB / 332.2 MB, free: 0.75 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.173e-05/0.1343, allocations: 8.031 kB / 332.2 MB, free: 0.7422 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001159/0.1344, allocations: 19.8 kB / 332.3 MB, free: 0.7227 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002414/0.1346, allocations: 205 kB / 332.5 MB, free: 496 kB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.755e-05/0.1347, allocations: 16.19 kB / 332.5 MB, free: 480 kB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.092e-05/0.1347, allocations: 8 kB / 332.5 MB, free: 472 kB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002691/0.135, allocations: 119.5 kB / 332.6 MB, free: 348 kB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.069e-05/0.135, allocations: 4 kB / 332.6 MB, free: 344 kB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.071e-05/0.135, allocations: 8 kB / 332.6 MB, free: 336 kB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.943e-06/0.135, allocations: 0 / 332.6 MB, free: 336 kB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001883/0.1352, allocations: 84.61 kB / 332.7 MB, free: 252 kB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009762/0.1362, allocations: 0.6089 MB / 333.3 MB, free: 15.55 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002958/0.1365, allocations: 82.62 kB / 333.4 MB, free: 15.46 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.729e-05/0.1366, allocations: 36.97 kB / 333.4 MB, free: 15.43 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.802e-05/0.1367, allocations: 7.875 kB / 333.4 MB, free: 15.42 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.859e-05/0.1367, allocations: 38.56 kB / 333.5 MB, free: 15.37 MB / 286.1 MB Notification: Performance of pre-optimization done (n=6): time 1.162e-06/0.1367, allocations: 0 / 333.5 MB, free: 15.37 MB / 286.1 MB Notification: Performance of matching and sorting (n=6): time 0.0006867/0.1374, allocations: 263.4 kB / 333.7 MB, free: 15.09 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.409e-05/0.1375, allocations: 51.41 kB / 333.8 MB, free: 15.02 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001479/0.1376, allocations: 149.5 kB / 333.9 MB, free: 14.87 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.863e-05/0.1376, allocations: 29.7 kB / 334 MB, free: 14.83 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.339e-05/0.1377, allocations: 127.9 kB / 334.1 MB, free: 14.7 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.27e-05/0.1378, allocations: 31.66 kB / 334.1 MB, free: 14.67 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5e-06/0.1378, allocations: 0 / 334.1 MB, free: 14.67 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001398/0.1379, allocations: 318.8 kB / 334.4 MB, free: 14.35 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.325e-05/0.138, allocations: 24 kB / 334.4 MB, free: 14.33 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.608e-05/0.1381, allocations: 46.55 kB / 334.5 MB, free: 14.27 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.73e-05/0.1382, allocations: 28 kB / 334.5 MB, free: 14.25 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.288e-06/0.1382, allocations: 0 / 334.5 MB, free: 14.25 MB / 286.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002664/0.1384, allocations: 142.2 kB / 334.7 MB, free: 14.1 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.583e-05/0.1385, allocations: 8.062 kB / 334.7 MB, free: 14.09 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.265e-06/0.1385, allocations: 3.984 kB / 334.7 MB, free: 14.09 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001944/0.1387, allocations: 36.84 kB / 334.7 MB, free: 14.05 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.622e-05/0.1387, allocations: 11.98 kB / 334.7 MB, free: 14.04 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00189/0.1406, allocations: 1.51 MB / 336.2 MB, free: 12.39 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.459e-05/0.1407, allocations: 15.83 kB / 336.2 MB, free: 12.38 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.137e-05/0.1408, allocations: 8.141 kB / 336.3 MB, free: 12.37 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of prepare postOptimizeDAE: time 0.0001109/0.1409, allocations: 117.8 kB / 336.4 MB, free: 12.25 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.252e-05/0.1409, allocations: 11.91 kB / 336.4 MB, free: 12.23 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.801e-05/0.141, allocations: 12.7 kB / 336.4 MB, free: 12.22 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.141, allocations: 0 / 336.4 MB, free: 12.22 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.362e-06/0.141, allocations: 0 / 336.4 MB, free: 12.22 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.141, allocations: 4 kB / 336.4 MB, free: 12.21 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002459/0.1412, allocations: 221.5 kB / 336.6 MB, free: 11.95 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.1412, allocations: 0 / 336.6 MB, free: 11.95 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.501e-05/0.1413, allocations: 8 kB / 336.6 MB, free: 11.94 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00014/0.1414, allocations: 36.83 kB / 336.7 MB, free: 11.9 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.839e-06/0.1414, allocations: 0 / 336.7 MB, free: 11.9 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001491/0.1429, allocations: 1.518 MB / 338.2 MB, free: 10.25 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.023e-05/0.143, allocations: 0 / 338.2 MB, free: 10.25 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003135/0.1433, allocations: 224.2 kB / 338.4 MB, free: 10.02 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.525e-05/0.1434, allocations: 85.2 kB / 338.5 MB, free: 9.914 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.227e-05/0.1434, allocations: 0 / 338.5 MB, free: 9.914 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.595e-05/0.1435, allocations: 11.92 kB / 338.5 MB, free: 9.902 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.625e-05/0.1435, allocations: 11.98 kB / 338.5 MB, free: 9.891 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.803e-06/0.1435, allocations: 4 kB / 338.5 MB, free: 9.887 MB / 286.1 MB Notification: Performance of sorting global known variables: time 7.726e-05/0.1436, allocations: 103.3 kB / 338.6 MB, free: 9.785 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1436, allocations: 4 kB / 338.6 MB, free: 9.781 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003634/0.144, allocations: 43.84 kB / 338.6 MB, free: 9.738 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001177/0.1441, allocations: 99.19 kB / 338.7 MB, free: 9.633 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0003757/0.1445, allocations: 186.7 kB / 338.9 MB, free: 9.438 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.1445, allocations: 4.125 kB / 338.9 MB, free: 9.434 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002046/0.1447, allocations: 158.6 kB / 339.1 MB, free: 9.266 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002666/0.145, allocations: 15.94 kB / 339.1 MB, free: 9.25 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005668/0.1456, allocations: 372 kB / 339.5 MB, free: 8.855 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003376/0.1459, allocations: 0.7157 MB / 340.2 MB, free: 8.113 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.969e-05/0.146, allocations: 11.44 kB / 340.2 MB, free: 8.102 MB / 286.1 MB Notification: Performance of SimCode: time 2.41e-07/0.146, allocations: 0 / 340.2 MB, free: 8.102 MB / 286.1 MB Notification: Performance of Templates: time 0.003616/0.1496, allocations: 1.891 MB / 342.1 MB, free: 6.211 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++ 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.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