Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650.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.Essotherm650,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Media_TestAllProperties_IncompleteMedia_Essotherm650",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Media_TestAllProperties_IncompleteMedia_Essotherm650",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001025/0.001025, allocations: 200 kB / 16.1 MB, free: 5.703 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.268/1.268, allocations: 226.5 MB / 243.4 MB, free: 6.352 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007497/0.0007499, allocations: 95.69 kB / 295.5 MB, free: 6.66 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3414/0.3414, allocations: 44.82 MB / 392.3 MB, free: 35.67 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000289/0.0002892, allocations: 11.98 kB / 465.4 MB, free: 12.57 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3169/0.3172, allocations: 62.97 MB / 0.516 GB, free: 37.36 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650): time 0.004482/0.3217, allocations: 4.744 MB / 0.5206 GB, free: 33.96 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001988/0.3237, allocations: 2.435 MB / 0.523 GB, free: 32.21 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.835e-05/0.3238, allocations: 0 / 0.523 GB, free: 32.21 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002275/0.3241, allocations: 35.34 kB / 0.523 GB, free: 32.19 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002214/0.3263, allocations: 0.9563 MB / 0.5239 GB, free: 31.79 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000325/0.3266, allocations: 140.7 kB / 0.5241 GB, free: 31.73 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003077/0.3269, allocations: 293.3 kB / 0.5244 GB, free: 31.6 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.652e-05/0.327, allocations: 16.94 kB / 0.5244 GB, free: 31.59 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001061/0.3281, allocations: 0.7976 MB / 0.5251 GB, free: 31.5 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002116/0.3283, allocations: 163.8 kB / 0.5253 GB, free: 31.44 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.176e-05/0.3283, allocations: 3.031 kB / 0.5253 GB, free: 31.44 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001814/0.3301, allocations: 1.316 MB / 0.5266 GB, free: 31.21 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.347e-05/0.3302, allocations: 36.78 kB / 0.5266 GB, free: 31.2 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 8.704e-05/0.3303, allocations: 100.1 kB / 0.5267 GB, free: 31.13 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005206/0.3308, allocations: 387 kB / 0.5271 GB, free: 31.04 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.3309, allocations: 0 / 0.5271 GB, free: 31.04 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.333e-06/0.3309, allocations: 4 kB / 0.5271 GB, free: 31.03 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.877e-06/0.3309, allocations: 2.938 kB / 0.5271 GB, free: 31.03 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.0007227/0.3316, allocations: 0.5235 MB / 0.5276 GB, free: 30.58 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.006e-05/0.3316, allocations: 10.31 kB / 0.5276 GB, free: 30.58 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.455e-05/0.3317, allocations: 55.17 kB / 0.5277 GB, free: 30.52 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003813/0.3321, allocations: 48 kB / 0.5277 GB, free: 30.51 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000163/0.3323, allocations: 202.5 kB / 0.5279 GB, free: 30.3 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.352e-05/0.3323, allocations: 24.75 kB / 0.5279 GB, free: 30.29 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.281e-05/0.3323, allocations: 13.12 kB / 0.5279 GB, free: 30.28 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003309/0.3326, allocations: 247.8 kB / 0.5282 GB, free: 30.12 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.808e-06/0.3327, allocations: 0 / 0.5282 GB, free: 30.12 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.453e-05/0.3327, allocations: 15 kB / 0.5282 GB, free: 30.11 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.281e-06/0.3327, allocations: 5.688 kB / 0.5282 GB, free: 30.11 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002746/0.333, allocations: 232.5 kB / 0.5284 GB, free: 30.05 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.0008928/0.3339, allocations: 1.364 MB / 0.5298 GB, free: 28.74 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001597/0.3341, allocations: 92.36 kB / 0.5298 GB, free: 28.69 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.196e-05/0.3341, allocations: 40.69 kB / 0.5299 GB, free: 28.67 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001106/0.3352, allocations: 2.056 MB / 0.5319 GB, free: 26.36 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001916/0.3354, allocations: 170.6 kB / 0.5321 GB, free: 26.21 MB / 378.7 MB Notification: Performance of pre-optimization done (n=18): time 1.653e-06/0.3354, allocations: 0 / 0.5321 GB, free: 26.21 MB / 378.7 MB Notification: Performance of matching and sorting (n=19): time 0.0007719/0.3362, allocations: 355.4 kB / 0.5324 GB, free: 26.03 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.015e-05/0.3363, allocations: 267.9 kB / 0.5327 GB, free: 25.71 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.873e-05/0.3364, allocations: 155 kB / 0.5328 GB, free: 25.59 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.871e-05/0.3364, allocations: 28.27 kB / 0.5328 GB, free: 25.55 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.284e-05/0.3365, allocations: 143.1 kB / 0.533 GB, free: 25.43 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.542e-05/0.3365, allocations: 74.62 kB / 0.533 GB, free: 25.37 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.057e-05/0.3365, allocations: 4 kB / 0.533 GB, free: 25.36 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.098e-05/0.3366, allocations: 325.1 kB / 0.5333 GB, free: 25.04 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.484e-05/0.3367, allocations: 42.86 kB / 0.5334 GB, free: 25.03 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001055/0.3368, allocations: 176 kB / 0.5336 GB, free: 24.84 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001945/0.337, allocations: 266.4 kB / 0.5338 GB, free: 24.58 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.337, allocations: 0 / 0.5338 GB, free: 24.58 MB / 378.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0003158/0.3373, allocations: 254.5 kB / 0.5341 GB, free: 24.47 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.428e-05/0.3373, allocations: 8.125 kB / 0.5341 GB, free: 24.47 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.494e-06/0.3373, allocations: 5.688 kB / 0.5341 GB, free: 24.47 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.832e-05/0.3374, allocations: 6.094 kB / 0.5341 GB, free: 24.47 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004157/0.3378, allocations: 101.9 kB / 0.5342 GB, free: 24.46 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002041/0.338, allocations: 0.5939 MB / 0.5347 GB, free: 23.86 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001295/0.3381, allocations: 17.94 kB / 0.5348 GB, free: 23.85 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.012e-05/0.3382, allocations: 25 kB / 0.5348 GB, free: 23.85 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 8.651e-05/0.3383, allocations: 138.9 kB / 0.5349 GB, free: 23.71 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.313e-05/0.3383, allocations: 16.84 kB / 0.5349 GB, free: 23.71 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004139/0.3387, allocations: 243.9 kB / 0.5352 GB, free: 23.53 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.797e-06/0.3388, allocations: 2.812 kB / 0.5352 GB, free: 23.53 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.3388, allocations: 3.938 kB / 0.5352 GB, free: 23.53 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.477e-06/0.3388, allocations: 0 / 0.5352 GB, free: 23.53 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002987/0.3391, allocations: 444.8 kB / 0.5356 GB, free: 23.09 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.3391, allocations: 0 / 0.5356 GB, free: 23.09 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002988/0.3394, allocations: 48.55 kB / 0.5356 GB, free: 23.09 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.659e-06/0.3394, allocations: 11.22 kB / 0.5357 GB, free: 23.09 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.109e-05/0.3394, allocations: 3.031 kB / 0.5357 GB, free: 23.09 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001524/0.3396, allocations: 0.5848 MB / 0.5362 GB, free: 22.49 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/0.3396, allocations: 2.781 kB / 0.5362 GB, free: 22.49 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001492/0.3397, allocations: 145 kB / 0.5364 GB, free: 22.38 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.84e-05/0.3398, allocations: 118.6 kB / 0.5365 GB, free: 22.27 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.768e-05/0.3399, allocations: 4 kB / 0.5365 GB, free: 22.26 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001343/0.34, allocations: 10.05 kB / 0.5365 GB, free: 22.26 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.41e-05/0.34, allocations: 13.22 kB / 0.5365 GB, free: 22.25 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.643e-05/0.3401, allocations: 10.19 kB / 0.5365 GB, free: 22.25 MB / 378.7 MB Notification: Performance of sorting global known variables: time 6.802e-05/0.3401, allocations: 125 kB / 0.5366 GB, free: 22.16 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3401, allocations: 0 / 0.5366 GB, free: 22.16 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000449/0.3406, allocations: 144.6 kB / 0.5368 GB, free: 22.13 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.0007951/0.3414, allocations: 0.8454 MB / 0.5376 GB, free: 21.44 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000398/0.3418, allocations: 159.4 kB / 0.5378 GB, free: 21.39 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.3418, allocations: 0 / 0.5378 GB, free: 21.39 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001958/0.342, allocations: 55.58 kB / 0.5378 GB, free: 21.38 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002895/0.3423, allocations: 28.86 kB / 0.5378 GB, free: 21.37 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001852/0.3442, allocations: 1.504 MB / 0.5393 GB, free: 20.38 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001232/0.3443, allocations: 0.7127 MB / 0.54 GB, free: 19.68 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001416/0.3445, allocations: 67.02 kB / 0.5401 GB, free: 19.64 MB / 378.7 MB Notification: Performance of SimCode: time 3.4e-07/0.3445, allocations: 3.938 kB / 0.5401 GB, free: 19.64 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_Essotherm650CalcHelperMain.o OMCppModelicaTest_trunk_cpp_ModelicaTest_Media_TestAllProperties_IncompleteMedia_Essotherm650CalcHelperMain.cpp In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest_Media_TestAllProperties_IncompleteMedia_Essotherm650CalcHelperMain.cpp:17: ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Media_TestAllProperties_IncompleteMedia_Essotherm650.h:287:19: error: member access into incomplete type 'Functions' _functions->ModelicaTest_Media_TestAllProperties_IncompleteMedia_Essotherm650_Medium_T__ps_f__nonlinear(u, s, output); ^ ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Media_TestAllProperties_IncompleteMedia_Essotherm650.h:11:7: note: forward declaration of 'Functions' class Functions; ^ In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest_Media_TestAllProperties_IncompleteMedia_Essotherm650CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Media_TestAllProperties_IncompleteMedia_Essotherm650FMU.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_Essotherm650CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Media_TestAllProperties_IncompleteMedia_Essotherm650FMU.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_Essotherm650CalcHelperMain.o] Error 1