Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Pipes.DynamicPipesWithTraceSubstances.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.TestComponents.Pipes.DynamicPipesWithTraceSubstances,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Pipes_DynamicPipesWithTraceSubstances",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Pipes.DynamicPipesWithTraceSubstances,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Pipes_DynamicPipesWithTraceSubstances",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009866/0.0009868, allocations: 97.95 kB / 16.98 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.0009831/0.0009832, allocations: 204.2 kB / 17.89 MB, free: 5.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.334/1.334, 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.1997/0.1997, allocations: 45.92 MB / 344 MB, free: 12.08 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002371/0.0002372, allocations: 11.98 kB / 418.1 MB, free: 20.74 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.106/0.1062, allocations: 63.46 MB / 481.5 MB, free: 5.266 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Pipes.DynamicPipesWithTraceSubstances): time 0.771/0.8773, allocations: 256.5 MB / 0.7207 GB, free: 7.809 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.04911/0.9264, allocations: 35.75 MB / 0.7556 GB, free: 7.422 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0068/0.9333, allocations: 209.5 kB / 0.7558 GB, free: 7.422 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.006643/0.94, allocations: 1.844 MB / 0.7576 GB, free: 7.418 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0227/0.9627, allocations: 5.616 MB / 0.7631 GB, free: 7.34 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.02809/0.9908, allocations: 11.03 MB / 0.7739 GB, free: 6.449 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.01893/1.01, allocations: 14.25 MB / 0.7878 GB, free: 3.965 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01357/1.023, allocations: 5.852 MB / 0.7935 GB, free: 17.61 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02316/1.047, allocations: 9.548 MB / 0.8028 GB, free: 16.03 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01769/1.064, allocations: 7.891 MB / 0.8106 GB, free: 12 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.005384/1.07, allocations: 0.582 MB / 0.8111 GB, free: 11.42 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0273/1.097, allocations: 6.076 MB / 0.8171 GB, free: 6.828 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.01287/1.11, allocations: 5.932 MB / 0.8228 GB, free: 2.5 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.009535/1.12, allocations: 2.721 MB / 0.8255 GB, free: 0.9492 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.02817/1.148, allocations: 18.33 MB / 0.8434 GB, free: 0.8398 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/1.148, allocations: 0 / 0.8434 GB, free: 0.8398 MB / 0.5606 GB Notification: Performance of FrontEnd: time 3.546e-06/1.148, allocations: 0 / 0.8434 GB, free: 0.8398 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 0.0007701/1.149, allocations: 0 / 0.8434 GB, free: 0.8398 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3585 * Number of variables: 3585 Notification: Performance of Generate backend data structure: time 0.05414/1.203, allocations: 16.16 MB / 0.8592 GB, free: 1.844 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.661e-05/1.203, allocations: 8.031 kB / 0.8592 GB, free: 1.836 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006585/1.209, allocations: 1.772 MB / 0.8609 GB, free: 0.832 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01875/1.228, allocations: 2.173 MB / 0.863 GB, free: 14.76 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02542/1.254, allocations: 6.841 MB / 0.8697 GB, free: 9.789 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001734/1.255, allocations: 0.871 MB / 0.8706 GB, free: 9.293 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007009/1.262, allocations: 1.137 MB / 0.8717 GB, free: 8.531 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06283/1.325, allocations: 22.67 MB / 0.8938 GB, free: 8.422 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008799/1.326, allocations: 43.45 kB / 0.8939 GB, free: 8.395 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006438/1.333, allocations: 463.7 kB / 0.8943 GB, free: 8.281 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00227/1.335, allocations: 1.854 MB / 0.8961 GB, free: 6.664 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05366/1.389, allocations: 22.71 MB / 0.9183 GB, free: 4.871 MB / 0.6231 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.4699/1.859, allocations: 84.83 MB / 1.001 GB, free: 250.3 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03393/1.893, allocations: 21.6 MB / 1.022 GB, free: 238.5 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002619/1.895, allocations: 1.066 MB / 1.023 GB, free: 237.5 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002099/1.896, allocations: 205.1 kB / 1.023 GB, free: 237.4 MB / 0.6544 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01093/1.907, allocations: 1.436 MB / 1.025 GB, free: 236.5 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=1487): time 7.452e-05/1.907, allocations: 3.844 kB / 1.025 GB, free: 236.5 MB / 0.6544 GB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: pipe2.mediums[3].T 2: pipe2.mediums[1].T 3: pipe2.mediums[5].T 4: pipe2.mediums[2].T 5: pipe2.mediums[4].T 6: pipe3.mediums[1].T 7: pipe3.mediums[3].T 8: pipe3.mediums[4].T 9: pipe3.mediums[2].T 10: pipe3.mediums[5].T 11: pipe1.mediums[2].T 12: pipe1.mediums[1].T 13: pipe1.mediums[3].T 14: pipe1.mediums[4].T 15: pipe1.mediums[5].T 16: pipe4.mediums[2].T 17: pipe4.mediums[4].T 18: pipe4.mediums[1].T 19: pipe4.mediums[3].T 20: pipe4.mediums[5].T 21: junction1.medium.T 22: junction2.medium.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=1737): time 0.4267/2.333, allocations: 143.6 MB / 1.165 GB, free: 100.2 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001469/2.334, allocations: 357.5 kB / 1.165 GB, free: 99.81 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01416/2.348, allocations: 8.183 MB / 1.173 GB, free: 91.62 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.006311/2.354, allocations: 349.7 kB / 1.174 GB, free: 91.28 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.005653/2.36, allocations: 4.96 MB / 1.179 GB, free: 86.31 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.00873/2.369, allocations: 6.128 MB / 1.185 GB, free: 80.23 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005571/2.374, allocations: 384 kB / 1.185 GB, free: 79.86 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.001493/2.376, allocations: 1.116 MB / 1.186 GB, free: 78.73 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01965/2.395, allocations: 10.58 MB / 1.196 GB, free: 68.14 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0238/2.419, allocations: 14.37 MB / 1.21 GB, free: 52.39 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02278/2.442, allocations: 13.1 MB / 1.223 GB, free: 39.21 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001254/2.442, allocations: 28 kB / 1.223 GB, free: 39.19 MB / 0.6544 GB Notification: Performance of matching and sorting (n=2465) (initialization): time 0.05971/2.502, allocations: 29.63 MB / 1.252 GB, free: 9.258 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 0.3403/2.842, allocations: 49.78 MB / 1.301 GB, free: 227.2 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000578/2.843, allocations: 101.8 kB / 1.301 GB, free: 227.2 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008062/2.851, allocations: 2.503 MB / 1.303 GB, free: 226.8 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02808/2.879, allocations: 5.001 MB / 1.308 GB, free: 226.7 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02381/2.903, allocations: 39.61 MB / 1.347 GB, free: 191.8 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02075/2.924, allocations: 1.439 MB / 1.348 GB, free: 191.8 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00705/2.931, allocations: 1.296 MB / 1.35 GB, free: 191.8 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.774e-05/2.931, allocations: 3.906 kB / 1.35 GB, free: 191.8 MB / 0.6544 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.06803/2.999, allocations: 27.5 MB / 1.376 GB, free: 183.6 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00048/2.999, allocations: 97.44 kB / 1.377 GB, free: 183.6 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004601/3.004, allocations: 2.269 MB / 1.379 GB, free: 182.8 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02399/3.028, allocations: 4.955 MB / 1.384 GB, free: 180.2 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01851/3.047, allocations: 38.77 MB / 1.421 GB, free: 140 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02239/3.069, allocations: 1.391 MB / 1.423 GB, free: 138.7 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00635/3.075, allocations: 1.269 MB / 1.424 GB, free: 137.4 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 452 * Number of states: 0 () * Number of discrete variables: 4 (traceSubstance3.ind,traceSubstance4.ind,traceSubstance1.ind,traceSubstance2.ind) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2405): * Single equations (assignments): 2348 * Array equations: 0 * Algorithm blocks: 4 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 53 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 10 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 43 {1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1,2 7,1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.01654/3.092, allocations: 4.255 MB / 1.428 GB, free: 133.2 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006541/3.099, allocations: 1.167 MB / 1.429 GB, free: 132.6 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.08522/3.184, allocations: 33.35 MB / 1.462 GB, free: 99.25 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000267/3.184, allocations: 168 kB / 1.462 GB, free: 99.09 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001456/3.184, allocations: 4 kB / 1.462 GB, free: 99.08 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.06126/3.246, allocations: 22.44 MB / 1.484 GB, free: 76.32 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1108/3.356, allocations: 47.86 MB / 1.531 GB, free: 28.09 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001469/3.357, allocations: 4 kB / 1.531 GB, free: 28.08 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.02097/3.378, allocations: 3.882 MB / 1.534 GB, free: 24.2 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007919/3.386, allocations: 2.857 MB / 1.537 GB, free: 21.2 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00707/3.393, allocations: 0.7495 MB / 1.538 GB, free: 20.45 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.4632/3.856, allocations: 40.18 MB / 1.577 GB, free: 235.8 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.472e-06/3.856, allocations: 6.812 kB / 1.577 GB, free: 235.8 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1013/3.957, allocations: 38.05 MB / 1.614 GB, free: 226.8 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005714/3.963, allocations: 1.317 MB / 1.616 GB, free: 226.3 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.007384/3.971, allocations: 478.1 kB / 1.616 GB, free: 226 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01626/3.987, allocations: 1.009 MB / 1.617 GB, free: 225.7 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.005601/3.992, allocations: 1.192 MB / 1.618 GB, free: 225.6 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.005801/3.998, allocations: 1.05 MB / 1.619 GB, free: 225.5 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.01406/4.012, allocations: 5.472 MB / 1.625 GB, free: 223.6 MB / 0.6544 GB Notification: Performance of sort global known variables: time 9.31e-07/4.012, allocations: 0 / 1.625 GB, free: 223.6 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.05458/4.067, allocations: 9.006 MB / 1.633 GB, free: 220.9 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 168 (pipe5.mCs_scaled[1,1],pipe5.mCs_scaled[1,2],pipe5.mCs_scaled[2,1],pipe5.mCs_scaled[2,2],pipe5.mCs_scaled[3,1],pipe5.mCs_scaled[3,2],pipe5.mCs_scaled[4,1],pipe5.mCs_scaled[4,2],pipe5.mCs_scaled[5,1],pipe5.mCs_scaled[5,2],pipe5.mediums[1].p,pipe5.mediums[1].T,pipe5.mediums[2].p,pipe5.mediums[2].T,pipe5.mediums[3].p,pipe5.mediums[3].T,pipe5.mediums[4].p,pipe5.mediums[4].T,pipe5.mediums[5].p,pipe5.mediums[5].T,pipe6.mCs_scaled[1,1],pipe6.mCs_scaled[1,2],pipe6.mCs_scaled[2,1],pipe6.mCs_scaled[2,2],pipe6.mCs_scaled[3,1],pipe6.mCs_scaled[3,2],pipe6.mCs_scaled[4,1],pipe6.mCs_scaled[4,2],pipe6.mCs_scaled[5,1],pipe6.mCs_scaled[5,2],pipe6.mediums[1].p,pipe6.mediums[1].T,pipe6.mediums[2].p,pipe6.mediums[2].T,pipe6.mediums[3].p,pipe6.mediums[3].T,pipe6.mediums[4].p,pipe6.mediums[4].T,pipe6.mediums[5].p,pipe6.mediums[5].T,pipe7.mCs_scaled[1,1],pipe7.mCs_scaled[1,2],pipe7.mCs_scaled[2,1],pipe7.mCs_scaled[2,2],pipe7.mCs_scaled[3,1],pipe7.mCs_scaled[3,2],pipe7.mCs_scaled[4,1],pipe7.mCs_scaled[4,2],pipe7.mCs_scaled[5,1],pipe7.mCs_scaled[5,2],pipe7.mediums[1].p,pipe7.mediums[1].T,pipe7.mediums[2].p,pipe7.mediums[2].T,pipe7.mediums[3].p,pipe7.mediums[3].T,pipe7.mediums[4].p,pipe7.mediums[4].T,pipe7.mediums[5].p,pipe7.mediums[5].T,pipe8.mCs_scaled[1,1],pipe8.mCs_scaled[1,2],pipe8.mCs_scaled[2,1],pipe8.mCs_scaled[2,2],pipe8.mCs_scaled[3,1],pipe8.mCs_scaled[3,2],pipe8.mCs_scaled[4,1],pipe8.mCs_scaled[4,2],pipe8.mCs_scaled[5,1],pipe8.mCs_scaled[5,2],pipe8.mediums[1].p,pipe8.mediums[1].T,pipe8.mediums[2].p,pipe8.mediums[2].T,pipe8.mediums[3].p,pipe8.mediums[3].T,pipe8.mediums[4].p,pipe8.mediums[4].T,pipe8.mediums[5].p,pipe8.mediums[5].T,pipe2.mCs_scaled[1,1],pipe2.mCs_scaled[1,2],pipe2.mCs_scaled[2,1],pipe2.mCs_scaled[2,2],pipe2.mCs_scaled[3,1],pipe2.mCs_scaled[3,2],pipe2.mCs_scaled[4,1],pipe2.mCs_scaled[4,2],pipe2.mCs_scaled[5,1],pipe2.mCs_scaled[5,2],pipe2.mediums[1].p,pipe2.mediums[1].T,pipe2.mediums[2].p,pipe2.mediums[2].T,pipe2.mediums[3].p,pipe2.mediums[3].T,pipe2.mediums[4].p,pipe2.mediums[4].T,pipe2.mediums[5].p,pipe2.mediums[5].T,pipe3.mCs_scaled[1,1],pipe3.mCs_scaled[1,2],pipe3.mCs_scaled[2,1],pipe3.mCs_scaled[2,2],pipe3.mCs_scaled[3,1],pipe3.mCs_scaled[3,2],pipe3.mCs_scaled[4,1],pipe3.mCs_scaled[4,2],pipe3.mCs_scaled[5,1],pipe3.mCs_scaled[5,2],pipe3.mediums[1].p,pipe3.mediums[1].T,pipe3.mediums[2].p,pipe3.mediums[2].T,pipe3.mediums[3].p,pipe3.mediums[3].T,pipe3.mediums[4].p,pipe3.mediums[4].T,pipe3.mediums[5].p,pipe3.mediums[5].T,pipe1.mCs_scaled[1,1],pipe1.mCs_scaled[1,2],pipe1.mCs_scaled[2,1],pipe1.mCs_scaled[2,2],pipe1.mCs_scaled[3,1],pipe1.mCs_scaled[3,2],pipe1.mCs_scaled[4,1],pipe1.mCs_scaled[4,2],pipe1.mCs_scaled[5,1],pipe1.mCs_scaled[5,2],pipe1.mediums[1].p,pipe1.mediums[1].T,pipe1.mediums[2].p,pipe1.mediums[2].T,pipe1.mediums[3].p,pipe1.mediums[3].T,pipe1.mediums[4].p,pipe1.mediums[4].T,pipe1.mediums[5].p,pipe1.mediums[5].T,pipe4.mCs_scaled[1,1],pipe4.mCs_scaled[1,2],pipe4.mCs_scaled[2,1],pipe4.mCs_scaled[2,2],pipe4.mCs_scaled[3,1],pipe4.mCs_scaled[3,2],pipe4.mCs_scaled[4,1],pipe4.mCs_scaled[4,2],pipe4.mCs_scaled[5,1],pipe4.mCs_scaled[5,2],pipe4.mediums[1].p,pipe4.mediums[1].T,pipe4.mediums[2].p,pipe4.mediums[2].T,pipe4.mediums[3].p,pipe4.mediums[3].T,pipe4.mediums[4].p,pipe4.mediums[4].T,pipe4.mediums[5].p,pipe4.mediums[5].T,junction1.medium.p,junction1.medium.T,junction1.mC_scaled[1],junction1.mC_scaled[2],junction2.medium.p,junction2.medium.T,junction2.mC_scaled[1],junction2.mC_scaled[2]) * 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 (1723): * Single equations (assignments): 1670 * 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: 53 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 11 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 42 {1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1,2 12,1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.09526/4.162, allocations: 41.26 MB / 1.674 GB, free: 182.4 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.09098/4.253, allocations: 42.58 MB / 1.715 GB, free: 139.7 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.709e-05/4.253, allocations: 8.484 kB / 1.715 GB, free: 139.6 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.02933/4.283, allocations: 13.74 MB / 1.729 GB, free: 125.8 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03159/4.314, allocations: 5.084 MB / 1.734 GB, free: 121 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4945/4.809, allocations: 146 MB / 1.876 GB, free: 144.8 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01506/4.824, allocations: 8.074 MB / 1.884 GB, free: 143.7 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.06026/4.884, allocations: 16.14 MB / 1.9 GB, free: 143.3 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.02242/4.907, allocations: 6.73 MB / 1.907 GB, free: 141.7 MB / 0.6544 GB Notification: Performance of SimCode: time 1.603e-06/4.907, allocations: 0 / 1.907 GB, free: 141.7 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.455/6.362, allocations: 446.5 MB / 2.343 GB, free: 186.3 MB / 0.6544 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001994/6.363, allocations: 293.9 kB / 2.343 GB, free: 186 MB / 0.6544 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 "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Resources/C-Sources" -c -o ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Pipes_DynamicPipesWithTraceSubstances_06inz_part0.o ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Pipes_DynamicPipesWithTraceSubstances_06inz_part0.c In file included from ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Pipes_DynamicPipesWithTraceSubstances_06inz_part0.c:1: In file included from ./ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Pipes_DynamicPipesWithTraceSubstances_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 "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Resources/C-Sources" -c -o ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Pipes_DynamicPipesWithTraceSubstances_06inz_part1.o ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Pipes_DynamicPipesWithTraceSubstances_06inz_part1.c In file included from ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Pipes_DynamicPipesWithTraceSubstances_06inz_part1.c:1: In file included from ./ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Pipes_DynamicPipesWithTraceSubstances_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 "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Resources/C-Sources" -c -o ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Pipes_DynamicPipesWithTraceSubstances.o ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Pipes_DynamicPipesWithTraceSubstances.c In file included from ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Pipes_DynamicPipesWithTraceSubstances.c:7: In file included from ./ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Pipes_DynamicPipesWithTraceSubstances_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 "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Resources/C-Sources" -c -o ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Pipes_DynamicPipesWithTraceSubstances_functions.o ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Pipes_DynamicPipesWithTraceSubstances_functions.c In file included from ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Pipes_DynamicPipesWithTraceSubstances_functions.c:2: In file included from ./ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Pipes_DynamicPipesWithTraceSubstances_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_TestComponents_Pipes_DynamicPipesWithTraceSubstances_functions.c:351: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_TestComponents_Pipes_DynamicPipesWithTraceSubstances_functions.c:582: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_TestComponents_Pipes_DynamicPipesWithTraceSubstances_functions.c:938:16: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] if((_a == _c)) ~~~^~~~~ ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Pipes_DynamicPipesWithTraceSubstances_functions.c:938:16: note: remove extraneous parentheses around the comparison to silence this warning if((_a == _c)) ~ ^ ~ ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Pipes_DynamicPipesWithTraceSubstances_functions.c:938: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 "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Resources/C-Sources" -c -o ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Pipes_DynamicPipesWithTraceSubstances_records.o ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Pipes_DynamicPipesWithTraceSubstances_records.c In file included from ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Pipes_DynamicPipesWithTraceSubstances_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 "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Resources/C-Sources" -c -o ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Pipes_DynamicPipesWithTraceSubstances_01exo.o ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Pipes_DynamicPipesWithTraceSubstances_01exo.c In file included from ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Pipes_DynamicPipesWithTraceSubstances_01exo.c:2: In file included from ./ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Pipes_DynamicPipesWithTraceSubstances_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 "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Resources/C-Sources" -c -o ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Pipes_DynamicPipesWithTraceSubstances_02nls.o ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Pipes_DynamicPipesWithTraceSubstances_02nls.c In file included from ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Pipes_DynamicPipesWithTraceSubstances_02nls.c:2: In file included from ./ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Pipes_DynamicPipesWithTraceSubstances_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_TestComponents_Pipes_DynamicPipesWithTraceSubstances_02nls.c:1261:3: error: use of undeclared identifier 'tmpMeta' tmpMeta[1] = mmc_mk_box11(2, &Modelica_Media_IdealGases_Common_DataRecord__desc, MMC_REFSTRINGLIT(tmp0), mmc_mk_real(0.0289651159), mmc_mk_real(-4333.833858403446), mmc_mk_real(298609.6803431054), mmc_mk_real(1000.0), mmc_mk_modelica_array(tmp1), mmc_mk_modelica_array(tmp2), mmc_mk_modelica_array(tmp3), mmc_mk_modelica_array(tmp4), mmc_mk_real(287.0512249529787)); ^ ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Pipes_DynamicPipesWithTraceSubstances_02nls.c:1262:3: error: use of undeclared identifier 'tmpMeta' tmpMeta[0] = mmc_mk_box2(0, tmpMeta[1], mmc_mk_real(DIVISION_SIM((data->localData[0]->realVars[616] /* $cse37 variable */) * (data->localData[0]->realVars[2447] /* pipe8.mediums[5].h DUMMY_STATE */) + (data->localData[0]->realVars[617] /* $cse38 variable */) * (data->localData[0]->realVars[2014] /* pipe6.mediums[1].h DUMMY_STATE */),data->localData[0]->realVars[616] /* $cse37 variable */ + data->localData[0]->realVars[617] /* $cse38 variable */,"$cse37 + $cse38",equationIndexes))); ^ ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Pipes_DynamicPipesWithTraceSubstances_02nls.c:1262:31: error: use of undeclared identifier 'tmpMeta' tmpMeta[0] = mmc_mk_box2(0, tmpMeta[1], mmc_mk_real(DIVISION_SIM((data->localData[0]->realVars[616] /* $cse37 variable */) * (data->localData[0]->realVars[2447] /* pipe8.mediums[5].h DUMMY_STATE */) + (data->localData[0]->realVars[617] /* $cse38 variable */) * (data->localData[0]->realVars[2014] /* pipe6.mediums[1].h DUMMY_STATE */),data->localData[0]->realVars[616] /* $cse37 variable */ + data->localData[0]->realVars[617] /* $cse38 variable */,"$cse37 + $cse38",equationIndexes))); ^ ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Pipes_DynamicPipesWithTraceSubstances_02nls.c:1263:221: error: use of undeclared identifier 'tmpMeta' res[1] = omc_Modelica_Math_Nonlinear_solveOneNonlinearEquation(threadData, (modelica_fnptr) mmc_mk_box2(0,closure1_ModelicaTest_Fluid_TestComponents_Pipes_DynamicPipesWithTraceSubstances_pipe5_Medium_T__h_f__nonlinear,tmpMeta[0]), 200.0, 6000.0, 2.220446049250313e-14) - data->localData[0]->realVars[1831] /* pipe5.statesFM[7].T variable */; ^ ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Pipes_DynamicPipesWithTraceSubstances_02nls.c:12062:3: error: use of undeclared identifier 'tmpMeta' tmpMeta[1] = mmc_mk_box11(2, &Modelica_Media_IdealGases_Common_DataRecord__desc, MMC_REFSTRINGLIT(tmp0), mmc_mk_real(0.0289651159), mmc_mk_real(-4333.833858403446), mmc_mk_real(298609.6803431054), mmc_mk_real(1000.0), mmc_mk_modelica_array(tmp1), mmc_mk_modelica_array(tmp2), mmc_mk_modelica_array(tmp3), mmc_mk_modelica_array(tmp4), mmc_mk_real(287.0512249529787)); ^ ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Pipes_DynamicPipesWithTraceSubstances_02nls.c:12063:3: error: use of undeclared identifier 'tmpMeta' tmpMeta[0] = mmc_mk_box2(0, tmpMeta[1], mmc_mk_real(DIVISION_SIM((fmax(data->localData[0]->realVars[2402] /* pipe8.m_flows[6] variable */,1e-07)) * (data->localData[0]->realVars[2447] /* pipe8.mediums[5].h DUMMY_STATE */) + (fmax((-data->localData[0]->realVars[1968] /* pipe6.m_flows[1] variable */),1e-07)) * (data->localData[0]->realVars[2014] /* pipe6.mediums[1].h DUMMY_STATE */),fmax(data->localData[0]->realVars[2402] /* pipe8.m_flows[6] variable */,1e-07) + fmax((-data->localData[0]->realVars[1968] /* pipe6.m_flows[1] variable */),1e-07),"max(pipe8.m_flows[6], 1e-07) + max(-pipe6.m_flows[1], 1e-07)",equationIndexes))); ^ ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Pipes_DynamicPipesWithTraceSubstances_02nls.c:12063:31: error: use of undeclared identifier 'tmpMeta' tmpMeta[0] = mmc_mk_box2(0, tmpMeta[1], mmc_mk_real(DIVISION_SIM((fmax(data->localData[0]->realVars[2402] /* pipe8.m_flows[6] variable */,1e-07)) * (data->localData[0]->realVars[2447] /* pipe8.mediums[5].h DUMMY_STATE */) + (fmax((-data->localData[0]->realVars[1968] /* pipe6.m_flows[1] variable */),1e-07)) * (data->localData[0]->realVars[2014] /* pipe6.mediums[1].h DUMMY_STATE */),fmax(data->localData[0]->realVars[2402] /* pipe8.m_flows[6] variable */,1e-07) + fmax((-data->localData[0]->realVars[1968] /* pipe6.m_flows[1] variable */),1e-07),"max(pipe8.m_flows[6], 1e-07) + max(-pipe6.m_flows[1], 1e-07)",equationIndexes))); ^ ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Pipes_DynamicPipesWithTraceSubstances_02nls.c:12064:221: error: use of undeclared identifier 'tmpMeta' res[1] = omc_Modelica_Math_Nonlinear_solveOneNonlinearEquation(threadData, (modelica_fnptr) mmc_mk_box2(0,closure3_ModelicaTest_Fluid_TestComponents_Pipes_DynamicPipesWithTraceSubstances_pipe5_Medium_T__h_f__nonlinear,tmpMeta[0]), 200.0, 6000.0, 2.220446049250313e-14) - data->localData[0]->realVars[1831] /* pipe5.statesFM[7].T variable */; ^ 2 warnings and 8 errors generated. make: *** [: ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Pipes_DynamicPipesWithTraceSubstances_02nls.o] Error 1