Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Media_TestAllProperties_IncompleteMedia_Glycol47",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Media_TestAllProperties_IncompleteMedia_Glycol47",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001044/0.001044, allocations: 193.8 kB / 16.09 MB, free: 5.68 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.275/1.275, allocations: 226.5 MB / 243.4 MB, free: 8.094 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000837/0.000837, allocations: 97.25 kB / 295.5 MB, free: 6.875 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3036/0.3036, allocations: 44.81 MB / 392.3 MB, free: 35.7 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002793/0.0002795, allocations: 8 kB / 465.4 MB, free: 12.57 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.339/0.3393, allocations: 62.96 MB / 0.516 GB, free: 37.06 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47): time 0.005211/0.3446, allocations: 4.747 MB / 0.5206 GB, free: 33.66 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.002137/0.3468, allocations: 2.432 MB / 0.523 GB, free: 31.91 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.323e-05/0.3469, allocations: 2.781 kB / 0.523 GB, free: 31.91 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002316/0.3471, allocations: 24.81 kB / 0.523 GB, free: 31.89 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002302/0.3494, allocations: 0.9325 MB / 0.5239 GB, free: 31.49 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000305/0.3497, allocations: 137.8 kB / 0.524 GB, free: 31.43 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003284/0.3501, allocations: 305 kB / 0.5243 GB, free: 31.29 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.124e-05/0.3501, allocations: 7.344 kB / 0.5243 GB, free: 31.29 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001007/0.3512, allocations: 0.7098 MB / 0.525 GB, free: 31.2 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002163/0.3514, allocations: 154.8 kB / 0.5252 GB, free: 31.15 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.574e-05/0.3514, allocations: 4.625 kB / 0.5252 GB, free: 31.15 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001839/0.3533, allocations: 1.204 MB / 0.5264 GB, free: 30.92 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.881e-05/0.3533, allocations: 30.95 kB / 0.5264 GB, free: 30.91 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 9.626e-05/0.3534, allocations: 106.2 kB / 0.5265 GB, free: 30.84 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005684/0.354, allocations: 383.6 kB / 0.5269 GB, free: 30.75 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.911e-06/0.354, allocations: 3.938 kB / 0.5269 GB, free: 30.74 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.894e-06/0.354, allocations: 0 / 0.5269 GB, free: 30.74 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.549e-06/0.3541, allocations: 0 / 0.5269 GB, free: 30.74 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.0008014/0.3549, allocations: 0.5329 MB / 0.5274 GB, free: 30.28 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.384e-05/0.3549, allocations: 10.88 kB / 0.5274 GB, free: 30.28 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.122e-05/0.355, allocations: 54.28 kB / 0.5274 GB, free: 30.23 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000385/0.3554, allocations: 47.38 kB / 0.5275 GB, free: 30.21 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001898/0.3556, allocations: 207.8 kB / 0.5277 GB, free: 30 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.656e-05/0.3556, allocations: 16.53 kB / 0.5277 GB, free: 29.99 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.135e-05/0.3556, allocations: 15.22 kB / 0.5277 GB, free: 29.99 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003557/0.356, allocations: 253.6 kB / 0.528 GB, free: 29.82 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.043e-05/0.356, allocations: 0 / 0.528 GB, free: 29.82 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.447e-05/0.356, allocations: 6.938 kB / 0.528 GB, free: 29.81 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.364e-06/0.356, allocations: 5.906 kB / 0.528 GB, free: 29.81 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002805/0.3563, allocations: 235.9 kB / 0.5282 GB, free: 29.76 MB / 378.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009915/0.3573, allocations: 1.362 MB / 0.5295 GB, free: 28.44 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000166/0.3575, allocations: 95.31 kB / 0.5296 GB, free: 28.39 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.55e-05/0.3576, allocations: 36.11 kB / 0.5296 GB, free: 28.38 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001076/0.3586, allocations: 2.057 MB / 0.5317 GB, free: 26.07 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002104/0.3589, allocations: 162.1 kB / 0.5318 GB, free: 25.93 MB / 378.7 MB Notification: Performance of pre-optimization done (n=18): time 1.313e-06/0.3589, allocations: 4 kB / 0.5318 GB, free: 25.93 MB / 378.7 MB Notification: Performance of matching and sorting (n=19): time 0.0008196/0.3597, allocations: 356.7 kB / 0.5322 GB, free: 25.73 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.793e-05/0.3598, allocations: 264.5 kB / 0.5324 GB, free: 25.42 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001029/0.3599, allocations: 161.2 kB / 0.5326 GB, free: 25.29 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.923e-05/0.3599, allocations: 29.7 kB / 0.5326 GB, free: 25.26 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.114e-05/0.36, allocations: 141.1 kB / 0.5327 GB, free: 25.13 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.619e-05/0.36, allocations: 69.91 kB / 0.5328 GB, free: 25.07 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.224e-05/0.36, allocations: 6.844 kB / 0.5328 GB, free: 25.07 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.7e-05/0.3601, allocations: 321.3 kB / 0.5331 GB, free: 24.75 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.5e-05/0.3602, allocations: 41.3 kB / 0.5331 GB, free: 24.74 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001107/0.3603, allocations: 184.4 kB / 0.5333 GB, free: 24.54 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002064/0.3605, allocations: 263.2 kB / 0.5336 GB, free: 24.29 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.3605, allocations: 0 / 0.5336 GB, free: 24.29 MB / 378.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0003276/0.3608, allocations: 259.3 kB / 0.5338 GB, free: 24.18 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.801e-05/0.3609, allocations: 6.031 kB / 0.5338 GB, free: 24.18 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.528e-06/0.3609, allocations: 5.688 kB / 0.5338 GB, free: 24.18 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.919e-05/0.3609, allocations: 6.5 kB / 0.5338 GB, free: 24.18 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004088/0.3613, allocations: 102.1 kB / 0.5339 GB, free: 24.16 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002208/0.3616, allocations: 0.5978 MB / 0.5345 GB, free: 23.57 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001252/0.3617, allocations: 10.12 kB / 0.5345 GB, free: 23.56 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.421e-05/0.3617, allocations: 24.88 kB / 0.5345 GB, free: 23.56 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (35): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 9.424e-05/0.3618, allocations: 136.7 kB / 0.5347 GB, free: 23.43 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.444e-05/0.3619, allocations: 23.81 kB / 0.5347 GB, free: 23.41 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004041/0.3623, allocations: 227.2 kB / 0.5349 GB, free: 23.26 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.417e-06/0.3623, allocations: 2.812 kB / 0.5349 GB, free: 23.26 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.3623, allocations: 3.938 kB / 0.5349 GB, free: 23.25 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.3623, allocations: 4.062 kB / 0.5349 GB, free: 23.25 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003126/0.3626, allocations: 448.3 kB / 0.5354 GB, free: 22.81 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.3626, allocations: 0 / 0.5354 GB, free: 22.81 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002985/0.363, allocations: 55.66 kB / 0.5354 GB, free: 22.81 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.616e-06/0.363, allocations: 3.938 kB / 0.5354 GB, free: 22.8 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.232e-05/0.363, allocations: 2.844 kB / 0.5354 GB, free: 22.8 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001544/0.3631, allocations: 0.5929 MB / 0.536 GB, free: 22.2 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/0.3632, allocations: 2.969 kB / 0.536 GB, free: 22.2 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001456/0.3633, allocations: 146 kB / 0.5361 GB, free: 22.09 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.758e-05/0.3634, allocations: 111.1 kB / 0.5362 GB, free: 21.98 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.703e-05/0.3634, allocations: 10.19 kB / 0.5363 GB, free: 21.98 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001551/0.3636, allocations: 6.938 kB / 0.5363 GB, free: 21.97 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.573e-05/0.3636, allocations: 14.09 kB / 0.5363 GB, free: 21.96 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.714e-05/0.3636, allocations: 12.12 kB / 0.5363 GB, free: 21.96 MB / 378.7 MB Notification: Performance of sorting global known variables: time 6.909e-05/0.3637, allocations: 121.3 kB / 0.5364 GB, free: 21.88 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3637, allocations: 0 / 0.5364 GB, free: 21.88 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004712/0.3642, allocations: 142.4 kB / 0.5365 GB, free: 21.84 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007671/0.365, allocations: 0.8552 MB / 0.5374 GB, free: 21.14 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000399/0.3654, allocations: 150.1 kB / 0.5375 GB, free: 21.11 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.446e-06/0.3654, allocations: 4 kB / 0.5375 GB, free: 21.11 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001652/0.3656, allocations: 52.19 kB / 0.5376 GB, free: 21.09 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002995/0.3659, allocations: 29.22 kB / 0.5376 GB, free: 21.09 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001855/0.3677, allocations: 1.507 MB / 0.5391 GB, free: 20.09 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001223/0.3679, allocations: 0.7156 MB / 0.5398 GB, free: 19.39 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001208/0.368, allocations: 61.27 kB / 0.5398 GB, free: 19.36 MB / 378.7 MB Notification: Performance of SimCode: time 4.41e-07/0.368, allocations: 4.719 kB / 0.5398 GB, free: 19.35 MB / 378.7 MB Error: Error building simulator. Build log: clang++ -std=c++14 -Winvalid-pch -O2 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DSUNDIALS_MAJOR_VERSION=5 -DSUNDIALS_MINOR_VERSION=4 -DPMC_USE_SUNDIALS -DFMU_BUILD -DRUNTIME_STATIC_LINKING -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp" -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/sundials" -I"." -DUSE_LOGGER -c -o OMCppModelicaTest_trunk_cpp_ModelicaTest_Media_TestAllProperties_IncompleteMedia_Glycol47CalcHelperMain.o OMCppModelicaTest_trunk_cpp_ModelicaTest_Media_TestAllProperties_IncompleteMedia_Glycol47CalcHelperMain.cpp In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest_Media_TestAllProperties_IncompleteMedia_Glycol47CalcHelperMain.cpp:17: ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Media_TestAllProperties_IncompleteMedia_Glycol47.h:287:19: error: member access into incomplete type 'Functions' _functions->ModelicaTest_Media_TestAllProperties_IncompleteMedia_Glycol47_Medium_T__ps_f__nonlinear(u, s, output); ^ ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Media_TestAllProperties_IncompleteMedia_Glycol47.h:11:7: note: forward declaration of 'Functions' class Functions; ^ In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest_Media_TestAllProperties_IncompleteMedia_Glycol47CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Media_TestAllProperties_IncompleteMedia_Glycol47FMU.cpp:11: In file included from /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/FMU2/FMU2Wrapper.cpp:37: In file included from /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/FMU2/FMU2Wrapper.h:44: /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/FMU2/FMU2GlobalSettings.h:65:56: warning: returning reference to local temporary object [-Wreturn-stack-address] virtual const string& getVariableFilter() { return "";} ^~ In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest_Media_TestAllProperties_IncompleteMedia_Glycol47CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Media_TestAllProperties_IncompleteMedia_Glycol47FMU.cpp:11: /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/FMU2/FMU2Wrapper.cpp:93:11: warning: 6 enumeration values not handled in switch: 'LC_INIT', 'LC_LS', 'LC_SOLVER'... [-Wswitch] switch (cat) { ^ 2 warnings and 1 error generated. make: *** [: OMCppModelicaTest_trunk_cpp_ModelicaTest_Media_TestAllProperties_IncompleteMedia_Glycol47CalcHelperMain.o] Error 1