Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_Modelica.Fluid.Examples.BranchingDynamicPipes.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) 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(Modelica.Fluid.Examples.BranchingDynamicPipes,fileNamePrefix="Modelica_trunk_cpp_Modelica_Fluid_Examples_BranchingDynamicPipes",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Fluid.Examples.BranchingDynamicPipes,fileNamePrefix="Modelica_trunk_cpp_Modelica_Fluid_Examples_BranchingDynamicPipes",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001106/0.001107, allocations: 200.2 kB / 17.38 MB, free: 4.43 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.181/1.181, allocations: 226.5 MB / 244.7 MB, free: 6.469 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007225/0.0007225, allocations: 102 kB / 296.7 MB, free: 6.688 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002055/0.0002059, allocations: 12 kB / 356.8 MB, free: 10.6 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1746/0.1749, allocations: 51.28 MB / 408.1 MB, free: 27.68 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.BranchingDynamicPipes): time 0.3695/0.5444, allocations: 252.2 MB / 0.6448 GB, free: 14.08 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.0264/0.5708, allocations: 22.13 MB / 0.6664 GB, free: 7.895 MB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002304/0.5732, allocations: 115.2 kB / 0.6665 GB, free: 7.781 MB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002219/0.5754, allocations: 1.045 MB / 0.6676 GB, free: 6.73 MB / 474.7 MB [/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.01256/0.588, allocations: 5.871 MB / 0.6733 GB, free: 0.8398 MB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01577/0.6038, allocations: 6.912 MB / 0.68 GB, free: 9.938 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.2425/0.8463, allocations: 18.98 MB / 0.6986 GB, free: 7.746 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005033/0.8513, allocations: 3.695 MB / 0.7022 GB, free: 7.484 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008475/0.8598, allocations: 5.311 MB / 0.7074 GB, free: 7.477 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009472/0.8693, allocations: 6.872 MB / 0.7141 GB, free: 7.457 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001296/0.8706, allocations: 380.9 kB / 0.7144 GB, free: 7.457 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01963/0.8903, allocations: 12.54 MB / 0.7267 GB, free: 7.445 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.005142/0.8954, allocations: 3.958 MB / 0.7306 GB, free: 7.445 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.008752/0.9042, allocations: 4.182 MB / 0.7346 GB, free: 7.203 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01649/0.9207, allocations: 13.55 MB / 0.7479 GB, free: 1.043 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.9207, allocations: 0 / 0.7479 GB, free: 1.043 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.513e-06/0.9208, allocations: 1.844 kB / 0.7479 GB, free: 1.043 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0003862/0.9212, allocations: 0 / 0.7479 GB, free: 1.043 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2025 * Number of variables: 2025 Notification: Performance of Generate backend data structure: time 0.03521/0.9564, allocations: 10 MB / 0.7576 GB, free: 8.371 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.824e-05/0.9564, allocations: 12.03 kB / 0.7577 GB, free: 8.359 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003608/0.96, allocations: 1.009 MB / 0.7586 GB, free: 7.781 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004808/0.9649, allocations: 0.8618 MB / 0.7595 GB, free: 6.914 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01159/0.9765, allocations: 5.786 MB / 0.7651 GB, free: 2.91 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005209/0.977, allocations: 488.7 kB / 0.7656 GB, free: 2.641 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002813/0.9798, allocations: 0.6568 MB / 0.7662 GB, free: 2.199 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02784/1.008, allocations: 14.48 MB / 0.7804 GB, free: 8.254 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003074/1.008, allocations: 27.8 kB / 0.7804 GB, free: 8.227 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002411/1.01, allocations: 254.9 kB / 0.7807 GB, free: 8.172 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001476/1.012, allocations: 1.282 MB / 0.7819 GB, free: 7.07 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02981/1.042, allocations: 16.98 MB / 0.7985 GB, free: 11.44 MB / 0.5261 GB 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.08604/1.128, allocations: 54.13 MB / 0.8514 GB, free: 13.33 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0179/1.146, allocations: 11.4 MB / 0.8625 GB, free: 5.832 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01123/1.157, allocations: 7.793 MB / 0.8701 GB, free: 0.7656 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003607/1.161, allocations: 4.13 MB / 0.8741 GB, free: 11.93 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001489/1.161, allocations: 153.7 kB / 0.8743 GB, free: 11.84 MB / 0.5886 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.005342/1.166, allocations: 0.8062 MB / 0.8751 GB, free: 11.2 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=925): time 4.019e-05/1.166, allocations: 3.844 kB / 0.8751 GB, free: 11.2 MB / 0.5886 GB Notification: Performance of matching and sorting (n=1187): time 0.459/1.625, allocations: 103.2 MB / 0.9758 GB, free: 257.9 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.579e-05/1.625, allocations: 171.8 kB / 0.976 GB, free: 257.7 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004237/1.63, allocations: 3.759 MB / 0.9797 GB, free: 254 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 0.002704/1.632, allocations: 245.7 kB / 0.9799 GB, free: 253.7 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.001136/1.633, allocations: 2.334 MB / 0.9822 GB, free: 251.4 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.00373/1.637, allocations: 4.13 MB / 0.9862 GB, free: 247.3 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009667/1.638, allocations: 228 kB / 0.9864 GB, free: 247 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0004196/1.639, allocations: 0.7766 MB / 0.9872 GB, free: 246.3 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0165/1.655, allocations: 10.62 MB / 0.9976 GB, free: 235.6 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01803/1.673, allocations: 12.09 MB / 1.009 GB, free: 223.2 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.04014/1.713, allocations: 23.04 MB / 1.032 GB, free: 199.8 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.076e-05/1.713, allocations: 8 kB / 1.032 GB, free: 199.8 MB / 0.6042 GB Notification: Performance of matching and sorting (n=1456) (initialization): time 0.06714/1.781, allocations: 34.11 MB / 1.065 GB, free: 165.6 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003937/1.781, allocations: 0.9545 MB / 1.066 GB, free: 164.3 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.379e-05/1.781, allocations: 30.25 kB / 1.066 GB, free: 164.2 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.2547/2.036, allocations: 85.29 MB / 1.149 GB, free: 78.93 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005162/2.041, allocations: 1.108 MB / 1.151 GB, free: 77.82 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06766/2.109, allocations: 37.19 MB / 1.187 GB, free: 40.53 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01426/2.123, allocations: 1.836 MB / 1.189 GB, free: 38.69 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003016/2.126, allocations: 0.5817 MB / 1.189 GB, free: 38.11 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.124e-05/2.126, allocations: 4 kB / 1.189 GB, free: 38.11 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.239/2.365, allocations: 32.71 MB / 1.221 GB, free: 285.2 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.381e-05/2.365, allocations: 31.28 kB / 1.221 GB, free: 285.2 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.2419/2.607, allocations: 78.38 MB / 1.298 GB, free: 228.3 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005979/2.613, allocations: 1.153 MB / 1.299 GB, free: 227.3 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07003/2.683, allocations: 35.13 MB / 1.333 GB, free: 192.2 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01709/2.7, allocations: 1.805 MB / 1.335 GB, free: 190.5 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005026/2.705, allocations: 0.57 MB / 1.335 GB, free: 189.9 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 123 * 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 (619): * Single equations (assignments): 618 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {76 762} Notification: Performance of prepare postOptimizeDAE: time 0.01232/2.718, allocations: 2.614 MB / 1.338 GB, free: 187.3 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004307/2.722, allocations: 0.6668 MB / 1.339 GB, free: 187 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.06081/2.783, allocations: 31.65 MB / 1.37 GB, free: 155.3 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001007/2.783, allocations: 124 kB / 1.37 GB, free: 155.1 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.755e-05/2.783, allocations: 3.938 kB / 1.37 GB, free: 155.1 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.04474/2.828, allocations: 24.61 MB / 1.394 GB, free: 130.4 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06709/2.895, allocations: 43.57 MB / 1.436 GB, free: 87.04 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.67e-05/2.895, allocations: 4 kB / 1.436 GB, free: 87.03 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01567/2.911, allocations: 3.386 MB / 1.44 GB, free: 83.64 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.04096/2.952, allocations: 12.59 MB / 1.452 GB, free: 71.1 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002727/2.954, allocations: 0.6283 MB / 1.452 GB, free: 70.47 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03603/2.99, allocations: 44.81 MB / 1.496 GB, free: 24.13 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.845e-06/2.99, allocations: 3.938 kB / 1.496 GB, free: 24.13 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2483/3.239, allocations: 38.19 MB / 1.534 GB, free: 277.3 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002254/3.241, allocations: 0.8013 MB / 1.534 GB, free: 277.1 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003817/3.245, allocations: 490.6 kB / 1.535 GB, free: 276.9 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01295/3.258, allocations: 1.487 MB / 1.536 GB, free: 276.7 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003386/3.261, allocations: 0.8062 MB / 1.537 GB, free: 276.6 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00256/3.264, allocations: 0.5457 MB / 1.538 GB, free: 276.5 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.003942/3.268, allocations: 2.582 MB / 1.54 GB, free: 275.6 MB / 0.6042 GB Notification: Performance of sort global known variables: time 3.1e-07/3.268, allocations: 0 / 1.54 GB, free: 275.6 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.02059/3.288, allocations: 6.687 MB / 1.547 GB, free: 274.9 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 82 (pipe1.mediums[1].p,pipe1.mediums[1].Xi[1],pipe1.mediums[1].T,pipe1.mediums[2].p,pipe1.mediums[2].Xi[1],pipe1.mediums[2].T,pipe1.mediums[3].p,pipe1.mediums[3].Xi[1],pipe1.mediums[3].T,pipe1.mediums[4].p,pipe1.mediums[4].Xi[1],pipe1.mediums[4].T,pipe1.mediums[5].p,pipe1.mediums[5].Xi[1],pipe1.mediums[5].T,pipe1.flowModel.m_flows[1],pipe1.flowModel.m_flows[2],pipe1.flowModel.m_flows[3],pipe1.flowModel.m_flows[4],pipe1.flowModel.m_flows[5],pipe1.flowModel.m_flows[6],pipe2.mediums[1].p,pipe2.mediums[1].Xi[1],pipe2.mediums[1].T,pipe2.mediums[2].p,pipe2.mediums[2].Xi[1],pipe2.mediums[2].T,pipe2.mediums[3].p,pipe2.mediums[3].Xi[1],pipe2.mediums[3].T,pipe2.mediums[4].p,pipe2.mediums[4].Xi[1],pipe2.mediums[4].T,pipe2.mediums[5].p,pipe2.mediums[5].Xi[1],pipe2.mediums[5].T,pipe2.flowModel.m_flows[1],pipe2.flowModel.m_flows[2],pipe2.flowModel.m_flows[3],pipe2.flowModel.m_flows[4],pipe3.mediums[1].p,pipe3.mediums[1].Xi[1],pipe3.mediums[1].T,pipe3.mediums[2].p,pipe3.mediums[2].Xi[1],pipe3.mediums[2].T,pipe3.mediums[3].p,pipe3.mediums[3].Xi[1],pipe3.mediums[3].T,pipe3.mediums[4].p,pipe3.mediums[4].Xi[1],pipe3.mediums[4].T,pipe3.mediums[5].p,pipe3.mediums[5].Xi[1],pipe3.mediums[5].T,pipe3.flowModel.m_flows[1],pipe3.flowModel.m_flows[2],pipe3.flowModel.m_flows[3],pipe3.flowModel.m_flows[4],pipe3.flowModel.m_flows[5],pipe3.flowModel.m_flows[6],pipe4.mediums[1].p,pipe4.mediums[1].Xi[1],pipe4.mediums[1].T,pipe4.mediums[2].p,pipe4.mediums[2].Xi[1],pipe4.mediums[2].T,pipe4.mediums[3].p,pipe4.mediums[3].Xi[1],pipe4.mediums[3].T,pipe4.mediums[4].p,pipe4.mediums[4].Xi[1],pipe4.mediums[4].T,pipe4.mediums[5].p,pipe4.mediums[5].Xi[1],pipe4.mediums[5].T,pipe4.flowModel.m_flows[1],pipe4.flowModel.m_flows[2],pipe4.flowModel.m_flows[3],pipe4.flowModel.m_flows[4],pipe4.flowModel.m_flows[5],pipe4.flowModel.m_flows[6]) * 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 (1168): * Single equations (assignments): 1121 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 22 * Torn equation systems: 25 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 22 {1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 5 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 20 {2 6,2 6,2 6,2 6,2 6,2 6,2 6,2 6,2 6,2 6,2 6,2 6,2 6,2 6,2 6,2 6,2 6,2 6,2 6,2 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.08934/3.378, allocations: 41.34 MB / 1.587 GB, free: 255 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.08769/3.465, allocations: 39.13 MB / 1.625 GB, free: 216.1 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.665e-05/3.466, allocations: 5 kB / 1.625 GB, free: 216.1 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.03324/3.499, allocations: 14.36 MB / 1.639 GB, free: 201.7 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02282/3.522, allocations: 3.356 MB / 1.643 GB, free: 198.5 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2142/3.736, allocations: 110.9 MB / 1.751 GB, free: 85.65 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006282/3.742, allocations: 5.145 MB / 1.756 GB, free: 80.47 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008324/3.751, allocations: 3.674 MB / 1.759 GB, free: 76.8 MB / 0.6042 GB Notification: Performance of SimCode: time 1.232e-06/3.751, allocations: 4 kB / 1.759 GB, free: 76.8 MB / 0.6042 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"." -DUSE_LOGGER -c -o OMCppModelica_trunk_cpp_Modelica_Fluid_Examples_BranchingDynamicPipesCalcHelperMain.o OMCppModelica_trunk_cpp_Modelica_Fluid_Examples_BranchingDynamicPipesCalcHelperMain.cpp In file included from OMCppModelica_trunk_cpp_Modelica_Fluid_Examples_BranchingDynamicPipesCalcHelperMain.cpp:17: ./OMCppModelica_trunk_cpp_Modelica_Fluid_Examples_BranchingDynamicPipes.h:3722:19: error: member access into incomplete type 'Functions' _functions->Modelica_Fluid_Examples_BranchingDynamicPipes_pipe4_Medium_T__phX_f__nonlinear(u, p, h, X, output); ^ ./OMCppModelica_trunk_cpp_Modelica_Fluid_Examples_BranchingDynamicPipes.h:11:7: note: forward declaration of 'Functions' class Functions; ^ ./OMCppModelica_trunk_cpp_Modelica_Fluid_Examples_BranchingDynamicPipes.h:3740:19: error: member access into incomplete type 'Functions' _functions->Modelica_Fluid_Examples_BranchingDynamicPipes_pipe4_Medium_T__phX_f__nonlinear(u, p, h, X, output); ^ ./OMCppModelica_trunk_cpp_Modelica_Fluid_Examples_BranchingDynamicPipes.h:11:7: note: forward declaration of 'Functions' class Functions; ^ ./OMCppModelica_trunk_cpp_Modelica_Fluid_Examples_BranchingDynamicPipes.h:3758:19: error: member access into incomplete type 'Functions' _functions->Modelica_Fluid_Examples_BranchingDynamicPipes_pipe2_Medium_T__phX_f__nonlinear(u, p, h, X, output); ^ ./OMCppModelica_trunk_cpp_Modelica_Fluid_Examples_BranchingDynamicPipes.h:11:7: note: forward declaration of 'Functions' class Functions; ^ ./OMCppModelica_trunk_cpp_Modelica_Fluid_Examples_BranchingDynamicPipes.h:3776:19: error: member access into incomplete type 'Functions' _functions->Modelica_Fluid_Examples_BranchingDynamicPipes_pipe3_Medium_T__phX_f__nonlinear(u, p, h, X, output); ^ ./OMCppModelica_trunk_cpp_Modelica_Fluid_Examples_BranchingDynamicPipes.h:11:7: note: forward declaration of 'Functions' class Functions; ^ ./OMCppModelica_trunk_cpp_Modelica_Fluid_Examples_BranchingDynamicPipes.h:3794:19: error: member access into incomplete type 'Functions' _functions->Modelica_Fluid_Examples_BranchingDynamicPipes_pipe3_Medium_T__phX_f__nonlinear(u, p, h, X, output); ^ ./OMCppModelica_trunk_cpp_Modelica_Fluid_Examples_BranchingDynamicPipes.h:11:7: note: forward declaration of 'Functions' class Functions; ^ ./OMCppModelica_trunk_cpp_Modelica_Fluid_Examples_BranchingDynamicPipes.h:3812:19: error: member access into incomplete type 'Functions' _functions->Modelica_Fluid_Examples_BranchingDynamicPipes_pipe2_Medium_T__phX_f__nonlinear(u, p, h, X, output); ^ ./OMCppModelica_trunk_cpp_Modelica_Fluid_Examples_BranchingDynamicPipes.h:11:7: note: forward declaration of 'Functions' class Functions; ^ ./OMCppModelica_trunk_cpp_Modelica_Fluid_Examples_BranchingDynamicPipes.h:3830:19: error: member access into incomplete type 'Functions' _functions->Modelica_Fluid_Examples_BranchingDynamicPipes_pipe1_Medium_T__phX_f__nonlinear(u, p, h, X, output); ^ ./OMCppModelica_trunk_cpp_Modelica_Fluid_Examples_BranchingDynamicPipes.h:11:7: note: forward declaration of 'Functions' class Functions; ^ In file included from OMCppModelica_trunk_cpp_Modelica_Fluid_Examples_BranchingDynamicPipesCalcHelperMain.cpp:35: In file included from ./OMCppModelica_trunk_cpp_Modelica_Fluid_Examples_BranchingDynamicPipesFMU.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 OMCppModelica_trunk_cpp_Modelica_Fluid_Examples_BranchingDynamicPipesCalcHelperMain.cpp:35: In file included from ./OMCppModelica_trunk_cpp_Modelica_Fluid_Examples_BranchingDynamicPipesFMU.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 7 errors generated. make: *** [: OMCppModelica_trunk_cpp_Modelica_Fluid_Examples_BranchingDynamicPipesCalcHelperMain.o] Error 1