Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.PlugFlowPipe.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.Examples.PlugFlowPipe,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.FixedResistances.Examples.PlugFlowPipe,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe",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.000834/0.0008341, allocations: 99.47 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.0008254/0.0008254, allocations: 177.3 kB / 15.95 MB, free: 216 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.16/1.16, allocations: 223.2 MB / 239.9 MB, free: 5.473 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001625/0.001625, allocations: 266.7 kB / 291.2 MB, free: 2.023 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.7184/0.7184, allocations: 144.6 MB / 487 MB, free: 7.18 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003489/0.0003489, allocations: 15.12 kB / 0.5684 GB, free: 38.3 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1097/0.1101, allocations: 83.09 MB / 0.6495 GB, free: 3.527 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FixedResistances.Examples.PlugFlowPipe): time 0.07713/0.1872, allocations: 96.28 MB / 0.7436 GB, free: 3.055 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.02585/0.2131, allocations: 22.84 MB / 0.7659 GB, free: 12.17 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002662/0.2158, allocations: 87.44 kB / 0.7659 GB, free: 12.09 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.003059/0.2189, allocations: 1.372 MB / 0.7673 GB, free: 10.71 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.009328/0.2282, allocations: 4.479 MB / 0.7717 GB, free: 6.219 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.006171/0.2344, allocations: 2.677 MB / 0.7743 GB, free: 3.578 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.2454/0.4799, allocations: 3.656 MB / 0.7778 GB, free: 14.75 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001998/0.4819, allocations: 1.444 MB / 0.7792 GB, free: 14.64 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002921/0.4848, allocations: 1.969 MB / 0.7812 GB, free: 14.64 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00108/0.4859, allocations: 1.167 MB / 0.7823 GB, free: 14.63 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001715/0.4861, allocations: 93.31 kB / 0.7824 GB, free: 14.63 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003/0.4891, allocations: 1.533 MB / 0.7839 GB, free: 14.63 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0003076/0.4894, allocations: 382.9 kB / 0.7843 GB, free: 14.63 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.000324/0.4897, allocations: 491.5 kB / 0.7847 GB, free: 14.59 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.002743/0.4925, allocations: 2.801 MB / 0.7875 GB, free: 14.38 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 2.073e-06/0.4925, allocations: 0.875 kB / 0.7875 GB, free: 14.38 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.313e-06/0.4925, allocations: 0 / 0.7875 GB, free: 14.38 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 2.28e-05/0.4925, allocations: 3.562 kB / 0.7875 GB, free: 14.38 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: 343 * Number of variables: 343 Notification: Performance of Generate backend data structure: time 0.003932/0.4965, allocations: 2.408 MB / 0.7898 GB, free: 13.12 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.277e-05/0.4965, allocations: 9.375 kB / 0.7898 GB, free: 13.12 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001944/0.4967, allocations: 203.1 kB / 0.79 GB, free: 13.08 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004211/0.4971, allocations: 264 kB / 0.7903 GB, free: 12.95 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003107/0.5003, allocations: 1.893 MB / 0.7921 GB, free: 12.51 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.09e-05/0.5003, allocations: 107.5 kB / 0.7922 GB, free: 12.5 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000176/0.5005, allocations: 140.8 kB / 0.7924 GB, free: 12.5 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001987/0.5025, allocations: 1.436 MB / 0.7938 GB, free: 12.27 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.163e-05/0.5025, allocations: 4.844 kB / 0.7938 GB, free: 12.27 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001078/0.5027, allocations: 57.16 kB / 0.7938 GB, free: 12.27 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.099e-05/0.5027, allocations: 42.12 kB / 0.7939 GB, free: 12.27 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001607/0.5043, allocations: 1.037 MB / 0.7949 GB, free: 12.25 MB / 0.5606 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.00628/0.5106, allocations: 8.21 MB / 0.8029 GB, free: 7.41 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001112/0.5117, allocations: 0.8327 MB / 0.8037 GB, free: 7.277 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001728/0.5135, allocations: 2.799 MB / 0.8064 GB, free: 20.09 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.268e-05/0.5135, allocations: 49.09 kB / 0.8065 GB, free: 20.05 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=85): time 2.585e-06/0.5135, allocations: 0 / 0.8065 GB, free: 20.05 MB / 0.5762 GB Notification: Performance of matching and sorting (n=85): time 0.00188/0.5154, allocations: 1.501 MB / 0.808 GB, free: 19.53 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.448e-05/0.5154, allocations: 60.31 kB / 0.808 GB, free: 19.46 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001735/0.5172, allocations: 1.678 MB / 0.8097 GB, free: 19.24 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 6.168e-05/0.5173, allocations: 40.89 kB / 0.8097 GB, free: 19.21 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.000459/0.5177, allocations: 0.9257 MB / 0.8106 GB, free: 18.89 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002097/0.5179, allocations: 310.8 kB / 0.8109 GB, free: 18.69 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.556e-05/0.518, allocations: 20.22 kB / 0.8109 GB, free: 18.69 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001054/0.5181, allocations: 352.2 kB / 0.8112 GB, free: 18.39 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004716/0.5186, allocations: 342.6 kB / 0.8116 GB, free: 18.38 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005778/0.5192, allocations: 0.6956 MB / 0.8123 GB, free: 17.95 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005732/0.5197, allocations: 454.5 kB / 0.8127 GB, free: 17.93 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.322e-06/0.5198, allocations: 12.92 kB / 0.8127 GB, free: 17.92 MB / 0.5762 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.001583/0.5214, allocations: 1.266 MB / 0.8139 GB, free: 17.78 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 0.001033/0.5224, allocations: 4.456 MB / 0.8183 GB, free: 13.12 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.454e-05/0.5224, allocations: 12.59 kB / 0.8183 GB, free: 13.12 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.016e-05/0.5225, allocations: 21.16 kB / 0.8183 GB, free: 13.12 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000698/0.5232, allocations: 266.3 kB / 0.8186 GB, free: 13.11 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.767e-05/0.5232, allocations: 28.44 kB / 0.8186 GB, free: 13.11 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001065/0.5243, allocations: 197 kB / 0.8188 GB, free: 13.02 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.115e-05/0.5244, allocations: 68.62 kB / 0.8189 GB, free: 13.02 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 5.781e-06/0.5244, allocations: 3.031 kB / 0.8189 GB, free: 13.02 MB / 0.5762 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00138/0.5258, allocations: 1.071 MB / 0.8199 GB, free: 13.01 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.125e-05/0.5258, allocations: 21.97 kB / 0.8199 GB, free: 13 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.227e-05/0.5258, allocations: 18.62 kB / 0.8199 GB, free: 13 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006723/0.5265, allocations: 256 kB / 0.8202 GB, free: 13 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.084e-05/0.5265, allocations: 28.34 kB / 0.8202 GB, free: 13 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008787/0.5274, allocations: 164.7 kB / 0.8204 GB, free: 12.95 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.311e-05/0.5275, allocations: 66.33 kB / 0.8204 GB, free: 12.95 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * 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 (140): * Single equations (assignments): 136 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005156/0.528, allocations: 473.8 kB / 0.8209 GB, free: 12.75 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001876/0.5282, allocations: 191.6 kB / 0.8211 GB, free: 12.65 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002329/0.5305, allocations: 1.782 MB / 0.8228 GB, free: 12.48 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.865e-05/0.5306, allocations: 23.7 kB / 0.8228 GB, free: 12.47 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/0.5306, allocations: 0 / 0.8228 GB, free: 12.47 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001323/0.5319, allocations: 1.171 MB / 0.824 GB, free: 12.29 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003956/0.5359, allocations: 3.557 MB / 0.8274 GB, free: 11.58 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.923e-05/0.5359, allocations: 10.44 kB / 0.8275 GB, free: 11.58 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006049/0.5365, allocations: 210.5 kB / 0.8277 GB, free: 11.57 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.193e-05/0.5365, allocations: 14.2 kB / 0.8277 GB, free: 11.57 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.934e-05/0.5366, allocations: 39.25 kB / 0.8277 GB, free: 11.57 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.416e-06/0.5366, allocations: 18.17 kB / 0.8277 GB, free: 11.57 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.029e-06/0.5366, allocations: 9.938 kB / 0.8277 GB, free: 11.57 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002411/0.5391, allocations: 2.725 MB / 0.8304 GB, free: 10.43 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005619/0.5396, allocations: 496.8 kB / 0.8309 GB, free: 10.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000215/0.5398, allocations: 32.11 kB / 0.8309 GB, free: 10.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008771/0.5407, allocations: 99.36 kB / 0.831 GB, free: 10.19 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001312/0.5409, allocations: 107.3 kB / 0.8311 GB, free: 10.18 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.317e-05/0.541, allocations: 58.61 kB / 0.8312 GB, free: 10.18 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001178/0.5422, allocations: 1.135 MB / 0.8323 GB, free: 10.03 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.8e-07/0.5422, allocations: 0 / 0.8323 GB, free: 10.03 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.00232/0.5445, allocations: 1.156 MB / 0.8334 GB, free: 9.855 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * Number of states: 6 (pip.del.x,pip.timDel.x,pip.vol_b.dynBal.U,pip.vol_a.dynBal.U,pipNoMix.del.x,pipNoMix.timDel.x) * 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 (129): * Single equations (assignments): 102 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 27 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004014/0.5485, allocations: 5.628 MB / 0.8389 GB, free: 6.496 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.00201/0.5505, allocations: 1.846 MB / 0.8407 GB, free: 6.223 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.846e-06/0.5506, allocations: 3.156 kB / 0.8407 GB, free: 6.223 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0007608/0.5513, allocations: 0.7665 MB / 0.8414 GB, free: 6.094 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003117/0.5544, allocations: 0.8988 MB / 0.8423 GB, free: 6.016 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006925/0.5614, allocations: 12.89 MB / 0.8549 GB, free: 11.64 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007847/0.5622, allocations: 1.475 MB / 0.8564 GB, free: 10.89 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.001497/0.5637, allocations: 0.5435 MB / 0.8569 GB, free: 10.75 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000766/0.5645, allocations: 0.8476 MB / 0.8577 GB, free: 10.74 MB / 0.5919 GB Notification: Performance of SimCode: time 2.5e-07/0.5645, allocations: 0 / 0.8577 GB, free: 10.74 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2161/0.7806, allocations: 58.93 MB / 0.9153 GB, free: 5.094 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000173/0.7808, allocations: 235.7 kB / 0.9155 GB, free: 4.855 MB / 0.6387 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_Examples_PlugFlowPipe.o BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe.c In file included from BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe.c:7: In file included from ./BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe_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_Examples_PlugFlowPipe.c:596:78: warning: implicit declaration of function 'spatialDistribution' is invalid in C99 [-Wimplicit-function-declaration] data->localData[0]->realVars[101] /* 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) */, tmp14, tmp15, tmp16 ,&data->localData[0]->realVars[100] /* pip.timDel.time_out_des variable */); ^ BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe.c:955:78: warning: implicit declaration of function 'spatialDistribution' is invalid in C99 [-Wimplicit-function-declaration] data->localData[0]->realVars[94] /* pip.res.port_a.h_outflow variable */ = spatialDistribution(data->localData[0]->realVars[178] /* senTemIn.port_a.h_outflow variable */, data->localData[0]->realVars[191] /* senTemOut.port_b.h_outflow variable */, DIVISION_SIM(data->localData[0]->realVars[0] /* pip.del.x STATE(1,pip.v) */,data->simulationInfo->realParameter[27] /* pip.del.length PARAM */,"pip.del.length",equationIndexes), tmp25, tmp26, tmp27 ,&data->localData[0]->realVars[75] /* pip.del.port_b.h_outflow variable */); ^ BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe.c:1254:83: warning: implicit declaration of function 'spatialDistribution' is invalid in C99 [-Wimplicit-function-declaration] data->localData[0]->realVars[170] /* pipNoMix.timDel.time_out_rev variable */ = spatialDistribution(data->localData[0]->timeValue, data->localData[0]->timeValue, data->localData[0]->realVars[5] /* pipNoMix.timDel.x STATE(1,pipNoMix.timDel.u) */, tmp36, tmp37, tmp38 ,&data->localData[0]->realVars[169] /* pipNoMix.timDel.time_out_des variable */); ^ BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe.c:1541:84: warning: implicit declaration of function 'spatialDistribution' is invalid in C99 [-Wimplicit-function-declaration] data->localData[0]->realVars[163] /* pipNoMix.res.port_a.h_outflow variable */ = spatialDistribution(data->localData[0]->realVars[211] /* souNoMix.ports[1].h_outflow variable */, data->localData[0]->realVars[202] /* sin.ports[2].h_outflow variable */, DIVISION_SIM(data->localData[0]->realVars[4] /* pipNoMix.del.x STATE(1,pipNoMix.v) */,data->simulationInfo->realParameter[188] /* pipNoMix.del.length PARAM */,"pipNoMix.del.length",equationIndexes), tmp47, tmp48, tmp49 ,&data->localData[0]->realVars[142] /* pipNoMix.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_Examples_PlugFlowPipe_functions.o BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe_functions.c In file included from BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe_functions.c:2: In file included from ./BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe_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_Examples_PlugFlowPipe_records.o BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe_records.c In file included from BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe_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_Examples_PlugFlowPipe_01exo.o BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe_01exo.c In file included from BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe_01exo.c:2: In file included from ./BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe_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_Examples_PlugFlowPipe_02nls.o BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe_02nls.c In file included from BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe_02nls.c:2: In file included from ./BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe_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_Examples_PlugFlowPipe_03lsy.o BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe_03lsy.c In file included from BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe_03lsy.c:2: In file included from ./BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe_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_Examples_PlugFlowPipe_04set.o BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe_04set.c In file included from BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe_04set.c:2: In file included from ./BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe_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_Examples_PlugFlowPipe_05evt.o BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe_05evt.c In file included from BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe_05evt.c:2: In file included from ./BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe_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_Examples_PlugFlowPipe_06inz.o BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe_06inz.c In file included from BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe_06inz.c:2: In file included from ./BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe_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_Examples_PlugFlowPipe_06inz.c:557:83: warning: implicit declaration of function 'spatialDistribution' is invalid in C99 [-Wimplicit-function-declaration] data->localData[0]->realVars[170] /* pipNoMix.timDel.time_out_rev variable */ = spatialDistribution(data->localData[0]->timeValue, data->localData[0]->timeValue, data->localData[0]->realVars[5] /* pipNoMix.timDel.x STATE(1,pipNoMix.timDel.u) */, tmp3, tmp4, tmp5 ,&data->localData[0]->realVars[169] /* pipNoMix.timDel.time_out_des variable */); ^ BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe_06inz.c:594:84: warning: implicit declaration of function 'spatialDistribution' is invalid in C99 [-Wimplicit-function-declaration] data->localData[0]->realVars[163] /* pipNoMix.res.port_a.h_outflow variable */ = spatialDistribution(data->localData[0]->realVars[211] /* souNoMix.ports[1].h_outflow variable */, data->localData[0]->realVars[202] /* sin.ports[2].h_outflow variable */, DIVISION_SIM(data->localData[0]->realVars[4] /* pipNoMix.del.x STATE(1,pipNoMix.v) */,data->simulationInfo->realParameter[188] /* pipNoMix.del.length PARAM */,"pipNoMix.del.length",equationIndexes), tmp6, tmp7, tmp8 ,&data->localData[0]->realVars[142] /* pipNoMix.del.port_b.h_outflow variable */); ^ BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe_06inz.c:957:78: warning: implicit declaration of function 'spatialDistribution' is invalid in C99 [-Wimplicit-function-declaration] data->localData[0]->realVars[101] /* 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) */, tmp9, tmp10, tmp11 ,&data->localData[0]->realVars[100] /* pip.timDel.time_out_des variable */); ^ BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe_06inz.c:994:78: warning: implicit declaration of function 'spatialDistribution' is invalid in C99 [-Wimplicit-function-declaration] data->localData[0]->realVars[94] /* pip.res.port_a.h_outflow variable */ = spatialDistribution(data->localData[0]->realVars[178] /* senTemIn.port_a.h_outflow variable */, data->localData[0]->realVars[191] /* senTemOut.port_b.h_outflow variable */, DIVISION_SIM(data->localData[0]->realVars[0] /* pip.del.x STATE(1,pip.v) */,data->simulationInfo->realParameter[27] /* pip.del.length PARAM */,"pip.del.length",equationIndexes), tmp12, tmp13, tmp14 ,&data->localData[0]->realVars[75] /* pip.del.port_b.h_outflow variable */); ^ BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe_06inz.c:2012:83: warning: implicit declaration of function 'spatialDistribution' is invalid in C99 [-Wimplicit-function-declaration] data->localData[0]->realVars[170] /* pipNoMix.timDel.time_out_rev variable */ = spatialDistribution(data->localData[0]->timeValue, data->localData[0]->timeValue, data->localData[0]->realVars[5] /* pipNoMix.timDel.x STATE(1,pipNoMix.timDel.u) */, tmp0, tmp1, tmp2 ,&data->localData[0]->realVars[169] /* pipNoMix.timDel.time_out_des variable */); ^ BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe_06inz.c:2038:84: warning: implicit declaration of function 'spatialDistribution' is invalid in C99 [-Wimplicit-function-declaration] data->localData[0]->realVars[163] /* pipNoMix.res.port_a.h_outflow variable */ = spatialDistribution(data->localData[0]->realVars[211] /* souNoMix.ports[1].h_outflow variable */, data->localData[0]->realVars[202] /* sin.ports[2].h_outflow variable */, DIVISION_SIM(data->localData[0]->realVars[4] /* pipNoMix.del.x STATE(1,pipNoMix.v) */,data->simulationInfo->realParameter[188] /* pipNoMix.del.length PARAM */,"pipNoMix.del.length",equationIndexes), tmp3, tmp4, tmp5 ,&data->localData[0]->realVars[142] /* pipNoMix.del.port_b.h_outflow variable */); ^ BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe_06inz.c:2126:78: warning: implicit declaration of function 'spatialDistribution' is invalid in C99 [-Wimplicit-function-declaration] data->localData[0]->realVars[101] /* 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) */, tmp6, tmp7, tmp8 ,&data->localData[0]->realVars[100] /* pip.timDel.time_out_des variable */); ^ BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe_06inz.c:2152:78: warning: implicit declaration of function 'spatialDistribution' is invalid in C99 [-Wimplicit-function-declaration] data->localData[0]->realVars[94] /* pip.res.port_a.h_outflow variable */ = spatialDistribution(data->localData[0]->realVars[178] /* senTemIn.port_a.h_outflow variable */, data->localData[0]->realVars[191] /* senTemOut.port_b.h_outflow variable */, DIVISION_SIM(data->localData[0]->realVars[0] /* pip.del.x STATE(1,pip.v) */,data->simulationInfo->realParameter[27] /* pip.del.length PARAM */,"pip.del.length",equationIndexes), tmp9, tmp10, tmp11 ,&data->localData[0]->realVars[75] /* pip.del.port_b.h_outflow variable */); ^ 10 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_Examples_PlugFlowPipe_07dly.o BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe_07dly.c In file included from BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe_07dly.c:2: In file included from ./BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe_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_Examples_PlugFlowPipe_08bnd.o BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe_08bnd.c In file included from BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe_08bnd.c:2: In file included from ./BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe_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_Examples_PlugFlowPipe_09alg.o BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe_09alg.c In file included from BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe_09alg.c:2: In file included from ./BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe_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_Examples_PlugFlowPipe_10asr.o BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe_10asr.c In file included from BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe_10asr.c:2: In file included from ./BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe_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_Examples_PlugFlowPipe_11mix.o BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe_11mix.c In file included from BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe_11mix.c:2: In file included from ./BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe_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_Examples_PlugFlowPipe_12jac.o BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe_12jac.c In file included from BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe_12jac.c:2: In file included from ./BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe_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_Examples_PlugFlowPipe_13opt.o BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe_13opt.c In file included from BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe_13opt.c:2: In file included from ./BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe_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_Examples_PlugFlowPipe_14lnz.o BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe_14lnz.c In file included from BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe_14lnz.c:2: In file included from ./BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe_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_Examples_PlugFlowPipe_15syn.o BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe_15syn.c In file included from BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe_15syn.c:2: In file included from ./BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe_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_Examples_PlugFlowPipe_16dae.o BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe_16dae.c In file included from BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe_16dae.c:2: In file included from ./BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe_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_Examples_PlugFlowPipe_17inl.o BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe_17inl.c In file included from BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe_17inl.c:2: In file included from ./BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe_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_Examples_PlugFlowPipe_init_fmu.o BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe_init_fmu.c In file included from BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe_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_Examples_PlugFlowPipe_FMU.o BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe_FMU.c In file included from BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe_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_Examples_PlugFlowPipe_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_Examples_PlugFlowPipe.so BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe.o BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe_functions.o BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe_records.o BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe_01exo.o BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe_02nls.o BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe_03lsy.o BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe_04set.o BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe_05evt.o BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe_06inz.o BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe_07dly.o BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe_08bnd.o BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe_09alg.o BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe_10asr.o BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe_11mix.o BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe_12jac.o BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe_13opt.o BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe_14lnz.o BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe_15syn.o BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe_16dae.o BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe_17inl.o BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe_init_fmu.o BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe_FMU.o -L"/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Fluid/FixedResistances/Examples" -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_Examples_PlugFlowPipe.o: in function `BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe_eqFunction_326': BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe.c:(.text+0xc4f): undefined reference to `spatialDistribution' /usr/bin/ld: BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe.o: in function `BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe_eqFunction_353': BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe.c:(.text+0x1c85): undefined reference to `spatialDistribution' /usr/bin/ld: BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe.o: in function `BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe_eqFunction_375': BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe.c:(.text+0x2377): undefined reference to `spatialDistribution' /usr/bin/ld: BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe.o: in function `BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe_eqFunction_396': BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe.c:(.text+0x2e99): undefined reference to `spatialDistribution' /usr/bin/ld: BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe_06inz.o: in function `BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe_eqFunction_54': BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe_06inz.c:(.text+0xe15): undefined reference to `spatialDistribution' /usr/bin/ld: BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe_06inz.o:BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe_06inz.c:(.text+0x103e): 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