Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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(BuildingSystems.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal",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.0007825/0.0007825, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.0008046/0.0008046, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.128/1.128, allocations: 223.2 MB / 239.9 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001617/0.001617, allocations: 266.7 kB / 291.2 MB, free: 1.895 MB / 238.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:5:3-5:34:writable] Warning: Got element f_alp that was not referenced in the package.order file. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:6:3-6:35:writable] Warning: Elements in the package.mo-file need to be in the same relative order as the package.order file. Got element named f_lay but it was already added because it was not the next element in the list at that time. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:6:3-6:35:writable] Warning: Got element f_lay that was not referenced in the package.order file. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:7:3-7:37:writable] Warning: Elements in the package.mo-file need to be in the same relative order as the package.order file. Got element named f_loss but it was already added because it was not the next element in the list at that time. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:7:3-7:37:writable] Warning: Got element f_loss that was not referenced in the package.order file. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:8:3-8:33:writable] Warning: Elements in the package.mo-file need to be in the same relative order as the package.order file. Got element named f_pv but it was already added because it was not the next element in the list at that time. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:8:3-8:33:writable] Warning: Got element f_pv that was not referenced in the package.order file. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:2:1-34:14:writable] Warning: f_pv was referenced in the package.order file, but was not found in package.mo, f_pv/package.mo or f_pv.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7037/0.7037, allocations: 144.6 MB / 487 MB, free: 7.168 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003511/0.0003511, allocations: 14.5 kB / 0.5684 GB, free: 38.28 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1067/0.107, allocations: 83.09 MB / 0.6495 GB, free: 3.465 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal): time 0.04073/0.1478, allocations: 50.83 MB / 0.6992 GB, free: 0.543 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0141/0.1619, allocations: 12.63 MB / 0.7115 GB, free: 3.895 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008719/0.1628, allocations: 51.62 kB / 0.7116 GB, free: 3.844 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001416/0.1642, allocations: 0.7152 MB / 0.7123 GB, free: 3.125 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.003971/0.1682, allocations: 2.349 MB / 0.7145 GB, free: 0.7695 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003193/0.1714, allocations: 1.559 MB / 0.7161 GB, free: 15.23 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.002412/0.1738, allocations: 2.357 MB / 0.7184 GB, free: 12.87 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009613/0.1748, allocations: 0.9292 MB / 0.7193 GB, free: 11.92 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001475/0.1763, allocations: 1.172 MB / 0.7204 GB, free: 10.75 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006791/0.177, allocations: 0.6961 MB / 0.7211 GB, free: 10.05 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 9.762e-05/0.1771, allocations: 55.94 kB / 0.7212 GB, free: 9.992 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001852/0.179, allocations: 1.139 MB / 0.7223 GB, free: 8.852 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0001994/0.1792, allocations: 231.1 kB / 0.7225 GB, free: 8.625 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0002182/0.1794, allocations: 317 kB / 0.7228 GB, free: 8.309 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.001605/0.181, allocations: 1.863 MB / 0.7246 GB, free: 6.441 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 1.884e-06/0.181, allocations: 0 / 0.7246 GB, free: 6.441 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.252e-06/0.181, allocations: 0 / 0.7246 GB, free: 6.441 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.254e-05/0.181, allocations: 4 kB / 0.7246 GB, free: 6.438 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 215 * Number of variables: 215 Notification: Performance of Generate backend data structure: time 0.002102/0.1831, allocations: 1.557 MB / 0.7261 GB, free: 4.824 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 2.999e-05/0.1832, allocations: 8.031 kB / 0.7261 GB, free: 4.816 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001416/0.1833, allocations: 147.3 kB / 0.7263 GB, free: 4.664 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003072/0.1836, allocations: 158.1 kB / 0.7264 GB, free: 4.508 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001665/0.1853, allocations: 1.172 MB / 0.7276 GB, free: 3.281 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.738e-05/0.1854, allocations: 66 kB / 0.7276 GB, free: 3.215 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000106/0.1855, allocations: 87.91 kB / 0.7277 GB, free: 3.129 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001248/0.1867, allocations: 0.9435 MB / 0.7286 GB, free: 2.141 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.287e-05/0.1868, allocations: 7.984 kB / 0.7287 GB, free: 2.133 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.685e-05/0.1869, allocations: 36 kB / 0.7287 GB, free: 2.098 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.796e-05/0.1869, allocations: 27.94 kB / 0.7287 GB, free: 2.07 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009882/0.1879, allocations: 0.6675 MB / 0.7294 GB, free: 1.402 MB / 0.5137 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.004514/0.1924, allocations: 5.26 MB / 0.7345 GB, free: 11.73 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006086/0.193, allocations: 398 kB / 0.7349 GB, free: 11.33 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001123/0.1942, allocations: 1.599 MB / 0.7364 GB, free: 9.379 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.445e-05/0.1942, allocations: 43 kB / 0.7365 GB, free: 9.328 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=54): time 1.633e-06/0.1942, allocations: 0 / 0.7365 GB, free: 9.328 MB / 0.5294 GB Notification: Performance of matching and sorting (n=54): time 0.001974/0.1962, allocations: 1.12 MB / 0.7376 GB, free: 8.148 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.986e-05/0.1962, allocations: 55.84 kB / 0.7376 GB, free: 8.082 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001143/0.1974, allocations: 1.04 MB / 0.7386 GB, free: 7.027 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 4.81e-05/0.1974, allocations: 37.7 kB / 0.7387 GB, free: 6.984 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003731/0.1978, allocations: 0.5813 MB / 0.7393 GB, free: 6.395 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001387/0.198, allocations: 193.2 kB / 0.7394 GB, free: 6.203 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.927e-05/0.198, allocations: 16 kB / 0.7395 GB, free: 6.188 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 9.754e-05/0.1981, allocations: 334 kB / 0.7398 GB, free: 5.855 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003077/0.1984, allocations: 197.9 kB / 0.74 GB, free: 5.664 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004267/0.1988, allocations: 408.7 kB / 0.7403 GB, free: 5.188 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003819/0.1992, allocations: 274.1 kB / 0.7406 GB, free: 4.926 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.197e-06/0.1992, allocations: 3.984 kB / 0.7406 GB, free: 4.922 MB / 0.5294 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001392/0.2006, allocations: 0.8341 MB / 0.7414 GB, free: 4.078 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006334/0.2013, allocations: 2.192 MB / 0.7436 GB, free: 1.723 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.853e-05/0.2013, allocations: 11.98 kB / 0.7436 GB, free: 1.711 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004727/0.2018, allocations: 116.7 kB / 0.7437 GB, free: 1.594 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004111/0.2022, allocations: 143.8 kB / 0.7438 GB, free: 1.453 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004008/0.2026, allocations: 0.5991 MB / 0.7444 GB, free: 0.8281 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006316/0.2033, allocations: 115.2 kB / 0.7445 GB, free: 0.7148 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.836e-05/0.2033, allocations: 35.98 kB / 0.7446 GB, free: 0.6797 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 7.234e-06/0.2034, allocations: 5.406 kB / 0.7446 GB, free: 0.6758 MB / 0.5294 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00125/0.2046, allocations: 0.7204 MB / 0.7453 GB, free: 15.95 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.747e-05/0.2046, allocations: 4 kB / 0.7453 GB, free: 15.95 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004241/0.2051, allocations: 121.2 kB / 0.7454 GB, free: 15.83 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004012/0.2055, allocations: 143.8 kB / 0.7455 GB, free: 15.69 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003472/0.2058, allocations: 0.5952 MB / 0.7461 GB, free: 15.07 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005879/0.2064, allocations: 111.3 kB / 0.7462 GB, free: 14.96 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.242e-05/0.2065, allocations: 35.98 kB / 0.7462 GB, free: 14.92 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (80): * Single equations (assignments): 77 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 {1 3} Notification: Performance of prepare postOptimizeDAE: time 0.0003543/0.2069, allocations: 372.9 kB / 0.7466 GB, free: 14.55 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001354/0.207, allocations: 114.6 kB / 0.7467 GB, free: 14.43 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001739/0.2087, allocations: 1.091 MB / 0.7478 GB, free: 13.36 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.592e-05/0.2088, allocations: 15.94 kB / 0.7478 GB, free: 13.34 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.2088, allocations: 7.938 kB / 0.7478 GB, free: 13.34 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001131/0.2099, allocations: 0.8115 MB / 0.7486 GB, free: 12.49 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002809/0.2127, allocations: 2.203 MB / 0.7507 GB, free: 10.21 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.021e-05/0.2128, allocations: 0 / 0.7507 GB, free: 10.21 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003692/0.2131, allocations: 103.9 kB / 0.7508 GB, free: 10.11 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002834/0.2134, allocations: 68.81 kB / 0.7509 GB, free: 10.04 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.001e-05/0.2135, allocations: 19.98 kB / 0.7509 GB, free: 10.02 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003347/0.2138, allocations: 0.5953 MB / 0.7515 GB, free: 9.395 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.2138, allocations: 0 / 0.7515 GB, free: 9.395 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00178/0.2156, allocations: 1.385 MB / 0.7529 GB, free: 7.965 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003879/0.216, allocations: 331.2 kB / 0.7532 GB, free: 7.621 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001347/0.2162, allocations: 16 kB / 0.7532 GB, free: 7.605 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000599/0.2168, allocations: 79.83 kB / 0.7533 GB, free: 7.527 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.559e-05/0.2169, allocations: 56.39 kB / 0.7533 GB, free: 7.473 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.332e-05/0.2169, allocations: 31.97 kB / 0.7534 GB, free: 7.441 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0008307/0.2178, allocations: 0.7155 MB / 0.7541 GB, free: 6.719 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.7e-07/0.2178, allocations: 0 / 0.7541 GB, free: 6.719 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001447/0.2192, allocations: 0.7523 MB / 0.7548 GB, free: 5.965 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (pip.del.x,pip.timDel.x,pip.vol_b.dynBal.U,pip.vol_a.dynBal.U) * 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 (66): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 14 * 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 {1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.002583/0.2218, allocations: 2.571 MB / 0.7573 GB, free: 3.355 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001451/0.2233, allocations: 1.091 MB / 0.7584 GB, free: 2.242 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.2233, allocations: 0 / 0.7584 GB, free: 2.242 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0005058/0.2238, allocations: 430.5 kB / 0.7588 GB, free: 1.812 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002136/0.2259, allocations: 0.5598 MB / 0.7593 GB, free: 1.258 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004671/0.2306, allocations: 7.333 MB / 0.7665 GB, free: 9.742 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005952/0.2312, allocations: 1.16 MB / 0.7676 GB, free: 8.551 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0008162/0.2321, allocations: 321.5 kB / 0.7679 GB, free: 8.262 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005189/0.2326, allocations: 0.4953 MB / 0.7684 GB, free: 7.766 MB / 0.5606 GB Notification: Performance of SimCode: time 2.8e-07/0.2326, allocations: 0 / 0.7684 GB, free: 7.766 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.847/3.079, allocations: 37.76 MB / 0.8053 GB, free: 106.4 MB / 0.5606 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001482/3.08, allocations: 290.1 kB / 0.8056 GB, free: 106 MB / 0.5606 GB Error: Error building simulator. Build log: clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -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 BuildingSystems_BuildingSystems_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal.o BuildingSystems_BuildingSystems_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal.c In file included from BuildingSystems_BuildingSystems_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal.c:7: In file included from ./BuildingSystems_BuildingSystems_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal_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); ^ BuildingSystems_BuildingSystems_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal.c:176:77: warning: implicit declaration of function 'spatialDistribution' is invalid in C99 [-Wimplicit-function-declaration] data->localData[0]->realVars[61] /* pip.timDel.time_out_rev variable */ = spatialDistribution(data->localData[0]->timeValue, data->localData[0]->timeValue, data->localData[0]->realVars[1] /* pip.timDel.x STATE(1,pip.timDel.u) */, tmp1, tmp2, tmp3 ,&data->localData[0]->realVars[60] /* pip.timDel.time_out_des variable */); ^ BuildingSystems_BuildingSystems_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal.c:614:78: warning: implicit declaration of function 'spatialDistribution' is invalid in C99 [-Wimplicit-function-declaration] data->localData[0]->realVars[56] /* pip.res.port_a.h_outflow variable */ = spatialDistribution(data->localData[0]->realVars[101] /* senTemIn.port_a.h_outflow variable */, data->localData[0]->realVars[107] /* senTemOut.port_b.h_outflow variable */, DIVISION_SIM(data->localData[0]->realVars[0] /* pip.del.x STATE(1,pip.v) */,data->simulationInfo->realParameter[21] /* pip.del.length PARAM */,"pip.del.length",equationIndexes), tmp14, tmp15, tmp16 ,&data->localData[0]->realVars[40] /* pip.del.port_b.h_outflow variable */); ^ 4 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -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 BuildingSystems_BuildingSystems_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal_functions.o BuildingSystems_BuildingSystems_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal_functions.c In file included from BuildingSystems_BuildingSystems_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal_functions.c:2: In file included from ./BuildingSystems_BuildingSystems_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal_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); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -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 BuildingSystems_BuildingSystems_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal_records.o BuildingSystems_BuildingSystems_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal_records.c In file included from BuildingSystems_BuildingSystems_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal_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 -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 BuildingSystems_BuildingSystems_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal_01exo.o BuildingSystems_BuildingSystems_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal_01exo.c In file included from BuildingSystems_BuildingSystems_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal_01exo.c:2: In file included from ./BuildingSystems_BuildingSystems_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal_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 -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 BuildingSystems_BuildingSystems_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal_02nls.o BuildingSystems_BuildingSystems_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal_02nls.c In file included from BuildingSystems_BuildingSystems_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal_02nls.c:2: In file included from ./BuildingSystems_BuildingSystems_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal_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 -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 BuildingSystems_BuildingSystems_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal_03lsy.o BuildingSystems_BuildingSystems_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal_03lsy.c In file included from BuildingSystems_BuildingSystems_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal_03lsy.c:2: In file included from ./BuildingSystems_BuildingSystems_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal_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 -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 BuildingSystems_BuildingSystems_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal_04set.o BuildingSystems_BuildingSystems_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal_04set.c In file included from BuildingSystems_BuildingSystems_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal_04set.c:2: In file included from ./BuildingSystems_BuildingSystems_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal_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 -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 BuildingSystems_BuildingSystems_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal_05evt.o BuildingSystems_BuildingSystems_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal_05evt.c In file included from BuildingSystems_BuildingSystems_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal_05evt.c:2: In file included from ./BuildingSystems_BuildingSystems_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal_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 -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 BuildingSystems_BuildingSystems_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal_06inz.o BuildingSystems_BuildingSystems_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal_06inz.c In file included from BuildingSystems_BuildingSystems_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal_06inz.c:2: In file included from ./BuildingSystems_BuildingSystems_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal_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); ^ BuildingSystems_BuildingSystems_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal_06inz.c:581:77: warning: implicit declaration of function 'spatialDistribution' is invalid in C99 [-Wimplicit-function-declaration] data->localData[0]->realVars[61] /* pip.timDel.time_out_rev variable */ = spatialDistribution(data->localData[0]->timeValue, data->localData[0]->timeValue, data->localData[0]->realVars[1] /* pip.timDel.x STATE(1,pip.timDel.u) */, tmp2, tmp3, tmp4 ,&data->localData[0]->realVars[60] /* pip.timDel.time_out_des variable */); ^ BuildingSystems_BuildingSystems_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal_06inz.c:618:78: warning: implicit declaration of function 'spatialDistribution' is invalid in C99 [-Wimplicit-function-declaration] data->localData[0]->realVars[56] /* pip.res.port_a.h_outflow variable */ = spatialDistribution(data->localData[0]->realVars[101] /* senTemIn.port_a.h_outflow variable */, data->localData[0]->realVars[107] /* senTemOut.port_b.h_outflow variable */, DIVISION_SIM(data->localData[0]->realVars[0] /* pip.del.x STATE(1,pip.v) */,data->simulationInfo->realParameter[21] /* pip.del.length PARAM */,"pip.del.length",equationIndexes), tmp5, tmp6, tmp7 ,&data->localData[0]->realVars[40] /* pip.del.port_b.h_outflow variable */); ^ BuildingSystems_BuildingSystems_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal_06inz.c:1199:77: warning: implicit declaration of function 'spatialDistribution' is invalid in C99 [-Wimplicit-function-declaration] data->localData[0]->realVars[61] /* pip.timDel.time_out_rev variable */ = spatialDistribution(data->localData[0]->timeValue, data->localData[0]->timeValue, data->localData[0]->realVars[1] /* pip.timDel.x STATE(1,pip.timDel.u) */, tmp0, tmp1, tmp2 ,&data->localData[0]->realVars[60] /* pip.timDel.time_out_des variable */); ^ BuildingSystems_BuildingSystems_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal_06inz.c:1225:78: warning: implicit declaration of function 'spatialDistribution' is invalid in C99 [-Wimplicit-function-declaration] data->localData[0]->realVars[56] /* pip.res.port_a.h_outflow variable */ = spatialDistribution(data->localData[0]->realVars[101] /* senTemIn.port_a.h_outflow variable */, data->localData[0]->realVars[107] /* senTemOut.port_b.h_outflow variable */, DIVISION_SIM(data->localData[0]->realVars[0] /* pip.del.x STATE(1,pip.v) */,data->simulationInfo->realParameter[21] /* pip.del.length PARAM */,"pip.del.length",equationIndexes), tmp3, tmp4, tmp5 ,&data->localData[0]->realVars[40] /* pip.del.port_b.h_outflow variable */); ^ 6 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -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 BuildingSystems_BuildingSystems_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal_07dly.o BuildingSystems_BuildingSystems_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal_07dly.c In file included from BuildingSystems_BuildingSystems_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal_07dly.c:2: In file included from ./BuildingSystems_BuildingSystems_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal_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 -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 BuildingSystems_BuildingSystems_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal_08bnd.o BuildingSystems_BuildingSystems_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal_08bnd.c In file included from BuildingSystems_BuildingSystems_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal_08bnd.c:2: In file included from ./BuildingSystems_BuildingSystems_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal_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 -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 BuildingSystems_BuildingSystems_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal_09alg.o BuildingSystems_BuildingSystems_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal_09alg.c In file included from BuildingSystems_BuildingSystems_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal_09alg.c:2: In file included from ./BuildingSystems_BuildingSystems_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal_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 -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 BuildingSystems_BuildingSystems_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal_10asr.o BuildingSystems_BuildingSystems_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal_10asr.c In file included from BuildingSystems_BuildingSystems_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal_10asr.c:2: In file included from ./BuildingSystems_BuildingSystems_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal_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 -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 BuildingSystems_BuildingSystems_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal_11mix.o BuildingSystems_BuildingSystems_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal_11mix.c In file included from BuildingSystems_BuildingSystems_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal_11mix.c:2: In file included from ./BuildingSystems_BuildingSystems_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal_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 -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 BuildingSystems_BuildingSystems_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal_12jac.o BuildingSystems_BuildingSystems_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal_12jac.c In file included from BuildingSystems_BuildingSystems_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal_12jac.c:2: In file included from ./BuildingSystems_BuildingSystems_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal_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 -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 BuildingSystems_BuildingSystems_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal_13opt.o BuildingSystems_BuildingSystems_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal_13opt.c In file included from BuildingSystems_BuildingSystems_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal_13opt.c:2: In file included from ./BuildingSystems_BuildingSystems_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal_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 -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 BuildingSystems_BuildingSystems_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal_14lnz.o BuildingSystems_BuildingSystems_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal_14lnz.c In file included from BuildingSystems_BuildingSystems_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal_14lnz.c:2: In file included from ./BuildingSystems_BuildingSystems_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal_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 -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 BuildingSystems_BuildingSystems_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal_15syn.o BuildingSystems_BuildingSystems_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal_15syn.c In file included from BuildingSystems_BuildingSystems_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal_15syn.c:2: In file included from ./BuildingSystems_BuildingSystems_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal_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 -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 BuildingSystems_BuildingSystems_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal_16dae.o BuildingSystems_BuildingSystems_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal_16dae.c In file included from BuildingSystems_BuildingSystems_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal_16dae.c:2: In file included from ./BuildingSystems_BuildingSystems_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal_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 -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 BuildingSystems_BuildingSystems_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal_17inl.o BuildingSystems_BuildingSystems_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal_17inl.c In file included from BuildingSystems_BuildingSystems_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal_17inl.c:2: In file included from ./BuildingSystems_BuildingSystems_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal_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 -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 BuildingSystems_BuildingSystems_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal_init_fmu.o BuildingSystems_BuildingSystems_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal_init_fmu.c In file included from BuildingSystems_BuildingSystems_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal_init_fmu.c:1: In file included from ./simulation_data.h:39: 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 -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 BuildingSystems_BuildingSystems_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal_FMU.o BuildingSystems_BuildingSystems_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal_FMU.c In file included from BuildingSystems_BuildingSystems_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal_FMU.c:9: 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); ^ In file included from BuildingSystems_BuildingSystems_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal_FMU.c:55: ./fmi-export/fmu2_model_interface.c.inc:79:11: warning: enumeration value 'modelSlaveInitialized' not handled in switch [-Wswitch] switch (comp->state) ^~~~~~~~~~~ ./fmi-export/fmu2_model_interface.c.inc:168:16: warning: passing 'char **' to parameter of type 'const char **' discards qualifiers in nested pointer types [-Wincompatible-pointer-types-discards-qualifiers] GC_vasprintf(&str, msg, args); ^~~~ ./gc/../meta/../util/modelica_string.h:71:31: note: passing argument to parameter 'strp' here int GC_vasprintf(const char **strp, const char *fmt, va_list ap); ^ 4 warnings generated. mkdir -p ../binaries/linux64 clang -shared -o BuildingSystems_BuildingSystems_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal.so BuildingSystems_BuildingSystems_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal.o BuildingSystems_BuildingSystems_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal_functions.o BuildingSystems_BuildingSystems_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal_records.o BuildingSystems_BuildingSystems_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal_01exo.o BuildingSystems_BuildingSystems_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal_02nls.o BuildingSystems_BuildingSystems_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal_03lsy.o BuildingSystems_BuildingSystems_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal_04set.o BuildingSystems_BuildingSystems_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal_05evt.o BuildingSystems_BuildingSystems_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal_06inz.o BuildingSystems_BuildingSystems_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal_07dly.o BuildingSystems_BuildingSystems_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal_08bnd.o BuildingSystems_BuildingSystems_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal_09alg.o BuildingSystems_BuildingSystems_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal_10asr.o BuildingSystems_BuildingSystems_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal_11mix.o BuildingSystems_BuildingSystems_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal_12jac.o BuildingSystems_BuildingSystems_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal_13opt.o BuildingSystems_BuildingSystems_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal_14lnz.o BuildingSystems_BuildingSystems_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal_15syn.o BuildingSystems_BuildingSystems_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal_16dae.o BuildingSystems_BuildingSystems_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal_17inl.o BuildingSystems_BuildingSystems_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal_init_fmu.o BuildingSystems_BuildingSystems_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal_FMU.o -L"/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Fluid/FixedResistances/Validation/PlugFlowPipes" -Wl,-Bstatic "-L/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc" -Wl,-rpath="/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc" "-L/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/" -Wl,-rpath="/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/" "-L/home/hudson/saved_omc/libraries/.openmodelica/binaries/Modelica" -Wl,-rpath="/home/hudson/saved_omc/libraries/.openmodelica/binaries/Modelica" "-L/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/Library/x86_64-linux" -Wl,-rpath="/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/Library/x86_64-linux" "-L/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/Library/linux64" -Wl,-rpath="/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/Library/linux64" "-L/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/Library" -Wl,-rpath="/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/Library" -lModelicaExternalC -Wl,-Bdynamic -L'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc' -Wl,-rpath,'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc' -lSimulationRuntimeFMI -Wl,--no-as-needed -Wl,--disable-new-dtags -llapack -lblas -lm -lpthread -rdynamic -Wl,--no-undefined /usr/bin/ld: BuildingSystems_BuildingSystems_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal.o: in function `BuildingSystems_BuildingSystems_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal_eqFunction_179': BuildingSystems_BuildingSystems_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal.c:(.text+0x29c): undefined reference to `spatialDistribution' /usr/bin/ld: BuildingSystems_BuildingSystems_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal.o: in function `BuildingSystems_BuildingSystems_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal_eqFunction_212': BuildingSystems_BuildingSystems_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal.c:(.text+0x15b2): undefined reference to `spatialDistribution' /usr/bin/ld: BuildingSystems_BuildingSystems_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal_06inz.o: in function `BuildingSystems_BuildingSystems_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal_eqFunction_56': BuildingSystems_BuildingSystems_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal_06inz.c:(.text+0xc45): undefined reference to `spatialDistribution' /usr/bin/ld: BuildingSystems_BuildingSystems_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal_06inz.o: in function `BuildingSystems_BuildingSystems_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal_eqFunction_60': BuildingSystems_BuildingSystems_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal_06inz.c:(.text+0xe6c): undefined reference to `spatialDistribution' /usr/bin/ld: BuildingSystems_BuildingSystems_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal_06inz.o: in function `BuildingSystems_BuildingSystems_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal_eqFunction_144': BuildingSystems_BuildingSystems_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal_06inz.c:(.text+0x1aa4): undefined reference to `spatialDistribution' /usr/bin/ld: BuildingSystems_BuildingSystems_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal_06inz.o:BuildingSystems_BuildingSystems_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal_06inz.c:(.text+0x1cb8): more undefined references to `spatialDistribution' follow clang: error: linker command failed with exit code 1 (use -v to see invocation) make: *** [Makefile:60: nozip] Error 1