Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.SolarCollectors.Examples.Tubular.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.Examples.Tubular,fileNamePrefix="Buildings_8_Buildings_Fluid_SolarCollectors_Examples_Tubular",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.Examples.Tubular,fileNamePrefix="Buildings_8_Buildings_Fluid_SolarCollectors_Examples_Tubular",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.697/1.697, allocations: 289.7 MB / 302.2 MB, free: 2.188 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001226/0.001226, allocations: 176 kB / 371.6 MB, free: 3.402 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.697/1.697, allocations: 205.1 MB / 0.6309 GB, free: 11.78 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009058/0.000906, allocations: 90.92 kB / 0.745 GB, free: 54.54 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 5.871e-05/5.875e-05, allocations: 4 kB / 0.8663 GB, free: 15 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3268/0.3269, allocations: 116.3 MB / 0.9799 GB, free: 10.54 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.61/7.937, allocations: 2.359 GB / 3.338 GB, free: 241.7 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000266/7.937, allocations: 93.53 kB / 3.339 GB, free: 241.7 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 3.724/11.66, allocations: 0.925 GB / 4.264 GB, free: 35.71 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.254e-06/11.66, allocations: 0 / 4.264 GB, free: 35.71 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0009568/11.66, allocations: 119.9 kB / 4.264 GB, free: 35.59 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 967 * Number of variables: 967 Notification: Performance of Generate backend data structure: time 0.01685/11.68, allocations: 4.269 MB / 4.268 GB, free: 31.26 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 6.132e-05/11.68, allocations: 12.03 kB / 4.268 GB, free: 31.25 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003121/11.68, allocations: 0.5105 MB / 4.268 GB, free: 30.73 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01094/11.69, allocations: 1.239 MB / 4.27 GB, free: 29.48 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01896/11.71, allocations: 5.398 MB / 4.275 GB, free: 24.02 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004065/11.71, allocations: 279.4 kB / 4.275 GB, free: 23.74 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002197/11.71, allocations: 375.9 kB / 4.275 GB, free: 23.38 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.017/11.73, allocations: 5.038 MB / 4.28 GB, free: 18.17 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002834/11.73, allocations: 19.81 kB / 4.28 GB, free: 18.15 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00173/11.73, allocations: 160 kB / 4.281 GB, free: 18 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001902/11.73, allocations: 179.1 kB / 4.281 GB, free: 17.82 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0118/11.75, allocations: 4.635 MB / 4.285 GB, free: 13.18 MB / 0.948 GB Warning: The model contains alias variables with conflicting start and/or 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.8449/12.59, allocations: 19.57 MB / 4.304 GB, free: 112.3 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007957/12.6, allocations: 3.261 MB / 4.308 GB, free: 112.3 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003962/12.6, allocations: 1.683 MB / 4.309 GB, free: 112.2 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002296/12.6, allocations: 1.863 MB / 4.311 GB, free: 110.3 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004424/12.61, allocations: 1.862 MB / 4.313 GB, free: 110.1 MB / 0.948 GB Notification: Performance of pre-optimization done (n=267): time 5.2e-06/12.61, allocations: 0 / 4.313 GB, free: 110.1 MB / 0.948 GB Notification: Performance of matching and sorting (n=267): time 0.00971/12.62, allocations: 3.147 MB / 4.316 GB, free: 110 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001755/12.62, allocations: 290.9 kB / 4.316 GB, free: 109.7 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01001/12.63, allocations: 3.431 MB / 4.319 GB, free: 109.4 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.001228/12.63, allocations: 79.89 kB / 4.32 GB, free: 109.4 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.002792/12.63, allocations: 1.964 MB / 4.321 GB, free: 108.9 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.002014/12.64, allocations: 0.9148 MB / 4.322 GB, free: 108.5 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002381/12.64, allocations: 58.69 kB / 4.322 GB, free: 108.5 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0003053/12.64, allocations: 423.6 kB / 4.323 GB, free: 108.2 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002714/12.64, allocations: 1.34 MB / 4.324 GB, free: 108.1 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003147/12.64, allocations: 2.035 MB / 4.326 GB, free: 107.4 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003246/12.65, allocations: 1.694 MB / 4.328 GB, free: 107.4 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.735e-05/12.65, allocations: 5.812 kB / 4.328 GB, free: 107.4 MB / 0.948 GB Notification: Performance of matching and sorting (n=372) (initialization): time 0.009208/12.65, allocations: 3.954 MB / 4.332 GB, free: 107.1 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.002207/12.66, allocations: 7.412 MB / 4.339 GB, free: 99.27 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.65e-05/12.66, allocations: 16.56 kB / 4.339 GB, free: 99.27 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000704/12.66, allocations: 120 kB / 4.339 GB, free: 99.25 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004448/12.66, allocations: 0.8061 MB / 4.34 GB, free: 99.25 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002467/12.66, allocations: 2.159 MB / 4.342 GB, free: 97.38 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0065/12.67, allocations: 0.517 MB / 4.342 GB, free: 97.29 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000841/12.67, allocations: 146.9 kB / 4.343 GB, free: 97.29 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.85e-05/12.67, allocations: 7.312 kB / 4.343 GB, free: 97.29 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007495/12.68, allocations: 3.621 MB / 4.346 GB, free: 97.19 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.064e-05/12.68, allocations: 16.12 kB / 4.346 GB, free: 97.19 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005696/12.68, allocations: 117 kB / 4.346 GB, free: 97.18 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003764/12.68, allocations: 0.8017 MB / 4.347 GB, free: 97.18 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001925/12.69, allocations: 1.559 MB / 4.349 GB, free: 95.9 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005589/12.69, allocations: 492.8 kB / 4.349 GB, free: 95.82 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005636/12.69, allocations: 143.8 kB / 4.349 GB, free: 95.82 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 76 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (370): * Single equations (assignments): 368 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.001259/12.69, allocations: 284.3 kB / 4.349 GB, free: 95.71 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001635/12.69, allocations: 386.4 kB / 4.35 GB, free: 95.52 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008511/12.7, allocations: 3.959 MB / 4.354 GB, free: 95.3 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.925e-05/12.7, allocations: 32.94 kB / 4.354 GB, free: 95.3 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.833e-06/12.7, allocations: 0 / 4.354 GB, free: 95.3 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005049/12.71, allocations: 3.089 MB / 4.357 GB, free: 94.95 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01803/12.73, allocations: 8.598 MB / 4.365 GB, free: 94.34 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.899e-06/12.73, allocations: 2.469 kB / 4.365 GB, free: 94.34 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003279/12.73, allocations: 0.6359 MB / 4.366 GB, free: 94.34 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005143/12.73, allocations: 93.12 kB / 4.366 GB, free: 94.33 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002511/12.73, allocations: 92.83 kB / 4.366 GB, free: 94.33 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001866/12.73, allocations: 2.16 MB / 4.368 GB, free: 92.45 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.404e-06/12.73, allocations: 0 / 4.368 GB, free: 92.45 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009691/12.74, allocations: 5.47 MB / 4.373 GB, free: 91.84 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004061/12.75, allocations: 1.086 MB / 4.374 GB, free: 91.55 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001634/12.75, allocations: 60.77 kB / 4.374 GB, free: 91.55 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004959/12.75, allocations: 333 kB / 4.375 GB, free: 91.54 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004862/12.75, allocations: 187.6 kB / 4.375 GB, free: 91.53 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004611/12.75, allocations: 130.7 kB / 4.375 GB, free: 91.53 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.006277/12.76, allocations: 2.694 MB / 4.378 GB, free: 91.37 MB / 0.948 GB Notification: Performance of sort global known variables: time 4.6e-07/12.76, allocations: 0 / 4.378 GB, free: 91.37 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.01284/12.77, allocations: 2.435 MB / 4.38 GB, free: 91.21 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 11 (solCol.vol[1].dynBal.U,solCol.vol[2].dynBal.U,solCol.vol[3].dynBal.U,solCol.vol[4].dynBal.U,solCol.vol[5].dynBal.U,solCol.vol[6].dynBal.U,solCol.vol[7].dynBal.U,solCol.vol[8].dynBal.U,solCol.vol[9].dynBal.U,TOut.T,TIn.T) * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (286): * Single equations (assignments): 276 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.01354/12.79, allocations: 7.708 MB / 4.388 GB, free: 89.77 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.01167/12.8, allocations: 5.616 MB / 4.393 GB, free: 89.44 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.336e-05/12.8, allocations: 4.516 kB / 4.393 GB, free: 89.44 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.003146/12.8, allocations: 1.752 MB / 4.395 GB, free: 89.32 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01186/12.81, allocations: 2.044 MB / 4.397 GB, free: 89.27 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0292/12.84, allocations: 9.086 MB / 4.406 GB, free: 87.71 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003483/12.85, allocations: 3.121 MB / 4.409 GB, free: 86.94 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.01385/12.86, allocations: 3.015 MB / 4.412 GB, free: 86.89 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004363/12.86, allocations: 1.826 MB / 4.413 GB, free: 86.89 MB / 0.948 GB Notification: Performance of SimCode: time 1.112e-06/12.86, allocations: 0 / 4.413 GB, free: 86.89 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2383/13.1, allocations: 138.4 MB / 4.549 GB, free: 71.55 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001782/13.1, allocations: 222.5 kB / 4.549 GB, free: 71.32 MB / 0.948 GB Error: Error building simulator. Build log: clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Resources/C-Sources" -c -o Buildings_8_Buildings_Fluid_SolarCollectors_Examples_Tubular.o Buildings_8_Buildings_Fluid_SolarCollectors_Examples_Tubular.c In file included from Buildings_8_Buildings_Fluid_SolarCollectors_Examples_Tubular.c:7: In file included from ./Buildings_8_Buildings_Fluid_SolarCollectors_Examples_Tubular_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:111: ./gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:221: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 -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Resources/C-Sources" -c -o Buildings_8_Buildings_Fluid_SolarCollectors_Examples_Tubular_functions.o Buildings_8_Buildings_Fluid_SolarCollectors_Examples_Tubular_functions.c In file included from Buildings_8_Buildings_Fluid_SolarCollectors_Examples_Tubular_functions.c:2: In file included from ./Buildings_8_Buildings_Fluid_SolarCollectors_Examples_Tubular_functions.h:3: In file included from ./meta/meta_modelica.h:49: ./gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:221:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ In file included from Buildings_8_Buildings_Fluid_SolarCollectors_Examples_Tubular_functions.c:7: In file included from ./Buildings_8_Buildings_Fluid_SolarCollectors_Examples_Tubular_includes.h:4: /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Resources/C-Sources/getTimeSpan.c:9:10: fatal error: 'ModelicaUtilities.h' file not found #include "ModelicaUtilities.h" ^~~~~~~~~~~~~~~~~~~~~ 2 warnings and 1 error generated. make: *** [: Buildings_8_Buildings_Fluid_SolarCollectors_Examples_Tubular_functions.o] Error 1