Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr HanserModelica_HanserModelica.VariablesTypes.InitializationParameters.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.InitializationParameters,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.VariablesTypes.InitializationParameters") translateModel(HanserModelica.VariablesTypes.InitializationParameters,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.VariablesTypes.InitializationParameters") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000815/0.0008152, allocations: 99.59 kB / 15.71 MB, free: 452 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.481/1.481, allocations: 223.3 MB / 239.7 MB, free: 5.609 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.001277/0.001277, allocations: 184.5 kB / 290.9 MB, free: 2.297 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0/package.mo): time 0.05612/0.05612, allocations: 8.781 MB / 350.8 MB, free: 4.711 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003974/0.0003974, allocations: 10.22 kB / 413.8 MB, free: 43.02 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1209/0.1214, allocations: 52.56 MB / 466.4 MB, free: 13.56 MB / 302.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.VariablesTypes.InitializationParameters): time 0.0008098/0.1222, allocations: 234.2 kB / 466.6 MB, free: 13.33 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006423/0.1229, allocations: 290.4 kB / 466.9 MB, free: 13.04 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.433e-05/0.1229, allocations: 4 kB / 466.9 MB, free: 13.04 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 3.948e-05/0.123, allocations: 3.938 kB / 466.9 MB, free: 13.04 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003864/0.1234, allocations: 47.89 kB / 466.9 MB, free: 12.99 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 5.892e-05/0.1234, allocations: 7.984 kB / 466.9 MB, free: 12.98 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 7.473e-05/0.1235, allocations: 23.92 kB / 467 MB, free: 12.96 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.596e-05/0.1236, allocations: 0 / 467 MB, free: 12.96 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.503e-05/0.1236, allocations: 15.92 kB / 467 MB, free: 12.94 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003211/0.124, allocations: 75.84 kB / 467.1 MB, free: 12.87 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.652e-05/0.124, allocations: 4 kB / 467.1 MB, free: 12.86 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.213e-05/0.124, allocations: 0 / 467.1 MB, free: 12.86 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 4.077e-05/0.1241, allocations: 19.97 kB / 467.1 MB, free: 12.84 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.237e-05/0.1241, allocations: 33.64 kB / 467.1 MB, free: 12.8 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 7.027e-05/0.1242, allocations: 15.98 kB / 467.1 MB, free: 12.79 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.1242, allocations: 4 kB / 467.1 MB, free: 12.79 MB / 302.1 MB Notification: Performance of FrontEnd: time 4.068e-06/0.1242, allocations: 3.984 kB / 467.1 MB, free: 12.78 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.338e-06/0.1242, allocations: 4 kB / 467.1 MB, free: 12.78 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0005421/0.1248, allocations: 381.1 kB / 467.5 MB, free: 12.35 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.418e-05/0.1248, allocations: 8.031 kB / 467.5 MB, free: 12.34 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.947e-05/0.1249, allocations: 87.14 kB / 467.6 MB, free: 12.26 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002213/0.1251, allocations: 254.3 kB / 467.9 MB, free: 11.97 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.698e-05/0.1252, allocations: 158.6 kB / 468 MB, free: 11.81 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.059e-05/0.1253, allocations: 158.5 kB / 468.2 MB, free: 11.66 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.543e-05/0.1254, allocations: 101 kB / 468.3 MB, free: 11.55 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.999e-05/0.1254, allocations: 75.28 kB / 468.3 MB, free: 11.48 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.419e-05/0.1255, allocations: 158.4 kB / 468.5 MB, free: 11.32 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.375e-05/0.1256, allocations: 150.6 kB / 468.6 MB, free: 11.17 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.966e-05/0.1256, allocations: 166.5 kB / 468.8 MB, free: 11.01 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003463/0.126, allocations: 461.9 kB / 469.2 MB, free: 10.51 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.724e-05/0.1261, allocations: 165.1 kB / 469.4 MB, free: 10.34 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.524e-05/0.1261, allocations: 81.95 kB / 469.5 MB, free: 10.25 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.552e-05/0.1262, allocations: 83.22 kB / 469.6 MB, free: 10.17 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.076e-05/0.1263, allocations: 113.8 kB / 469.7 MB, free: 10.05 MB / 302.1 MB Notification: Performance of pre-optimization done (n=0): time 9.42e-07/0.1263, allocations: 0 / 469.7 MB, free: 10.05 MB / 302.1 MB Notification: Performance of matching and sorting (n=0): time 8.275e-05/0.1263, allocations: 33.61 kB / 469.7 MB, free: 10.01 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.552e-05/0.1264, allocations: 126.7 kB / 469.8 MB, free: 9.875 MB / 302.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0/VariablesTypes/InitializationParameters.mo:5:3-5:28:writable] Warning: Parameter b has no value, and is fixed during initialization (fixed=true), using available start value (start=0.0) as default value. Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002016/0.1266, allocations: 155.9 kB / 470 MB, free: 9.711 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.473e-05/0.1267, allocations: 25.7 kB / 470 MB, free: 9.68 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.889e-05/0.1267, allocations: 100.1 kB / 470.1 MB, free: 9.578 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.424e-06/0.1267, allocations: 0 / 470.1 MB, free: 9.578 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.398e-06/0.1268, allocations: 0 / 470.1 MB, free: 9.578 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001338/0.1269, allocations: 314.8 kB / 470.4 MB, free: 9.262 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.076e-05/0.1269, allocations: 19.98 kB / 470.4 MB, free: 9.242 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.909e-05/0.127, allocations: 57.08 kB / 470.5 MB, free: 9.168 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.232e-05/0.1271, allocations: 53.69 kB / 470.5 MB, free: 9.109 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.1271, allocations: 0 / 470.5 MB, free: 9.109 MB / 302.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0004789/0.1276, allocations: 323.2 kB / 470.9 MB, free: 8.738 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.187e-05/0.1277, allocations: 33.66 kB / 470.9 MB, free: 8.699 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.464e-06/0.1277, allocations: 7.938 kB / 470.9 MB, free: 8.691 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001989/0.1279, allocations: 41.69 kB / 470.9 MB, free: 8.645 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002166/0.1281, allocations: 31.97 kB / 471 MB, free: 8.613 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003827/0.1319, allocations: 5.17 MB / 476.1 MB, free: 2.91 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.279e-05/0.132, allocations: 4.031 kB / 476.2 MB, free: 2.906 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.653e-05/0.132, allocations: 8 kB / 476.2 MB, free: 2.898 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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): 1 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001512/0.1322, allocations: 197.7 kB / 476.4 MB, free: 2.695 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.148e-05/0.1323, allocations: 117 kB / 476.5 MB, free: 2.574 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.602e-05/0.1323, allocations: 120.8 kB / 476.6 MB, free: 2.445 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.062e-05/0.1324, allocations: 176.3 kB / 476.8 MB, free: 2.266 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.344e-05/0.1325, allocations: 184.1 kB / 476.9 MB, free: 2.078 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.035e-05/0.1326, allocations: 180.3 kB / 477.1 MB, free: 1.895 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002595/0.1328, allocations: 429.1 kB / 477.5 MB, free: 1.418 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.049e-05/0.1329, allocations: 104.9 kB / 477.6 MB, free: 1.309 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.696e-05/0.1329, allocations: 101 kB / 477.7 MB, free: 1.203 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.054e-05/0.133, allocations: 184.2 kB / 477.9 MB, free: 1.016 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.185e-05/0.1331, allocations: 176.3 kB / 478.1 MB, free: 0.8359 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.679e-05/0.1332, allocations: 176.3 kB / 478.3 MB, free: 0.6562 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.271e-05/0.1333, allocations: 188.4 kB / 478.4 MB, free: 476 kB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001437/0.1334, allocations: 319.6 kB / 478.8 MB, free: 132 kB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001276/0.1335, allocations: 189.9 kB / 478.9 MB, free: 15.92 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.577e-05/0.1336, allocations: 180.3 kB / 479.1 MB, free: 15.73 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.941e-05/0.1337, allocations: 112.9 kB / 479.2 MB, free: 15.62 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.52e-05/0.1338, allocations: 180.3 kB / 479.4 MB, free: 15.43 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.578e-05/0.1339, allocations: 104.9 kB / 479.5 MB, free: 15.32 MB / 318.1 MB Notification: Performance of sorting global known variables: time 7.956e-05/0.1339, allocations: 117.1 kB / 479.6 MB, free: 15.21 MB / 318.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1339, allocations: 0 / 479.6 MB, free: 15.21 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002775/0.1342, allocations: 8 kB / 479.6 MB, free: 15.2 MB / 318.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.0001317/0.1344, allocations: 166.5 kB / 479.8 MB, free: 15.03 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0006144/0.135, allocations: 344.7 kB / 480.1 MB, free: 14.66 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.135, allocations: 0 / 480.1 MB, free: 14.66 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 2.154e-06/0.135, allocations: 0 / 480.1 MB, free: 14.66 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004112/0.1354, allocations: 0.5228 MB / 480.6 MB, free: 14.13 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003239/0.1358, allocations: 253.4 kB / 480.9 MB, free: 13.85 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002865/0.1361, allocations: 0.6887 MB / 481.6 MB, free: 13.13 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.712e-05/0.1361, allocations: 7.438 kB / 481.6 MB, free: 13.12 MB / 318.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1361, allocations: 0 / 481.6 MB, free: 13.12 MB / 318.1 MB Notification: Performance of Templates: time 0.003058/0.1391, allocations: 1.116 MB / 482.7 MB, free: 12.01 MB / 318.1 MB make -j1 -f HanserModelica_HanserModelica.VariablesTypes.InitializationParameters.makefile make -j1 -f HanserModelica_HanserModelica.VariablesTypes.InitializationParameters.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.InitializationParametersCalcHelperMain.o OMCppHanserModelica_HanserModelica.VariablesTypes.InitializationParametersCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppHanserModelica_HanserModelica.VariablesTypes.InitializationParametersCalcHelperMain.o] Error 1