Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr HanserModelica_HanserModelica.VariablesTypes.ComplexCalculation.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.VariablesTypes.ComplexCalculation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.VariablesTypes.ComplexCalculation") translateModel(HanserModelica.VariablesTypes.ComplexCalculation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.VariablesTypes.ComplexCalculation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009694/0.0009695, allocations: 102.3 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.57/1.57, allocations: 223.3 MB / 239.7 MB, free: 5.672 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.001393/0.001393, allocations: 171.7 kB / 290.9 MB, free: 2.367 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0/package.mo): time 0.03349/0.03349, allocations: 8.782 MB / 350.8 MB, free: 4.766 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005393/0.0005393, allocations: 11.8 kB / 413.8 MB, free: 43.16 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.121/0.1216, allocations: 52.56 MB / 466.4 MB, free: 13.65 MB / 302.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.VariablesTypes.ComplexCalculation): time 0.001609/0.1233, allocations: 1.073 MB / 467.4 MB, free: 12.56 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001252/0.1245, allocations: 0.7679 MB / 468.2 MB, free: 11.79 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.29e-05/0.1246, allocations: 0 / 468.2 MB, free: 11.79 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002427/0.1248, allocations: 71.75 kB / 468.3 MB, free: 11.72 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 9.349e-05/0.1249, allocations: 11.92 kB / 468.3 MB, free: 11.71 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007724/0.1257, allocations: 360.8 kB / 468.6 MB, free: 11.36 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001511/0.1259, allocations: 39.73 kB / 468.7 MB, free: 11.32 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.568e-05/0.1259, allocations: 7.984 kB / 468.7 MB, free: 11.31 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.857e-05/0.126, allocations: 12 kB / 468.7 MB, free: 11.3 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.07e-05/0.1261, allocations: 15.92 kB / 468.7 MB, free: 11.28 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.14e-05/0.1261, allocations: 0 / 468.7 MB, free: 11.28 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002206/0.1263, allocations: 115.8 kB / 468.8 MB, free: 11.17 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 8.977e-06/0.1263, allocations: 0 / 468.8 MB, free: 11.17 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.258e-05/0.1264, allocations: 33.7 kB / 468.9 MB, free: 11.13 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001713/0.1265, allocations: 84.03 kB / 468.9 MB, free: 11.05 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.197e-06/0.1266, allocations: 0 / 468.9 MB, free: 11.05 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.076e-06/0.1266, allocations: 3.938 kB / 468.9 MB, free: 11.04 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.952e-06/0.1266, allocations: 0 / 468.9 MB, free: 11.04 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0008716/0.1275, allocations: 431.1 kB / 469.4 MB, free: 10.57 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.278e-05/0.1275, allocations: 12.03 kB / 469.4 MB, free: 10.56 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.494e-05/0.1276, allocations: 7.859 kB / 469.4 MB, free: 10.55 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001384/0.1277, allocations: 163.1 kB / 469.5 MB, free: 10.36 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.247e-05/0.1277, allocations: 0 / 469.5 MB, free: 10.36 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.5e-05/0.1277, allocations: 4 kB / 469.6 MB, free: 10.35 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001392/0.1279, allocations: 57.67 kB / 469.6 MB, free: 10.29 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.394e-06/0.1279, allocations: 4 kB / 469.6 MB, free: 10.29 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.02e-05/0.1279, allocations: 0 / 469.6 MB, free: 10.29 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.759e-06/0.1279, allocations: 0 / 469.6 MB, free: 10.29 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.895e-05/0.128, allocations: 43.88 kB / 469.7 MB, free: 10.24 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002401/0.1283, allocations: 177.6 kB / 469.8 MB, free: 10.02 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001769/0.1285, allocations: 70.62 kB / 469.9 MB, free: 9.941 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.319e-05/0.1285, allocations: 24.98 kB / 469.9 MB, free: 9.914 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.85e-05/0.1285, allocations: 0 / 469.9 MB, free: 9.914 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.017e-05/0.1286, allocations: 34.56 kB / 470 MB, free: 9.871 MB / 302.1 MB Notification: Performance of pre-optimization done (n=6): time 1.162e-06/0.1286, allocations: 0 / 470 MB, free: 9.871 MB / 302.1 MB Notification: Performance of matching and sorting (n=6): time 0.0002546/0.1288, allocations: 109.5 kB / 470.1 MB, free: 9.758 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.926e-05/0.1289, allocations: 51.41 kB / 470.1 MB, free: 9.695 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.988e-05/0.129, allocations: 114 kB / 470.2 MB, free: 9.574 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.738e-05/0.129, allocations: 25.7 kB / 470.2 MB, free: 9.543 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.678e-05/0.1291, allocations: 84.14 kB / 470.3 MB, free: 9.457 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.089e-05/0.1292, allocations: 15.75 kB / 470.3 MB, free: 9.441 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.756e-06/0.1292, allocations: 8 kB / 470.4 MB, free: 9.434 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000132/0.1293, allocations: 314.8 kB / 470.7 MB, free: 9.117 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.663e-05/0.1293, allocations: 16 kB / 470.7 MB, free: 9.102 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.363e-05/0.1294, allocations: 20 kB / 470.7 MB, free: 9.082 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.95e-05/0.1294, allocations: 19.98 kB / 470.7 MB, free: 9.062 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.1295, allocations: 4 kB / 470.7 MB, free: 9.059 MB / 302.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001312/0.1296, allocations: 77.55 kB / 470.8 MB, free: 8.977 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.955e-05/0.1296, allocations: 18.27 kB / 470.8 MB, free: 8.961 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.159e-06/0.1296, allocations: 0 / 470.8 MB, free: 8.961 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.387e-05/0.1297, allocations: 4 kB / 470.8 MB, free: 8.957 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.904e-05/0.1298, allocations: 8 kB / 470.8 MB, free: 8.949 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.45e-06/0.1298, allocations: 0 / 470.8 MB, free: 8.949 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.704e-05/0.1298, allocations: 0 / 470.8 MB, free: 8.949 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.289e-05/0.1298, allocations: 7.953 kB / 470.8 MB, free: 8.941 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 (6): * Single equations (assignments): 6 * 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 9.064e-05/0.1299, allocations: 110.5 kB / 470.9 MB, free: 8.824 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.089e-05/0.1299, allocations: 4 kB / 470.9 MB, free: 8.82 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002128/0.1302, allocations: 117.8 kB / 471.1 MB, free: 8.695 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.904e-06/0.1302, allocations: 4 kB / 471.1 MB, free: 8.691 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.049e-06/0.1302, allocations: 0 / 471.1 MB, free: 8.691 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.105e-06/0.1302, allocations: 0 / 471.1 MB, free: 8.691 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000167/0.1304, allocations: 189.5 kB / 471.2 MB, free: 8.457 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.1304, allocations: 0 / 471.2 MB, free: 8.457 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.891e-05/0.1305, allocations: 15.98 kB / 471.3 MB, free: 8.441 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.724e-06/0.1305, allocations: 0 / 471.3 MB, free: 8.441 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.032e-05/0.1305, allocations: 4 kB / 471.3 MB, free: 8.438 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.1305, allocations: 0 / 471.3 MB, free: 8.438 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.1305, allocations: 0 / 471.3 MB, free: 8.438 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001749/0.1307, allocations: 124.9 kB / 471.4 MB, free: 8.297 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.084e-05/0.1307, allocations: 85.03 kB / 471.5 MB, free: 8.195 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.725e-05/0.1307, allocations: 4.438 kB / 471.5 MB, free: 8.191 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.133e-05/0.1308, allocations: 7.984 kB / 471.5 MB, free: 8.184 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.79e-05/0.1308, allocations: 0 / 471.5 MB, free: 8.184 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.756e-06/0.1308, allocations: 8 kB / 471.5 MB, free: 8.176 MB / 302.1 MB Notification: Performance of sorting global known variables: time 5.025e-05/0.1309, allocations: 83.28 kB / 471.6 MB, free: 8.094 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1309, allocations: 0 / 471.6 MB, free: 8.094 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0001931/0.1311, allocations: 15.98 kB / 471.6 MB, free: 8.078 MB / 302.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 (8): * Single equations (assignments): 8 * 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 0.0001269/0.1312, allocations: 107.8 kB / 471.7 MB, free: 7.965 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001388/0.1314, allocations: 47.98 kB / 471.7 MB, free: 7.918 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.1314, allocations: 4 kB / 471.7 MB, free: 7.914 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 5.398e-05/0.1314, allocations: 39.92 kB / 471.8 MB, free: 7.875 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001419/0.1316, allocations: 3.953 kB / 471.8 MB, free: 7.871 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003579/0.1319, allocations: 216.2 kB / 472 MB, free: 7.625 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000263/0.1322, allocations: 0.6887 MB / 472.7 MB, free: 6.91 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.038e-05/0.1323, allocations: 11.44 kB / 472.7 MB, free: 6.902 MB / 302.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1323, allocations: 7.875 kB / 472.7 MB, free: 6.895 MB / 302.1 MB Notification: Performance of Templates: time 0.002408/0.1347, allocations: 0.9213 MB / 473.6 MB, free: 5.973 MB / 302.1 MB make -j1 -f HanserModelica_HanserModelica.VariablesTypes.ComplexCalculation.makefile make -j1 -f HanserModelica_HanserModelica.VariablesTypes.ComplexCalculation.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.VariablesTypes.ComplexCalculationCalcHelperMain.o OMCppHanserModelica_HanserModelica.VariablesTypes.ComplexCalculationCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppHanserModelica_HanserModelica.VariablesTypes.ComplexCalculationCalcHelperMain.o] Error 1