Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Pipes.DynamicPipesWithTraceSubstances.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Pipes.DynamicPipesWithTraceSubstances,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Pipes_DynamicPipesWithTraceSubstances",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Pipes.DynamicPipesWithTraceSubstances,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Pipes_DynamicPipesWithTraceSubstances",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001027/0.001027, allocations: 96.16 kB / 16.99 MB, free: 5.941 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009499/0.0009501, allocations: 183 kB / 17.87 MB, free: 5.609 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.324/1.324, allocations: 223.2 MB / 241.8 MB, free: 14.65 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1903/0.1903, allocations: 44.22 MB / 337.1 MB, free: 2.652 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002977/0.0002978, allocations: 8 kB / 409.6 MB, free: 27.57 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1003/0.1006, allocations: 61.91 MB / 471.5 MB, free: 13.62 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Pipes.DynamicPipesWithTraceSubstances): time 0.4865/0.5872, allocations: 256.4 MB / 0.7108 GB, free: 1.223 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.3862/0.9734, allocations: 35.67 MB / 0.7457 GB, free: 8.469 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005709/0.9792, allocations: 207.6 kB / 0.7459 GB, free: 8.469 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.005417/0.9846, allocations: 1.847 MB / 0.7477 GB, free: 8.461 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.01764/1.002, allocations: 5.616 MB / 0.7532 GB, free: 8.387 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.03459/1.037, allocations: 11 MB / 0.7639 GB, free: 8.297 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.02162/1.059, allocations: 14.27 MB / 0.7778 GB, free: 6.52 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01206/1.071, allocations: 5.886 MB / 0.7836 GB, free: 20.14 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02567/1.096, allocations: 9.518 MB / 0.7929 GB, free: 18.57 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01609/1.112, allocations: 7.893 MB / 0.8006 GB, free: 16.64 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.005707/1.118, allocations: 0.5916 MB / 0.8012 GB, free: 16.63 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02099/1.139, allocations: 6.045 MB / 0.8071 GB, free: 12.57 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.01302/1.152, allocations: 5.936 MB / 0.8129 GB, free: 8.242 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.009119/1.161, allocations: 2.718 MB / 0.8155 GB, free: 6.691 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.03081/1.192, allocations: 18.33 MB / 0.8334 GB, free: 6.59 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.439e-06/1.192, allocations: 0 / 0.8334 GB, free: 6.59 MB / 0.5606 GB Notification: Performance of FrontEnd: time 3.186e-06/1.192, allocations: 4 kB / 0.8334 GB, free: 6.586 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 0.0007904/1.193, allocations: 0 / 0.8334 GB, free: 6.586 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.05823/1.251, allocations: 16.16 MB / 0.8492 GB, free: 7.586 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.221e-05/1.251, allocations: 12.55 kB / 0.8492 GB, free: 7.574 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.009446/1.261, allocations: 1.765 MB / 0.8509 GB, free: 6.574 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01713/1.278, allocations: 2.174 MB / 0.8531 GB, free: 4.504 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02101/1.299, allocations: 6.836 MB / 0.8597 GB, free: 15.54 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001352/1.301, allocations: 0.8663 MB / 0.8606 GB, free: 15.04 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00732/1.308, allocations: 1.137 MB / 0.8617 GB, free: 14.28 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06133/1.369, allocations: 22.68 MB / 0.8839 GB, free: 14.21 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006747/1.37, allocations: 38.92 kB / 0.8839 GB, free: 14.18 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006335/1.376, allocations: 469.5 kB / 0.8843 GB, free: 14.07 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002245/1.379, allocations: 1.852 MB / 0.8861 GB, free: 12.45 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05139/1.43, allocations: 22.68 MB / 0.9083 GB, free: 13.09 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.62/2.05, allocations: 84.04 MB / 0.9904 GB, free: 262.4 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02748/2.078, allocations: 21.59 MB / 1.011 GB, free: 251.7 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001898/2.08, allocations: 1.067 MB / 1.012 GB, free: 250.8 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001643/2.08, allocations: 206.7 kB / 1.013 GB, free: 250.6 MB / 0.6544 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.008577/2.088, allocations: 1.44 MB / 1.014 GB, free: 249.7 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=1487): time 4.809e-05/2.088, allocations: 0 / 1.014 GB, free: 249.7 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[4].T 2: pipe2.mediums[1].T 3: pipe2.mediums[2].T 4: pipe2.mediums[3].T 5: pipe2.mediums[5].T 6: pipe3.mediums[5].T 7: pipe3.mediums[1].T 8: pipe3.mediums[3].T 9: pipe3.mediums[4].T 10: pipe3.mediums[2].T 11: pipe1.mediums[1].T 12: pipe1.mediums[2].T 13: pipe1.mediums[3].T 14: pipe1.mediums[4].T 15: pipe1.mediums[5].T 16: pipe4.mediums[3].T 17: pipe4.mediums[5].T 18: pipe4.mediums[1].T 19: pipe4.mediums[2].T 20: pipe4.mediums[4].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.4315/2.52, allocations: 143.5 MB / 1.154 GB, free: 116.2 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001512/2.52, allocations: 357.5 kB / 1.155 GB, free: 115.8 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01231/2.532, allocations: 8.18 MB / 1.163 GB, free: 107.6 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.005125/2.537, allocations: 349.7 kB / 1.163 GB, free: 107.3 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.003884/2.541, allocations: 4.959 MB / 1.168 GB, free: 102.3 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.008685/2.55, allocations: 6.118 MB / 1.174 GB, free: 96.25 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004307/2.554, allocations: 392 kB / 1.174 GB, free: 95.86 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.00128/2.556, allocations: 1.104 MB / 1.175 GB, free: 94.75 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01886/2.575, allocations: 10.58 MB / 1.186 GB, free: 84.17 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02319/2.598, allocations: 14.37 MB / 1.2 GB, free: 68.42 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03659/2.634, allocations: 13.1 MB / 1.212 GB, free: 55.25 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001644/2.635, allocations: 28 kB / 1.212 GB, free: 55.22 MB / 0.6544 GB Notification: Performance of matching and sorting (n=2465) (initialization): time 0.1025/2.737, allocations: 29.63 MB / 1.241 GB, free: 25.3 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 0.3085/3.046, allocations: 49.78 MB / 1.29 GB, free: 247.5 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004333/3.046, allocations: 99.25 kB / 1.29 GB, free: 247.5 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007793/3.054, allocations: 2.509 MB / 1.292 GB, free: 247 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02746/3.082, allocations: 5.001 MB / 1.297 GB, free: 246.9 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02539/3.107, allocations: 39.61 MB / 1.336 GB, free: 212.1 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02059/3.128, allocations: 1.418 MB / 1.337 GB, free: 212.1 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.006338/3.134, allocations: 1.292 MB / 1.339 GB, free: 212.1 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.453e-05/3.134, allocations: 3.438 kB / 1.339 GB, free: 212.1 MB / 0.6544 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.05991/3.194, allocations: 27.48 MB / 1.366 GB, free: 204.2 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004777/3.194, allocations: 99.56 kB / 1.366 GB, free: 204.2 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004704/3.199, allocations: 2.266 MB / 1.368 GB, free: 203.1 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02297/3.222, allocations: 4.949 MB / 1.373 GB, free: 198.9 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01893/3.241, allocations: 38.78 MB / 1.411 GB, free: 158.7 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02006/3.261, allocations: 1.362 MB / 1.412 GB, free: 157.5 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005597/3.267, allocations: 1.261 MB / 1.413 GB, free: 156.2 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.01369/3.281, allocations: 4.246 MB / 1.417 GB, free: 152 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00504/3.286, allocations: 1.173 MB / 1.418 GB, free: 151.4 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.06441/3.35, allocations: 33.33 MB / 1.451 GB, free: 118 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001432/3.35, allocations: 172 kB / 1.451 GB, free: 117.9 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.174e-05/3.35, allocations: 7.984 kB / 1.451 GB, free: 117.9 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.05227/3.403, allocations: 22.43 MB / 1.473 GB, free: 95.12 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1064/3.509, allocations: 47.83 MB / 1.52 GB, free: 46.91 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001214/3.509, allocations: 0 / 1.52 GB, free: 46.91 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.02093/3.53, allocations: 3.89 MB / 1.524 GB, free: 43.02 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007129/3.537, allocations: 2.86 MB / 1.526 GB, free: 40.02 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.005754/3.543, allocations: 0.7438 MB / 1.527 GB, free: 39.27 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3849/3.928, allocations: 40.17 MB / 1.566 GB, free: 254.1 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.678e-05/3.928, allocations: 8.531 kB / 1.566 GB, free: 254.1 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1033/4.031, allocations: 38.05 MB / 1.603 GB, free: 246.2 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00548/4.037, allocations: 1.319 MB / 1.605 GB, free: 245.7 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.007826/4.045, allocations: 475.4 kB / 1.605 GB, free: 245.4 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01731/4.062, allocations: 1.003 MB / 1.606 GB, free: 245.2 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.006457/4.069, allocations: 1.188 MB / 1.607 GB, free: 245 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.006046/4.075, allocations: 1.053 MB / 1.608 GB, free: 244.9 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.01251/4.087, allocations: 5.468 MB / 1.614 GB, free: 243 MB / 0.6544 GB Notification: Performance of sort global known variables: time 5.51e-07/4.087, allocations: 0 / 1.614 GB, free: 243 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0497/4.137, allocations: 8.999 MB / 1.622 GB, free: 241.2 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.1068/4.244, allocations: 41.25 MB / 1.663 GB, free: 203.9 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.09025/4.334, allocations: 42.57 MB / 1.704 GB, free: 161.1 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.367e-05/4.334, allocations: 8.484 kB / 1.704 GB, free: 161.1 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.02991/4.364, allocations: 13.74 MB / 1.718 GB, free: 147.3 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03112/4.395, allocations: 5.087 MB / 1.723 GB, free: 142.5 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4588/4.854, allocations: 146 MB / 1.865 GB, free: 151.6 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01469/4.869, allocations: 8.066 MB / 1.873 GB, free: 150.5 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.06026/4.929, allocations: 16.15 MB / 1.889 GB, free: 150.1 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.02621/4.956, allocations: 6.726 MB / 1.895 GB, free: 149.2 MB / 0.6544 GB Notification: Performance of SimCode: time 1.674e-06/4.956, allocations: 0 / 1.895 GB, free: 149.2 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.403/6.358, allocations: 446.8 MB / 2.332 GB, free: 193 MB / 0.6544 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001702/6.358, allocations: 296.4 kB / 2.332 GB, free: 192.7 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 4.0.0+maint.om/Resources/C-Sources" -c -o ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Pipes_DynamicPipesWithTraceSubstances_06inz_part0.o ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Pipes_DynamicPipesWithTraceSubstances_06inz_part0.c In file included from ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Pipes_DynamicPipesWithTraceSubstances_06inz_part0.c:1: In file included from ./ModelicaTest_4_0_0_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 4.0.0+maint.om/Resources/C-Sources" -c -o ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Pipes_DynamicPipesWithTraceSubstances_06inz_part1.o ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Pipes_DynamicPipesWithTraceSubstances_06inz_part1.c In file included from ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Pipes_DynamicPipesWithTraceSubstances_06inz_part1.c:1: In file included from ./ModelicaTest_4_0_0_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 4.0.0+maint.om/Resources/C-Sources" -c -o ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Pipes_DynamicPipesWithTraceSubstances.o ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Pipes_DynamicPipesWithTraceSubstances.c In file included from ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Pipes_DynamicPipesWithTraceSubstances.c:7: In file included from ./ModelicaTest_4_0_0_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 4.0.0+maint.om/Resources/C-Sources" -c -o ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Pipes_DynamicPipesWithTraceSubstances_functions.o ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Pipes_DynamicPipesWithTraceSubstances_functions.c In file included from ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Pipes_DynamicPipesWithTraceSubstances_functions.c:2: In file included from ./ModelicaTest_4_0_0_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_4_0_0_ModelicaTest_Fluid_TestComponents_Pipes_DynamicPipesWithTraceSubstances_functions.c:911:16: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] if((_a == _c)) ~~~^~~~~ ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Pipes_DynamicPipesWithTraceSubstances_functions.c:911:16: note: remove extraneous parentheses around the comparison to silence this warning if((_a == _c)) ~ ^ ~ ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Pipes_DynamicPipesWithTraceSubstances_functions.c:911:16: note: use '=' to turn this equality comparison into an assignment if((_a == _c)) ^~ = 3 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 4.0.0+maint.om/Resources/C-Sources" -c -o ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Pipes_DynamicPipesWithTraceSubstances_records.o ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Pipes_DynamicPipesWithTraceSubstances_records.c In file included from ModelicaTest_4_0_0_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 4.0.0+maint.om/Resources/C-Sources" -c -o ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Pipes_DynamicPipesWithTraceSubstances_01exo.o ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Pipes_DynamicPipesWithTraceSubstances_01exo.c In file included from ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Pipes_DynamicPipesWithTraceSubstances_01exo.c:2: In file included from ./ModelicaTest_4_0_0_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 4.0.0+maint.om/Resources/C-Sources" -c -o ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Pipes_DynamicPipesWithTraceSubstances_02nls.o ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Pipes_DynamicPipesWithTraceSubstances_02nls.c In file included from ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Pipes_DynamicPipesWithTraceSubstances_02nls.c:2: In file included from ./ModelicaTest_4_0_0_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_4_0_0_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_4_0_0_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_4_0_0_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_4_0_0_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, 1e-13) - data->localData[0]->realVars[1831] /* pipe5.statesFM[7].T variable */; ^ ModelicaTest_4_0_0_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_4_0_0_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_4_0_0_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_4_0_0_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, 1e-13) - data->localData[0]->realVars[1831] /* pipe5.statesFM[7].T variable */; ^ 2 warnings and 8 errors generated. make: *** [: ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Pipes_DynamicPipesWithTraceSubstances_02nls.o] Error 1