Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Sources.TestSources.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.Fluid.TestComponents.Sources.TestSources,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Fluid_TestComponents_Sources_TestSources",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Sources.TestSources,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Fluid_TestComponents_Sources_TestSources",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009541/0.0009541, allocations: 199.3 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.191/1.191, allocations: 226.5 MB / 243.4 MB, free: 6.375 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008054/0.0008054, allocations: 99.78 kB / 295.5 MB, free: 6.676 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2825/0.2825, allocations: 44.83 MB / 392.3 MB, free: 35.7 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002561/0.0002563, allocations: 8.219 kB / 465.4 MB, free: 12.6 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2847/0.2849, allocations: 62.95 MB / 0.516 GB, free: 37.17 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sources.TestSources): time 0.5256/0.8106, allocations: 288.1 MB / 0.7973 GB, free: 13.18 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.02163/0.8322, allocations: 16.4 MB / 0.8133 GB, free: 13.72 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002343/0.8346, allocations: 65.09 kB / 0.8133 GB, free: 13.69 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.00278/0.8374, allocations: 0.8565 MB / 0.8142 GB, free: 13.06 MB / 0.5105 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Fluid/Sources.mo:730:36-731:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Fluid/Sources.mo:728:36-729:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Fluid/Sources.mo:730:36-731:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Fluid/Sources.mo:728:36-729:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Fluid/Sources.mo:784:36-785:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Fluid/Sources.mo:782:36-783:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Fluid/Sources.mo:784:36-785:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Fluid/Sources.mo:782:36-783:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Fluid/Sources.mo:730:36-731:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Fluid/Sources.mo:728:36-729:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Fluid/Sources.mo:730:36-731:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Fluid/Sources.mo:728:36-729:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Fluid/Sources.mo:730:36-731:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Fluid/Sources.mo:728:36-729:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.01452/0.852, allocations: 5.379 MB / 0.8194 GB, free: 8.398 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.01719/0.8692, allocations: 6.851 MB / 0.8261 GB, free: 1.555 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.007645/0.8768, allocations: 7.005 MB / 0.833 GB, free: 10.53 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002463/0.8793, allocations: 1.618 MB / 0.8345 GB, free: 8.879 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01139/0.8907, allocations: 5.627 MB / 0.84 GB, free: 3.238 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004297/0.895, allocations: 2.489 MB / 0.8425 GB, free: 0.7422 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 0.0005944/0.8957, allocations: 132 kB / 0.8426 GB, free: 0.6133 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02651/0.9222, allocations: 16.51 MB / 0.8587 GB, free: 76 kB / 0.5417 GB Notification: Performance of NFScalarize.scalarize: time 0.001824/0.924, allocations: 0.9973 MB / 0.8597 GB, free: 15.07 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.001857/0.9259, allocations: 1.262 MB / 0.8609 GB, free: 13.8 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.01543/0.9413, allocations: 7.929 MB / 0.8687 GB, free: 5.855 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.9414, allocations: 4 kB / 0.8687 GB, free: 5.852 MB / 0.5573 GB Notification: Performance of FrontEnd: time 2.294e-06/0.9414, allocations: 0 / 0.8687 GB, free: 5.852 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 4.231e-05/0.9414, allocations: 0 / 0.8687 GB, free: 5.852 MB / 0.5573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 480 * Number of variables: 480 Notification: Performance of Generate backend data structure: time 0.009599/0.951, allocations: 4.003 MB / 0.8726 GB, free: 1.758 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.746e-05/0.9511, allocations: 8.031 kB / 0.8726 GB, free: 1.75 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005642/0.9517, allocations: 278.1 kB / 0.8729 GB, free: 1.469 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000831/0.9525, allocations: 281.1 kB / 0.8731 GB, free: 1.191 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002067/0.9546, allocations: 1.341 MB / 0.8744 GB, free: 15.79 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001103/0.9547, allocations: 143.4 kB / 0.8746 GB, free: 15.65 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002687/0.955, allocations: 180 kB / 0.8747 GB, free: 15.48 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004451/0.9594, allocations: 2.977 MB / 0.8777 GB, free: 12.43 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.429e-05/0.9595, allocations: 11.94 kB / 0.8777 GB, free: 12.42 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002101/0.9597, allocations: 79.97 kB / 0.8777 GB, free: 12.34 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001866/0.9599, allocations: 167.6 kB / 0.8779 GB, free: 12.18 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004911/0.9648, allocations: 3.262 MB / 0.8811 GB, free: 8.91 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01726/0.9821, allocations: 11.38 MB / 0.8922 GB, free: 12.86 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004151/0.9863, allocations: 2.362 MB / 0.8945 GB, free: 10.48 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001532/0.9878, allocations: 1.043 MB / 0.8955 GB, free: 9.438 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002763/0.9906, allocations: 3.418 MB / 0.8989 GB, free: 5.301 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.371e-05/0.9907, allocations: 64.16 kB / 0.8989 GB, free: 5.227 MB / 0.5886 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001157/0.9918, allocations: 253.1 kB / 0.8992 GB, free: 4.98 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=155): time 3.326e-06/0.9919, allocations: 0 / 0.8992 GB, free: 4.98 MB / 0.5886 GB Notification: Performance of matching and sorting (n=155): time 0.006608/0.9985, allocations: 3.576 MB / 0.9027 GB, free: 1.355 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.354e-05/0.9986, allocations: 197.2 kB / 0.9028 GB, free: 1.121 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2219/1.22, allocations: 1.9 MB / 0.9047 GB, free: 238.1 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 0.0004677/1.221, allocations: 62.48 kB / 0.9048 GB, free: 238.1 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006666/1.222, allocations: 0.9029 MB / 0.9056 GB, free: 238 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004515/1.222, allocations: 0.5406 MB / 0.9062 GB, free: 237.5 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000141/1.222, allocations: 42.22 kB / 0.9062 GB, free: 237.5 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 9.35e-05/1.222, allocations: 386.4 kB / 0.9066 GB, free: 237.2 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001823/1.224, allocations: 1.076 MB / 0.9076 GB, free: 236.8 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001702/1.226, allocations: 1.505 MB / 0.9091 GB, free: 236 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003205/1.229, allocations: 2.705 MB / 0.9117 GB, free: 234.5 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.855e-06/1.229, allocations: 2.906 kB / 0.9117 GB, free: 234.5 MB / 0.5886 GB Notification: Performance of matching and sorting (n=252) (initialization): time 0.004857/1.234, allocations: 3.328 MB / 0.915 GB, free: 233.1 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002145/1.234, allocations: 0.5526 MB / 0.9155 GB, free: 232.5 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.423e-05/1.234, allocations: 8.25 kB / 0.9155 GB, free: 232.5 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003216/1.237, allocations: 0.6895 MB / 0.9162 GB, free: 232.4 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001772/1.239, allocations: 451.7 kB / 0.9166 GB, free: 232.3 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001288/1.241, allocations: 1.633 MB / 0.9182 GB, free: 231.1 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001967/1.243, allocations: 132.5 kB / 0.9184 GB, free: 231 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002438/1.243, allocations: 128.2 kB / 0.9185 GB, free: 231 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 8.776e-06/1.243, allocations: 2.938 kB / 0.9185 GB, free: 231 MB / 0.5886 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004361/1.247, allocations: 3.003 MB / 0.9214 GB, free: 229.8 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.922e-05/1.247, allocations: 10.5 kB / 0.9214 GB, free: 229.8 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001172/1.248, allocations: 308 kB / 0.9217 GB, free: 229.8 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001992/1.25, allocations: 494.5 kB / 0.9222 GB, free: 229.7 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007607/1.251, allocations: 1.325 MB / 0.9235 GB, free: 228.6 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001883/1.253, allocations: 132.5 kB / 0.9236 GB, free: 228.5 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002334/1.253, allocations: 127.8 kB / 0.9237 GB, free: 228.5 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 48 * Number of states: 0 () * Number of discrete variables: 5 (traceSubstance.ind,traceSubstance2.ind,traceSubstance3.ind,traceSubstance4.ind,traceSubstance1.ind) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (239): * Single equations (assignments): 232 * Array equations: 0 * Algorithm blocks: 5 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 6,1 7} Notification: Performance of prepare postOptimizeDAE: time 0.001049/1.254, allocations: 0.6045 MB / 0.9243 GB, free: 228.1 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003225/1.255, allocations: 216 kB / 0.9245 GB, free: 228 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006039/1.261, allocations: 3.868 MB / 0.9283 GB, free: 226.6 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.198e-05/1.261, allocations: 16.34 kB / 0.9283 GB, free: 226.6 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.765e-06/1.261, allocations: 4.281 kB / 0.9283 GB, free: 226.6 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.805e-05/1.261, allocations: 6.922 kB / 0.9283 GB, free: 226.6 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009334/1.27, allocations: 5.796 MB / 0.934 GB, free: 223.9 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.42e-05/1.27, allocations: 9.234 kB / 0.934 GB, free: 223.9 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001267/1.272, allocations: 302.5 kB / 0.9343 GB, free: 223.9 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003117/1.275, allocations: 0.6497 MB / 0.9349 GB, free: 223.8 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002268/1.275, allocations: 60.25 kB / 0.935 GB, free: 223.8 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001264/1.276, allocations: 1.627 MB / 0.9366 GB, free: 222.5 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.083e-05/1.276, allocations: 13.81 kB / 0.9366 GB, free: 222.5 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004799/1.281, allocations: 2.772 MB / 0.9393 GB, free: 221.2 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007989/1.282, allocations: 367.6 kB / 0.9396 GB, free: 221 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003086/1.282, allocations: 42.33 kB / 0.9397 GB, free: 220.9 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001615/1.284, allocations: 119.5 kB / 0.9398 GB, free: 220.9 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003231/1.284, allocations: 135 kB / 0.9399 GB, free: 220.9 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002506/1.284, allocations: 113.2 kB / 0.94 GB, free: 220.9 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.002112/1.286, allocations: 1.412 MB / 0.9414 GB, free: 220.3 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.71e-07/1.286, allocations: 1.844 kB / 0.9414 GB, free: 220.3 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.006437/1.293, allocations: 2.541 MB / 0.9439 GB, free: 220 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * 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 (161): * Single equations (assignments): 158 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 9,1 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.0092/1.302, allocations: 5.361 MB / 0.9491 GB, free: 217.9 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.006587/1.309, allocations: 4.507 MB / 0.9535 GB, free: 216 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.192e-05/1.309, allocations: 5.297 kB / 0.9535 GB, free: 216 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.001748/1.311, allocations: 1.168 MB / 0.9547 GB, free: 215.6 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006936/1.317, allocations: 1.349 MB / 0.956 GB, free: 215.3 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02336/1.341, allocations: 15.79 MB / 0.9714 GB, free: 201.3 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008391/1.342, allocations: 1.613 MB / 0.973 GB, free: 199.6 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001553/1.343, allocations: 0.9288 MB / 0.9739 GB, free: 198.7 MB / 0.5886 GB Notification: Performance of SimCode: time 7.01e-07/1.343, allocations: 0 / 0.9739 GB, free: 198.7 MB / 0.5886 GB 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"." "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Resources/C-Sources" -DUSE_LOGGER -c -o OMCppModelicaTest_trunk_cpp_ModelicaTest_Fluid_TestComponents_Sources_TestSourcesCalcHelperMain.o OMCppModelicaTest_trunk_cpp_ModelicaTest_Fluid_TestComponents_Sources_TestSourcesCalcHelperMain.cpp In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest_Fluid_TestComponents_Sources_TestSourcesCalcHelperMain.cpp:17: ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Fluid_TestComponents_Sources_TestSources.h:1208:19: error: member access into incomplete type 'Functions' _functions->ModelicaTest_Fluid_TestComponents_Sources_TestSources_pipe_Medium_T__phX_f__nonlinear(u, p, h, X, output); ^ ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Fluid_TestComponents_Sources_TestSources.h:11:7: note: forward declaration of 'Functions' class Functions; ^ ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Fluid_TestComponents_Sources_TestSources.h:1226:19: error: member access into incomplete type 'Functions' _functions->ModelicaTest_Fluid_TestComponents_Sources_TestSources_pipe3_Medium_T__phX_f__nonlinear(u, p, h, X, output); ^ ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Fluid_TestComponents_Sources_TestSources.h:11:7: note: forward declaration of 'Functions' class Functions; ^ ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Fluid_TestComponents_Sources_TestSources.h:1244:19: error: member access into incomplete type 'Functions' _functions->ModelicaTest_Fluid_TestComponents_Sources_TestSources_pipe2_Medium_T__phX_f__nonlinear(u, p, h, X, output); ^ ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Fluid_TestComponents_Sources_TestSources.h:11:7: note: forward declaration of 'Functions' class Functions; ^ ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Fluid_TestComponents_Sources_TestSources.h:1262:19: error: member access into incomplete type 'Functions' _functions->ModelicaTest_Fluid_TestComponents_Sources_TestSources_pipe1_Medium_T__phX_f__nonlinear(u, p, h, X, output); ^ ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Fluid_TestComponents_Sources_TestSources.h:11:7: note: forward declaration of 'Functions' class Functions; ^ ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Fluid_TestComponents_Sources_TestSources.h:1280:19: error: member access into incomplete type 'Functions' _functions->ModelicaTest_Fluid_TestComponents_Sources_TestSources_pipe_Medium_T__phX_f__nonlinear(u, p, h, X, output); ^ ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Fluid_TestComponents_Sources_TestSources.h:11:7: note: forward declaration of 'Functions' class Functions; ^ In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest_Fluid_TestComponents_Sources_TestSourcesCalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Fluid_TestComponents_Sources_TestSourcesFMU.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_Fluid_TestComponents_Sources_TestSourcesCalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Fluid_TestComponents_Sources_TestSourcesFMU.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 5 errors generated. make: *** [: OMCppModelicaTest_trunk_cpp_ModelicaTest_Fluid_TestComponents_Sources_TestSourcesCalcHelperMain.o] Error 1