Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestExamplesVariants.BranchingDynamicPipes_MomentumSteadyState.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestExamplesVariants.BranchingDynamicPipes_MomentumSteadyState,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestExamplesVariants_BranchingDynamicPipes_MomentumSteadyState",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestExamplesVariants.BranchingDynamicPipes_MomentumSteadyState,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestExamplesVariants_BranchingDynamicPipes_MomentumSteadyState",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001103/0.001103, allocations: 95.75 kB / 16.99 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001355/0.001355, allocations: 204.6 kB / 17.9 MB, free: 5.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.479/1.479, allocations: 227.3 MB / 245.9 MB, free: 10.29 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2075/0.2075, allocations: 45.91 MB / 344 MB, free: 12.06 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002782/0.0002783, allocations: 8 kB / 418.1 MB, free: 20.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1382/0.1385, allocations: 63.47 MB / 481.5 MB, free: 5.23 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestExamplesVariants.BranchingDynamicPipes_MomentumSteadyState): time 0.54/0.6785, allocations: 216.7 MB / 0.6819 GB, free: 12.11 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.03625/0.7148, allocations: 22.96 MB / 0.7043 GB, free: 5.109 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003476/0.7183, allocations: 107.2 kB / 0.7044 GB, free: 5.004 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.003688/0.7221, allocations: 1.05 MB / 0.7055 GB, free: 3.949 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.3868/1.109, allocations: 4.621 MB / 0.71 GB, free: 5.836 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.01889/1.128, allocations: 6.451 MB / 0.7163 GB, free: 5.777 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.01438/1.142, allocations: 8.451 MB / 0.7245 GB, free: 5.746 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007668/1.15, allocations: 3.633 MB / 0.7281 GB, free: 5.508 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01455/1.164, allocations: 4.927 MB / 0.7329 GB, free: 5.5 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01126/1.176, allocations: 4.72 MB / 0.7375 GB, free: 5.477 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.003474/1.179, allocations: 380.6 kB / 0.7379 GB, free: 5.477 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02438/1.204, allocations: 10.22 MB / 0.7478 GB, free: 4.656 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.007113/1.211, allocations: 3.488 MB / 0.7512 GB, free: 3.656 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.005063/1.216, allocations: 1.582 MB / 0.7528 GB, free: 3.625 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.02658/1.242, allocations: 13.14 MB / 0.7656 GB, free: 13.95 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/1.243, allocations: 0 / 0.7656 GB, free: 13.95 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.525e-06/1.243, allocations: 0 / 0.7656 GB, free: 13.95 MB / 0.545 GB Notification: Performance of Transformations before backend: time 0.0005529/1.243, allocations: 0 / 0.7656 GB, free: 13.95 MB / 0.545 GB 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.04536/1.288, allocations: 9.867 MB / 0.7753 GB, free: 7.926 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 6.524e-05/1.289, allocations: 8.031 kB / 0.7753 GB, free: 7.918 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006427/1.295, allocations: 1.017 MB / 0.7763 GB, free: 7.332 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007098/1.302, allocations: 0.8527 MB / 0.7771 GB, free: 6.473 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01318/1.315, allocations: 4.188 MB / 0.7812 GB, free: 3.445 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006116/1.316, allocations: 489.9 kB / 0.7816 GB, free: 3.176 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004076/1.32, allocations: 0.6298 MB / 0.7823 GB, free: 2.754 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03323/1.353, allocations: 14.18 MB / 0.7961 GB, free: 9 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002509/1.354, allocations: 26.86 kB / 0.7961 GB, free: 8.977 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002057/1.356, allocations: 258.7 kB / 0.7964 GB, free: 8.918 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001344/1.357, allocations: 1.265 MB / 0.7976 GB, free: 7.832 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03366/1.391, allocations: 16.55 MB / 0.8138 GB, free: 12.48 MB / 0.5762 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.1059/1.497, allocations: 53.51 MB / 0.866 GB, free: 14.73 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0213/1.518, allocations: 11 MB / 0.8768 GB, free: 7.438 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00447/1.523, allocations: 4.205 MB / 0.8809 GB, free: 2.516 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000216/1.523, allocations: 149.1 kB / 0.881 GB, free: 2.426 MB / 0.6231 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.006882/1.53, allocations: 0.7758 MB / 0.8818 GB, free: 1.785 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=881): time 4.125e-05/1.53, allocations: 0.875 kB / 0.8818 GB, free: 1.785 MB / 0.6231 GB Notification: Performance of matching and sorting (n=1121): time 0.6328/2.162, allocations: 99.15 MB / 0.9786 GB, free: 311.7 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001414/2.163, allocations: 166 kB / 0.9788 GB, free: 311.6 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006265/2.169, allocations: 3.879 MB / 0.9826 GB, free: 310.3 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.004098/2.173, allocations: 233 kB / 0.9828 GB, free: 310.1 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.00204/2.175, allocations: 2.422 MB / 0.9851 GB, free: 308.3 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.005864/2.181, allocations: 3.896 MB / 0.9889 GB, free: 305.3 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002526/2.184, allocations: 218 kB / 0.9892 GB, free: 305.1 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0007694/2.184, allocations: 0.7473 MB / 0.9899 GB, free: 304.7 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02214/2.206, allocations: 10.19 MB / 0.9998 GB, free: 301.6 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02215/2.229, allocations: 11.7 MB / 1.011 GB, free: 295.7 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02172/2.25, allocations: 11.27 MB / 1.022 GB, free: 290 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.687e-05/2.251, allocations: 15.44 kB / 1.022 GB, free: 290 MB / 0.6856 GB Notification: Performance of matching and sorting (n=1390) (initialization): time 0.07196/2.323, allocations: 32.76 MB / 1.054 GB, free: 263.6 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 0.002307/2.325, allocations: 13.93 MB / 1.068 GB, free: 248.2 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.326e-05/2.325, allocations: 35.94 kB / 1.068 GB, free: 248.2 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.2483/2.573, allocations: 80.75 MB / 1.147 GB, free: 167.5 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005398/2.579, allocations: 1.088 MB / 1.148 GB, free: 166.4 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07555/2.654, allocations: 35.33 MB / 1.182 GB, free: 130.9 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01561/2.67, allocations: 1.793 MB / 1.184 GB, free: 129.1 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003804/2.674, allocations: 0.57 MB / 1.185 GB, free: 128.6 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.858e-05/2.674, allocations: 4 kB / 1.185 GB, free: 128.6 MB / 0.6856 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.06821/2.742, allocations: 31.07 MB / 1.215 GB, free: 97.43 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001611/2.742, allocations: 32.94 kB / 1.215 GB, free: 97.39 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.2108/2.953, allocations: 70.27 MB / 1.284 GB, free: 27.08 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005922/2.959, allocations: 1.19 MB / 1.285 GB, free: 25.89 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3735/3.333, allocations: 32.29 MB / 1.316 GB, free: 307.5 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01746/3.35, allocations: 1.752 MB / 1.318 GB, free: 307.5 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.006888/3.357, allocations: 0.56 MB / 1.319 GB, free: 307.5 MB / 0.6856 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 145 * 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 (603): * Single equations (assignments): 602 * 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 {73 715} Notification: Performance of prepare postOptimizeDAE: time 0.01211/3.369, allocations: 2.587 MB / 1.321 GB, free: 307.2 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004809/3.374, allocations: 0.6517 MB / 1.322 GB, free: 307.2 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.07749/3.452, allocations: 31.01 MB / 1.352 GB, free: 296 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001504/3.452, allocations: 115 kB / 1.352 GB, free: 296 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.634e-05/3.452, allocations: 7.484 kB / 1.352 GB, free: 296 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0534/3.505, allocations: 24.02 MB / 1.376 GB, free: 278.1 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.09186/3.597, allocations: 42.16 MB / 1.417 GB, free: 236 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001304/3.597, allocations: 3.938 kB / 1.417 GB, free: 236 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01235/3.61, allocations: 2.126 MB / 1.419 GB, free: 233.9 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0486/3.658, allocations: 14.03 MB / 1.433 GB, free: 219.8 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.004362/3.663, allocations: 0.601 MB / 1.433 GB, free: 219.2 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.035/3.698, allocations: 33.16 MB / 1.466 GB, free: 184.8 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.358e-06/3.698, allocations: 0 / 1.466 GB, free: 184.8 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.07848/3.776, allocations: 37.21 MB / 1.502 GB, free: 147.4 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002833/3.779, allocations: 0.8012 MB / 1.503 GB, free: 146.6 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004841/3.784, allocations: 459.7 kB / 1.503 GB, free: 146.1 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01487/3.799, allocations: 1.447 MB / 1.504 GB, free: 144.7 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004543/3.803, allocations: 0.7621 MB / 1.505 GB, free: 143.9 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00429/3.808, allocations: 0.5347 MB / 1.506 GB, free: 143.4 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.004796/3.813, allocations: 2.659 MB / 1.508 GB, free: 140.7 MB / 0.6856 GB Notification: Performance of sort global known variables: time 4.41e-07/3.813, allocations: 0 / 1.508 GB, free: 140.7 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.02801/3.841, allocations: 6.566 MB / 1.515 GB, free: 134.5 MB / 0.6856 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 60 (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,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,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,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) * 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 (1056): * Single equations (assignments): 1029 * 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: 27 * Mixed (continuous/discrete) equation systems: 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: 22 {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,4 20,4 20} Notification: Performance of Backend phase and start with SimCode phase: time 0.08798/3.929, allocations: 40.55 MB / 1.554 GB, free: 93.93 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.08549/4.014, allocations: 37.32 MB / 1.591 GB, free: 56.59 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 1.715e-05/4.014, allocations: 5 kB / 1.591 GB, free: 56.59 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.02991/4.044, allocations: 12.76 MB / 1.603 GB, free: 43.76 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01835/4.063, allocations: 3.214 MB / 1.606 GB, free: 40.57 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3474/4.41, allocations: 65.08 MB / 1.67 GB, free: 278.8 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008611/4.419, allocations: 5.194 MB / 1.675 GB, free: 277.9 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0198/4.438, allocations: 5.486 MB / 1.68 GB, free: 277.8 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009414/4.448, allocations: 3.456 MB / 1.684 GB, free: 277.8 MB / 0.6856 GB Notification: Performance of SimCode: time 1.052e-06/4.448, allocations: 3.156 kB / 1.684 GB, free: 277.8 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8332/5.281, allocations: 461.5 MB / 2.135 GB, free: 189.5 MB / 0.6856 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001663/5.281, allocations: 290.8 kB / 2.135 GB, free: 189.2 MB / 0.6856 GB Error: Error building simulator. Build log: clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Os -march=native -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o ModelicaTest_trunk_ModelicaTest_Fluid_TestExamplesVariants_BranchingDynamicPipes_MomentumSteadyState.o ModelicaTest_trunk_ModelicaTest_Fluid_TestExamplesVariants_BranchingDynamicPipes_MomentumSteadyState.c In file included from ModelicaTest_trunk_ModelicaTest_Fluid_TestExamplesVariants_BranchingDynamicPipes_MomentumSteadyState.c:7: In file included from ./ModelicaTest_trunk_ModelicaTest_Fluid_TestExamplesVariants_BranchingDynamicPipes_MomentumSteadyState_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:149: ./gc/omc_gc.h:218:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:222:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Os -march=native -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o ModelicaTest_trunk_ModelicaTest_Fluid_TestExamplesVariants_BranchingDynamicPipes_MomentumSteadyState_functions.o ModelicaTest_trunk_ModelicaTest_Fluid_TestExamplesVariants_BranchingDynamicPipes_MomentumSteadyState_functions.c In file included from ModelicaTest_trunk_ModelicaTest_Fluid_TestExamplesVariants_BranchingDynamicPipes_MomentumSteadyState_functions.c:2: In file included from ./ModelicaTest_trunk_ModelicaTest_Fluid_TestExamplesVariants_BranchingDynamicPipes_MomentumSteadyState_functions.h:3: In file included from ./meta/meta_modelica.h:49: ./gc/omc_gc.h:218:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:222:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ ModelicaTest_trunk_ModelicaTest_Fluid_TestExamplesVariants_BranchingDynamicPipes_MomentumSteadyState_functions.c:263:52: warning: magnitude of floating-point constant too large for type 'double'; maximum is 1.7976931348623157E+308 [-Wliteral-range] _dy_dx = (((modelica_real)sign(_y2 - _y1))) * (1.797693134862316e+308); ^ ModelicaTest_trunk_ModelicaTest_Fluid_TestExamplesVariants_BranchingDynamicPipes_MomentumSteadyState_functions.c:494:203: warning: magnitude of floating-point constant too large for type 'double'; maximum is 1.7976931348623157E+308 [-Wliteral-range] _aux02 = ((((6.0) * (_Delta0)) * (_y1d + _y0d - ((1.5) * (_Delta0))) - ((_y1d) * (_y0d)) - ((tmp20 * tmp20)) - ((tmp21 * tmp21))) * (((_y1d + _y0d - ((2.0) * (_Delta0)) >= 0.0)?1.0:-1.0))) * (1.797693134862316e+308); ^ ModelicaTest_trunk_ModelicaTest_Fluid_TestExamplesVariants_BranchingDynamicPipes_MomentumSteadyState_functions.c:892:16: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] if((_a == _c)) ~~~^~~~~ ModelicaTest_trunk_ModelicaTest_Fluid_TestExamplesVariants_BranchingDynamicPipes_MomentumSteadyState_functions.c:892:16: note: remove extraneous parentheses around the comparison to silence this warning if((_a == _c)) ~ ^ ~ ModelicaTest_trunk_ModelicaTest_Fluid_TestExamplesVariants_BranchingDynamicPipes_MomentumSteadyState_functions.c:892:16: note: use '=' to turn this equality comparison into an assignment if((_a == _c)) ^~ = 5 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Os -march=native -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o ModelicaTest_trunk_ModelicaTest_Fluid_TestExamplesVariants_BranchingDynamicPipes_MomentumSteadyState_records.o ModelicaTest_trunk_ModelicaTest_Fluid_TestExamplesVariants_BranchingDynamicPipes_MomentumSteadyState_records.c In file included from ModelicaTest_trunk_ModelicaTest_Fluid_TestExamplesVariants_BranchingDynamicPipes_MomentumSteadyState_records.c:4: In file included from ./meta/meta_modelica.h:49: ./gc/omc_gc.h:218:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:222:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Os -march=native -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o ModelicaTest_trunk_ModelicaTest_Fluid_TestExamplesVariants_BranchingDynamicPipes_MomentumSteadyState_01exo.o ModelicaTest_trunk_ModelicaTest_Fluid_TestExamplesVariants_BranchingDynamicPipes_MomentumSteadyState_01exo.c In file included from ModelicaTest_trunk_ModelicaTest_Fluid_TestExamplesVariants_BranchingDynamicPipes_MomentumSteadyState_01exo.c:2: In file included from ./ModelicaTest_trunk_ModelicaTest_Fluid_TestExamplesVariants_BranchingDynamicPipes_MomentumSteadyState_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:149: ./gc/omc_gc.h:218:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:222:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Os -march=native -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o ModelicaTest_trunk_ModelicaTest_Fluid_TestExamplesVariants_BranchingDynamicPipes_MomentumSteadyState_02nls.o ModelicaTest_trunk_ModelicaTest_Fluid_TestExamplesVariants_BranchingDynamicPipes_MomentumSteadyState_02nls.c In file included from ModelicaTest_trunk_ModelicaTest_Fluid_TestExamplesVariants_BranchingDynamicPipes_MomentumSteadyState_02nls.c:2: In file included from ./ModelicaTest_trunk_ModelicaTest_Fluid_TestExamplesVariants_BranchingDynamicPipes_MomentumSteadyState_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:149: ./gc/omc_gc.h:218:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:222:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ ModelicaTest_trunk_ModelicaTest_Fluid_TestExamplesVariants_BranchingDynamicPipes_MomentumSteadyState_02nls.c:4442:3: error: use of undeclared identifier 'tmpMeta' tmpMeta[0] = mmc_mk_box3(0, mmc_mk_real(data->localData[0]->realVars[29] /* pipe2.mediums[5].p STATE(1) */), mmc_mk_real(DIVISION_SIM((data->localData[0]->realVars[490] /* $cse98 variable */) * (data->localData[0]->realVars[980] /* pipe2.mediums[5].h DUMMY_STATE */) + (data->localData[0]->realVars[458] /* $cse69 variable */) * (data->localData[0]->realVars[1217] /* pipe3.mediums[5].h DUMMY_STATE */),data->localData[0]->realVars[490] /* $cse98 variable */ + data->localData[0]->realVars[458] /* $cse69 variable */,"$cse98 + $cse69",equationIndexes)), mmc_mk_modelica_array(tmp0)); ^ ModelicaTest_trunk_ModelicaTest_Fluid_TestExamplesVariants_BranchingDynamicPipes_MomentumSteadyState_02nls.c:4443:234: error: use of undeclared identifier 'tmpMeta' res[1] = omc_Modelica_Math_Nonlinear_solveOneNonlinearEquation(threadData, (modelica_fnptr) mmc_mk_box2(0,closure0_ModelicaTest_Fluid_TestExamplesVariants_BranchingDynamicPipes__MomentumSteadyState_pipe4_Medium_T__phX_f__nonlinear,tmpMeta[0]), 190.0, 647.0, 2.220446049250313e-14) - data->localData[0]->realVars[1498] /* pipe4.statesFM[1].T variable */; ^ ModelicaTest_trunk_ModelicaTest_Fluid_TestExamplesVariants_BranchingDynamicPipes_MomentumSteadyState_02nls.c:4448:3: error: use of undeclared identifier 'tmpMeta' tmpMeta[1] = mmc_mk_box3(0, mmc_mk_real(data->localData[0]->realVars[29] /* pipe2.mediums[5].p STATE(1) */), mmc_mk_real(DIVISION_SIM((data->localData[0]->realVars[490] /* $cse98 variable */) * (data->localData[0]->realVars[980] /* pipe2.mediums[5].h DUMMY_STATE */) + (data->localData[0]->realVars[457] /* $cse68 variable */) * (data->localData[0]->realVars[1452] /* pipe4.mediums[1].h DUMMY_STATE */),data->localData[0]->realVars[490] /* $cse98 variable */ + data->localData[0]->realVars[457] /* $cse68 variable */,"$cse98 + $cse68",equationIndexes)), mmc_mk_modelica_array(tmp1)); ^ ModelicaTest_trunk_ModelicaTest_Fluid_TestExamplesVariants_BranchingDynamicPipes_MomentumSteadyState_02nls.c:4449:234: error: use of undeclared identifier 'tmpMeta' res[3] = omc_Modelica_Math_Nonlinear_solveOneNonlinearEquation(threadData, (modelica_fnptr) mmc_mk_box2(0,closure1_ModelicaTest_Fluid_TestExamplesVariants_BranchingDynamicPipes__MomentumSteadyState_pipe3_Medium_T__phX_f__nonlinear,tmpMeta[1]), 190.0, 647.0, 2.220446049250313e-14) - data->localData[0]->realVars[1260] /* pipe3.statesFM[7].T variable */; ^ ModelicaTest_trunk_ModelicaTest_Fluid_TestExamplesVariants_BranchingDynamicPipes_MomentumSteadyState_02nls.c:4869:3: error: use of undeclared identifier 'tmpMeta' tmpMeta[0] = mmc_mk_box3(0, mmc_mk_real(data->localData[0]->realVars[25] /* pipe2.mediums[1].p STATE(1) */), mmc_mk_real(DIVISION_SIM((data->localData[0]->realVars[414] /* $cse29 variable */) * (data->localData[0]->realVars[976] /* pipe2.mediums[1].h DUMMY_STATE */) + (data->localData[0]->realVars[456] /* $cse67 variable */) * (data->localData[0]->realVars[708] /* pipe1.mediums[5].h DUMMY_STATE */),data->localData[0]->realVars[414] /* $cse29 variable */ + data->localData[0]->realVars[456] /* $cse67 variable */,"$cse29 + $cse67",equationIndexes)), mmc_mk_modelica_array(tmp0)); ^ ModelicaTest_trunk_ModelicaTest_Fluid_TestExamplesVariants_BranchingDynamicPipes_MomentumSteadyState_02nls.c:4870:234: error: use of undeclared identifier 'tmpMeta' res[0] = omc_Modelica_Math_Nonlinear_solveOneNonlinearEquation(threadData, (modelica_fnptr) mmc_mk_box2(0,closure2_ModelicaTest_Fluid_TestExamplesVariants_BranchingDynamicPipes__MomentumSteadyState_pipe3_Medium_T__phX_f__nonlinear,tmpMeta[0]), 190.0, 647.0, 2.220446049250313e-14) - data->localData[0]->realVars[1259] /* pipe3.statesFM[1].T variable */; ^ ModelicaTest_trunk_ModelicaTest_Fluid_TestExamplesVariants_BranchingDynamicPipes_MomentumSteadyState_02nls.c:4877:3: error: use of undeclared identifier 'tmpMeta' tmpMeta[1] = mmc_mk_box3(0, mmc_mk_real(data->localData[0]->realVars[25] /* pipe2.mediums[1].p STATE(1) */), mmc_mk_real(DIVISION_SIM((data->localData[0]->realVars[414] /* $cse29 variable */) * (data->localData[0]->realVars[976] /* pipe2.mediums[1].h DUMMY_STATE */) + (data->localData[0]->realVars[416] /* $cse30 variable */) * (data->localData[0]->realVars[1213] /* pipe3.mediums[1].h DUMMY_STATE */),data->localData[0]->realVars[414] /* $cse29 variable */ + data->localData[0]->realVars[416] /* $cse30 variable */,"$cse29 + $cse30",equationIndexes)), mmc_mk_modelica_array(tmp1)); ^ ModelicaTest_trunk_ModelicaTest_Fluid_TestExamplesVariants_BranchingDynamicPipes_MomentumSteadyState_02nls.c:4878:234: error: use of undeclared identifier 'tmpMeta' res[3] = omc_Modelica_Math_Nonlinear_solveOneNonlinearEquation(threadData, (modelica_fnptr) mmc_mk_box2(0,closure3_ModelicaTest_Fluid_TestExamplesVariants_BranchingDynamicPipes__MomentumSteadyState_pipe1_Medium_T__phX_f__nonlinear,tmpMeta[1]), 190.0, 647.0, 2.220446049250313e-14) - data->localData[0]->realVars[751] /* pipe1.statesFM[7].T variable */; ^ 2 warnings and 8 errors generated. make: *** [: ModelicaTest_trunk_ModelicaTest_Fluid_TestExamplesVariants_BranchingDynamicPipes_MomentumSteadyState_02nls.o] Error 1