Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr HanserModelica_HanserModelica.FirstSteps.Electrical1.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/Modelica 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/HanserModelica 2.0.0/package.mo", uses=false) Using package HanserModelica with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0/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 Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 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(HanserModelica.FirstSteps.Electrical1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.FirstSteps.Electrical1") translateModel(HanserModelica.FirstSteps.Electrical1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.FirstSteps.Electrical1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001127/0.001127, allocations: 102.7 kB / 15.71 MB, free: 460 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.503/1.503, allocations: 223.3 MB / 239.7 MB, free: 5.645 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00105/0.00105, allocations: 183.6 kB / 290.9 MB, free: 2.336 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0/package.mo): time 0.04735/0.04735, allocations: 8.776 MB / 350.8 MB, free: 4.746 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004114/0.0004115, allocations: 16.86 kB / 413.8 MB, free: 43.06 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1255/0.126, allocations: 52.55 MB / 466.4 MB, free: 13.61 MB / 302.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.FirstSteps.Electrical1): time 0.000683/0.1267, allocations: 210.3 kB / 466.6 MB, free: 13.4 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001713/0.1269, allocations: 27.91 kB / 466.6 MB, free: 13.38 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.558e-05/0.1269, allocations: 0 / 466.6 MB, free: 13.38 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 1.579e-05/0.127, allocations: 0 / 466.6 MB, free: 13.38 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 3.661e-05/0.127, allocations: 3.938 kB / 466.6 MB, free: 13.37 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001318/0.1272, allocations: 8 kB / 466.6 MB, free: 13.36 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 6.291e-05/0.1272, allocations: 8 kB / 466.6 MB, free: 13.36 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.396e-05/0.1273, allocations: 3.984 kB / 466.6 MB, free: 13.35 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.187e-05/0.1273, allocations: 11.92 kB / 466.6 MB, free: 13.34 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.504e-05/0.1274, allocations: 3.938 kB / 466.6 MB, free: 13.34 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.802e-05/0.1274, allocations: 4 kB / 466.6 MB, free: 13.33 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.119e-05/0.1274, allocations: 0 / 466.6 MB, free: 13.33 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 1.166e-05/0.1275, allocations: 3.938 kB / 466.6 MB, free: 13.33 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.044e-05/0.1275, allocations: 25.7 kB / 466.7 MB, free: 13.3 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 4.595e-05/0.1275, allocations: 7.984 kB / 466.7 MB, free: 13.29 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/0.1276, allocations: 4 kB / 466.7 MB, free: 13.29 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.835e-06/0.1276, allocations: 0 / 466.7 MB, free: 13.29 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.099e-06/0.1276, allocations: 0 / 466.7 MB, free: 13.29 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004591/0.128, allocations: 321.6 kB / 467 MB, free: 12.93 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.47e-05/0.1281, allocations: 12.03 kB / 467 MB, free: 12.91 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.435e-05/0.1281, allocations: 7.891 kB / 467 MB, free: 12.91 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001481/0.1283, allocations: 159.4 kB / 467.2 MB, free: 12.71 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.623e-05/0.1283, allocations: 0 / 467.2 MB, free: 12.71 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.611e-05/0.1284, allocations: 4 kB / 467.2 MB, free: 12.71 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001382/0.1285, allocations: 41.69 kB / 467.2 MB, free: 12.66 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.378e-06/0.1285, allocations: 0 / 467.2 MB, free: 12.66 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.219e-05/0.1285, allocations: 0 / 467.2 MB, free: 12.66 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.561e-06/0.1285, allocations: 0 / 467.2 MB, free: 12.66 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.591e-05/0.1286, allocations: 7.953 kB / 467.2 MB, free: 12.65 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002073/0.1288, allocations: 157.6 kB / 467.4 MB, free: 12.45 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001025/0.1289, allocations: 46.53 kB / 467.4 MB, free: 12.39 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.75e-05/0.129, allocations: 16.86 kB / 467.4 MB, free: 12.38 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.104e-05/0.129, allocations: 0 / 467.4 MB, free: 12.38 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.282e-05/0.129, allocations: 34.56 kB / 467.5 MB, free: 12.33 MB / 302.1 MB Notification: Performance of pre-optimization done (n=3): time 9.02e-07/0.129, allocations: 0 / 467.5 MB, free: 12.33 MB / 302.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001954/0.1292, allocations: 49.72 kB / 467.5 MB, free: 12.28 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.31e-05/0.1293, allocations: 55.41 kB / 467.6 MB, free: 12.21 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.032e-05/0.1294, allocations: 97.8 kB / 467.7 MB, free: 12.11 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.598e-05/0.1294, allocations: 29.7 kB / 467.7 MB, free: 12.07 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.982e-05/0.1295, allocations: 88.14 kB / 467.8 MB, free: 11.98 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.737e-05/0.1295, allocations: 7.812 kB / 467.8 MB, free: 11.97 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.358e-06/0.1295, allocations: 0 / 467.8 MB, free: 11.97 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001787/0.1297, allocations: 318.8 kB / 468.1 MB, free: 11.65 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.555e-05/0.1297, allocations: 3.984 kB / 468.1 MB, free: 11.65 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.246e-05/0.1298, allocations: 4 kB / 468.1 MB, free: 11.64 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.575e-05/0.1298, allocations: 8 kB / 468.1 MB, free: 11.64 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.1298, allocations: 0 / 468.1 MB, free: 11.64 MB / 302.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.689e-05/0.1299, allocations: 49.69 kB / 468.2 MB, free: 11.58 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.053e-05/0.1299, allocations: 14.12 kB / 468.2 MB, free: 11.57 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.824e-06/0.1299, allocations: 4 kB / 468.2 MB, free: 11.57 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.837e-05/0.1299, allocations: 7.875 kB / 468.2 MB, free: 11.56 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001141/0.1301, allocations: 8 kB / 468.2 MB, free: 11.55 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.845e-06/0.1301, allocations: 0 / 468.2 MB, free: 11.55 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.589e-05/0.1301, allocations: 0 / 468.2 MB, free: 11.55 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.654e-06/0.1301, allocations: 3.953 kB / 468.2 MB, free: 11.55 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (4): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.881e-05/0.1302, allocations: 117.8 kB / 468.3 MB, free: 11.42 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.045e-06/0.1302, allocations: 3.906 kB / 468.3 MB, free: 11.42 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.398e-05/0.1302, allocations: 7.5 kB / 468.3 MB, free: 11.41 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.1303, allocations: 0 / 468.3 MB, free: 11.41 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.1303, allocations: 0 / 468.3 MB, free: 11.41 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.856e-06/0.1303, allocations: 4 kB / 468.3 MB, free: 11.4 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001252/0.1304, allocations: 161.6 kB / 468.5 MB, free: 11.2 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.11e-07/0.1304, allocations: 0 / 468.5 MB, free: 11.2 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.359e-05/0.1305, allocations: 8 kB / 468.5 MB, free: 11.19 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.1305, allocations: 0 / 468.5 MB, free: 11.19 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.514e-06/0.1305, allocations: 0 / 468.5 MB, free: 11.19 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.123e-06/0.1305, allocations: 0 / 468.5 MB, free: 11.19 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.1305, allocations: 0 / 468.5 MB, free: 11.19 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001373/0.1307, allocations: 89.52 kB / 468.6 MB, free: 11.08 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.746e-05/0.1307, allocations: 77.11 kB / 468.7 MB, free: 10.99 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.446e-05/0.1307, allocations: 4.031 kB / 468.7 MB, free: 10.98 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.604e-05/0.1308, allocations: 0 / 468.7 MB, free: 10.98 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.713e-05/0.1308, allocations: 4.031 kB / 468.7 MB, free: 10.98 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.454e-06/0.1308, allocations: 0 / 468.7 MB, free: 10.98 MB / 302.1 MB Notification: Performance of sorting global known variables: time 4.099e-05/0.1308, allocations: 87.27 kB / 468.8 MB, free: 10.89 MB / 302.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1308, allocations: 0 / 468.8 MB, free: 10.89 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000178/0.131, allocations: 8.062 kB / 468.8 MB, free: 10.89 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (i) * 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 (3): * Single equations (assignments): 3 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 9.225e-05/0.1311, allocations: 91.78 kB / 468.8 MB, free: 10.79 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 9.529e-05/0.1312, allocations: 15.94 kB / 468.9 MB, free: 10.77 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.1312, allocations: 0 / 468.9 MB, free: 10.77 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 1.632e-05/0.1313, allocations: 11.98 kB / 468.9 MB, free: 10.76 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001511/0.1314, allocations: 3.953 kB / 468.9 MB, free: 10.75 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002991/0.1317, allocations: 150.2 kB / 469 MB, free: 10.57 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003113/0.132, allocations: 0.6731 MB / 469.7 MB, free: 9.875 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.472e-05/0.1321, allocations: 7.438 kB / 469.7 MB, free: 9.867 MB / 302.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1321, allocations: 4 kB / 469.7 MB, free: 9.863 MB / 302.1 MB Notification: Performance of Templates: time 0.00194/0.134, allocations: 469.6 kB / 470.2 MB, free: 9.406 MB / 302.1 MB make -j1 -f HanserModelica_HanserModelica.FirstSteps.Electrical1.makefile make -j1 -f HanserModelica_HanserModelica.FirstSteps.Electrical1.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 OMCppHanserModelica_HanserModelica.FirstSteps.Electrical1CalcHelperMain.o OMCppHanserModelica_HanserModelica.FirstSteps.Electrical1CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppHanserModelica_HanserModelica.FirstSteps.Electrical1CalcHelperMain.o] Error 1