Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr HanserModelica_HanserModelica.Classes.MixedDeclaration.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.Classes.MixedDeclaration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Classes.MixedDeclaration") translateModel(HanserModelica.Classes.MixedDeclaration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Classes.MixedDeclaration") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008618/0.0008666, allocations: 102.6 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.479/1.479, allocations: 223.3 MB / 239.7 MB, free: 5.629 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.001326/0.001326, allocations: 171.7 kB / 290.9 MB, free: 2.32 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0/package.mo): time 0.03316/0.03316, allocations: 8.783 MB / 350.8 MB, free: 4.719 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005647/0.0005651, allocations: 9.281 kB / 413.8 MB, free: 43.02 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1371/0.1377, allocations: 52.56 MB / 466.4 MB, free: 13.58 MB / 302.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Classes.MixedDeclaration): time 0.001524/0.1393, allocations: 0.9783 MB / 467.3 MB, free: 12.59 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 5.261e-05/0.1394, allocations: 3.938 kB / 467.4 MB, free: 12.58 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.249e-05/0.1394, allocations: 4 kB / 467.4 MB, free: 12.58 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 3.088e-05/0.1395, allocations: 0 / 467.4 MB, free: 12.58 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 9.918e-05/0.1396, allocations: 7.938 kB / 467.4 MB, free: 12.57 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 1.468e-05/0.1396, allocations: 4 kB / 467.4 MB, free: 12.57 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 6.27e-05/0.1397, allocations: 11.92 kB / 467.4 MB, free: 12.55 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.989e-05/0.1398, allocations: 0 / 467.4 MB, free: 12.55 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.401e-05/0.1398, allocations: 3.938 kB / 467.4 MB, free: 12.55 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.524e-05/0.1398, allocations: 4 kB / 467.4 MB, free: 12.55 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.379e-05/0.1399, allocations: 0 / 467.4 MB, free: 12.55 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.462e-06/0.1399, allocations: 0 / 467.4 MB, free: 12.55 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 1.546e-05/0.1399, allocations: 3.984 kB / 467.4 MB, free: 12.54 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.578e-05/0.1399, allocations: 29.7 kB / 467.4 MB, free: 12.51 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 5.191e-05/0.14, allocations: 8 kB / 467.4 MB, free: 12.5 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.875e-06/0.14, allocations: 3.938 kB / 467.4 MB, free: 12.5 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.765e-06/0.14, allocations: 4 kB / 467.4 MB, free: 12.49 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.22e-06/0.14, allocations: 0 / 467.4 MB, free: 12.49 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003919/0.1404, allocations: 315.6 kB / 467.7 MB, free: 12.14 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.284e-05/0.1405, allocations: 8.031 kB / 467.8 MB, free: 12.13 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.786e-05/0.1405, allocations: 7.953 kB / 467.8 MB, free: 12.12 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001741/0.1407, allocations: 167 kB / 467.9 MB, free: 11.92 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.184e-05/0.1407, allocations: 0 / 467.9 MB, free: 11.92 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.002e-05/0.1407, allocations: 4 kB / 467.9 MB, free: 11.91 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.16e-05/0.1408, allocations: 47.41 kB / 468 MB, free: 11.86 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.424e-06/0.1408, allocations: 0 / 468 MB, free: 11.86 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.113e-05/0.1409, allocations: 4 kB / 468 MB, free: 11.85 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.372e-06/0.1409, allocations: 0 / 468 MB, free: 11.85 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.388e-05/0.1409, allocations: 7.891 kB / 468 MB, free: 11.84 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004289/0.1413, allocations: 467.7 kB / 468.4 MB, free: 11.33 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.066e-05/0.1414, allocations: 173.1 kB / 468.6 MB, free: 11.15 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.217e-05/0.1415, allocations: 80.14 kB / 468.7 MB, free: 11.07 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.146e-05/0.1416, allocations: 75.28 kB / 468.8 MB, free: 11 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.034e-05/0.1416, allocations: 117.8 kB / 468.9 MB, free: 10.87 MB / 302.1 MB Notification: Performance of pre-optimization done (n=0): time 1.242e-06/0.1416, allocations: 4 kB / 468.9 MB, free: 10.87 MB / 302.1 MB Notification: Performance of matching and sorting (n=0): time 8.297e-05/0.1417, allocations: 33.66 kB / 468.9 MB, free: 10.83 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.958e-05/0.1418, allocations: 126.7 kB / 469 MB, free: 10.69 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001125/0.1419, allocations: 105.8 kB / 469.1 MB, free: 10.58 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.105e-05/0.1419, allocations: 25.7 kB / 469.2 MB, free: 10.55 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.371e-05/0.142, allocations: 84.05 kB / 469.2 MB, free: 10.46 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.625e-06/0.142, allocations: 0 / 469.2 MB, free: 10.46 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.134e-06/0.142, allocations: 0 / 469.2 MB, free: 10.46 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001702/0.1422, allocations: 318.8 kB / 469.6 MB, free: 10.14 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.956e-06/0.1422, allocations: 4 kB / 469.6 MB, free: 10.14 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.623e-05/0.1422, allocations: 13.66 kB / 469.6 MB, free: 10.12 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.115e-05/0.1423, allocations: 4 kB / 469.6 MB, free: 10.11 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.1423, allocations: 0 / 469.6 MB, free: 10.11 MB / 302.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001172/0.1424, allocations: 41.69 kB / 469.6 MB, free: 10.07 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.82e-05/0.1424, allocations: 11.94 kB / 469.6 MB, free: 10.05 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.414e-06/0.1424, allocations: 4.125 kB / 469.6 MB, free: 10.05 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.319e-05/0.1425, allocations: 7.891 kB / 469.6 MB, free: 10.04 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.061e-05/0.1425, allocations: 7.938 kB / 469.7 MB, free: 10.04 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.093e-06/0.1425, allocations: 3.984 kB / 469.7 MB, free: 10.03 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.478e-05/0.1426, allocations: 3.906 kB / 469.7 MB, free: 10.03 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.905e-06/0.1426, allocations: 4 kB / 469.7 MB, free: 10.02 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (2): * Single equations (assignments): 2 * 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 0.0001152/0.1427, allocations: 185.1 kB / 469.8 MB, free: 9.832 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.55e-05/0.1428, allocations: 110.8 kB / 470 MB, free: 9.719 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.685e-05/0.1428, allocations: 116 kB / 470.1 MB, free: 9.598 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.76e-05/0.1429, allocations: 180.5 kB / 470.2 MB, free: 9.414 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.362e-05/0.143, allocations: 176.3 kB / 470.4 MB, free: 9.234 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.873e-05/0.1431, allocations: 196.2 kB / 470.6 MB, free: 9.035 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002537/0.1433, allocations: 393.2 kB / 471 MB, free: 8.594 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.177e-05/0.1434, allocations: 108.9 kB / 471.1 MB, free: 8.48 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.822e-05/0.1434, allocations: 109 kB / 471.2 MB, free: 8.367 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.869e-05/0.1435, allocations: 180.3 kB / 471.4 MB, free: 8.184 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.658e-05/0.1436, allocations: 180.2 kB / 471.6 MB, free: 8 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.234e-05/0.1437, allocations: 176.3 kB / 471.7 MB, free: 7.82 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.993e-05/0.1438, allocations: 188.2 kB / 471.9 MB, free: 7.629 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001609/0.1439, allocations: 312.1 kB / 472.2 MB, free: 7.301 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.141e-05/0.144, allocations: 182 kB / 472.4 MB, free: 7.098 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.237e-05/0.1441, allocations: 176.3 kB / 472.6 MB, free: 6.918 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.697e-05/0.1442, allocations: 116.9 kB / 472.7 MB, free: 6.797 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.993e-05/0.1443, allocations: 180.3 kB / 472.9 MB, free: 6.613 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.803e-05/0.1444, allocations: 104.9 kB / 473 MB, free: 6.504 MB / 302.1 MB Notification: Performance of sorting global known variables: time 4.324e-05/0.1444, allocations: 87.22 kB / 473 MB, free: 6.418 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.1444, allocations: 0 / 473 MB, free: 6.418 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.00024/0.1447, allocations: 4 kB / 473 MB, free: 6.414 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 (0): * Single equations (assignments): 0 * 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.0001293/0.1448, allocations: 167.1 kB / 473.2 MB, free: 6.238 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 6.59e-05/0.1449, allocations: 11.98 kB / 473.2 MB, free: 6.227 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.1449, allocations: 4.125 kB / 473.2 MB, free: 6.223 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 1.342e-06/0.1449, allocations: 0 / 473.2 MB, free: 6.223 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004092/0.1453, allocations: 0.5146 MB / 473.7 MB, free: 5.703 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003078/0.1456, allocations: 215.7 kB / 474 MB, free: 5.461 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002567/0.1459, allocations: 0.6731 MB / 474.6 MB, free: 4.762 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.092e-05/0.1459, allocations: 11.42 kB / 474.6 MB, free: 4.75 MB / 302.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1459, allocations: 0 / 474.6 MB, free: 4.75 MB / 302.1 MB Notification: Performance of Templates: time 0.00157/0.1475, allocations: 387.8 kB / 475 MB, free: 4.371 MB / 302.1 MB make -j1 -f HanserModelica_HanserModelica.Classes.MixedDeclaration.makefile make -j1 -f HanserModelica_HanserModelica.Classes.MixedDeclaration.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.Classes.MixedDeclarationCalcHelperMain.o OMCppHanserModelica_HanserModelica.Classes.MixedDeclarationCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppHanserModelica_HanserModelica.Classes.MixedDeclarationCalcHelperMain.o] Error 1