Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.SolarCollectors.Examples.FlatPlate.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.FlatPlate,fileNamePrefix="Buildings_8_Buildings_Fluid_SolarCollectors_Examples_FlatPlate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.Examples.FlatPlate,fileNamePrefix="Buildings_8_Buildings_Fluid_SolarCollectors_Examples_FlatPlate",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.832/1.832, allocations: 289.7 MB / 302.3 MB, free: 2.117 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.001282/0.001282, allocations: 185.8 kB / 371.6 MB, free: 3.379 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.912/1.912, allocations: 205.1 MB / 0.6309 GB, free: 11.74 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.0009844/0.0009843, allocations: 90.31 kB / 0.745 GB, free: 54.49 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 5.314e-05/5.316e-05, allocations: 4 kB / 0.8663 GB, free: 14.93 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3334/0.3335, allocations: 116.3 MB / 0.9799 GB, free: 10.48 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.553/6.886, allocations: 2.111 GB / 3.091 GB, free: 128.5 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002739/6.887, allocations: 91.94 kB / 3.091 GB, free: 128.4 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 5.887/12.77, allocations: 1.41 GB / 4.501 GB, free: 120 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.585e-06/12.77, allocations: 0 / 4.501 GB, free: 120 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0009506/12.77, allocations: 132.6 kB / 4.501 GB, free: 119.9 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: 976 * Number of variables: 976 Notification: Performance of Generate backend data structure: time 0.02251/12.8, allocations: 5.521 MB / 4.507 GB, free: 117.3 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.674e-05/12.8, allocations: 15.86 kB / 4.507 GB, free: 117.3 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002709/12.8, allocations: 0.5161 MB / 4.507 GB, free: 117.2 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0134/12.81, allocations: 1.608 MB / 4.509 GB, free: 116.9 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01602/12.83, allocations: 5.222 MB / 4.514 GB, free: 115.3 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003472/12.83, allocations: 284.1 kB / 4.514 GB, free: 115.2 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001923/12.83, allocations: 367.9 kB / 4.515 GB, free: 115.1 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01631/12.85, allocations: 5.138 MB / 4.52 GB, free: 112.8 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001403/12.85, allocations: 7.781 kB / 4.52 GB, free: 112.8 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001341/12.85, allocations: 162 kB / 4.52 GB, free: 112.7 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001623/12.85, allocations: 156 kB / 4.52 GB, free: 112.7 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01248/12.86, allocations: 4.739 MB / 4.524 GB, free: 111.1 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.05121/12.91, allocations: 19.22 MB / 4.543 GB, free: 100.2 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008069/12.92, allocations: 3.435 MB / 4.547 GB, free: 98.84 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003933/12.93, allocations: 1.698 MB / 4.548 GB, free: 98.14 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002977/12.93, allocations: 2.536 MB / 4.551 GB, free: 95.38 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005229/12.93, allocations: 1.932 MB / 4.553 GB, free: 94.49 MB / 0.948 GB Notification: Performance of pre-optimization done (n=284): time 1.177e-05/12.93, allocations: 3.938 kB / 4.553 GB, free: 94.49 MB / 0.948 GB Notification: Performance of matching and sorting (n=284): time 0.01236/12.95, allocations: 3.783 MB / 4.556 GB, free: 92.29 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001543/12.95, allocations: 291.2 kB / 4.557 GB, free: 91.94 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00959/12.96, allocations: 3.324 MB / 4.56 GB, free: 88.63 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.001439/12.96, allocations: 85.64 kB / 4.56 GB, free: 88.54 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.003456/12.96, allocations: 1.946 MB / 4.562 GB, free: 86.58 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.002169/12.96, allocations: 0.9622 MB / 4.563 GB, free: 85.63 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008883/12.96, allocations: 56 kB / 4.563 GB, free: 85.57 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0004079/12.96, allocations: 432.1 kB / 4.563 GB, free: 85.14 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003331/12.97, allocations: 1.396 MB / 4.565 GB, free: 83.75 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003936/12.97, allocations: 2.039 MB / 4.567 GB, free: 81.46 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003981/12.98, allocations: 1.741 MB / 4.568 GB, free: 79.7 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.259e-05/12.98, allocations: 4 kB / 4.568 GB, free: 79.7 MB / 0.948 GB Notification: Performance of matching and sorting (n=380) (initialization): time 0.01257/12.99, allocations: 4.059 MB / 4.572 GB, free: 75.59 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.002208/12.99, allocations: 6.55 MB / 4.579 GB, free: 68.49 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.511e-05/12.99, allocations: 12 kB / 4.579 GB, free: 68.48 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007507/12.99, allocations: 112.8 kB / 4.579 GB, free: 68.36 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004773/13, allocations: 0.7976 MB / 4.58 GB, free: 67.57 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002485/13, allocations: 2.154 MB / 4.582 GB, free: 65.25 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007043/13.01, allocations: 0.5314 MB / 4.582 GB, free: 64.72 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001064/13.01, allocations: 159.8 kB / 4.582 GB, free: 64.56 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.546e-05/13.01, allocations: 4 kB / 4.582 GB, free: 64.56 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009536/13.02, allocations: 3.717 MB / 4.586 GB, free: 60.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.678e-05/13.02, allocations: 16 kB / 4.586 GB, free: 60.79 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005807/13.02, allocations: 113 kB / 4.586 GB, free: 60.68 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003972/13.02, allocations: 0.7878 MB / 4.587 GB, free: 59.89 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001761/13.02, allocations: 1.561 MB / 4.588 GB, free: 58.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006238/13.03, allocations: 0.4928 MB / 4.589 GB, free: 57.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008039/13.03, allocations: 155.9 kB / 4.589 GB, free: 57.55 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 67 * 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 (378): * Single equations (assignments): 376 * 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.00151/13.03, allocations: 293.2 kB / 4.589 GB, free: 57.25 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00208/13.03, allocations: 383.3 kB / 4.59 GB, free: 56.88 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01268/13.05, allocations: 4.724 MB / 4.594 GB, free: 52.09 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.243e-05/13.05, allocations: 32 kB / 4.594 GB, free: 52.06 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.757e-05/13.05, allocations: 4 kB / 4.594 GB, free: 52.05 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007576/13.05, allocations: 3.653 MB / 4.598 GB, free: 48.29 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02457/13.08, allocations: 9.531 MB / 4.607 GB, free: 38.68 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.468e-05/13.08, allocations: 4.062 kB / 4.607 GB, free: 38.68 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00338/13.08, allocations: 0.6163 MB / 4.608 GB, free: 38.06 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002942/13.09, allocations: 0.6558 MB / 4.608 GB, free: 37.38 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006279/13.09, allocations: 99.23 kB / 4.608 GB, free: 37.29 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004656/13.09, allocations: 7.534 MB / 4.616 GB, free: 29.37 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.306e-06/13.09, allocations: 0 / 4.616 GB, free: 29.37 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01393/13.1, allocations: 6.189 MB / 4.622 GB, free: 23.06 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004388/13.11, allocations: 1.136 MB / 4.623 GB, free: 21.9 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002064/13.11, allocations: 56 kB / 4.623 GB, free: 21.85 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005307/13.12, allocations: 323.2 kB / 4.623 GB, free: 21.54 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000541/13.12, allocations: 186.1 kB / 4.624 GB, free: 21.35 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005181/13.12, allocations: 139.8 kB / 4.624 GB, free: 21.21 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.006111/13.12, allocations: 2.608 MB / 4.626 GB, free: 18.62 MB / 0.948 GB Notification: Performance of sort global known variables: time 8.72e-07/13.12, allocations: 0 / 4.626 GB, free: 18.62 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.01454/13.14, allocations: 2.878 MB / 4.629 GB, free: 15.75 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (272): * Single equations (assignments): 257 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 10 * 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: 10 {1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.01741/13.16, allocations: 8.353 MB / 4.637 GB, free: 7.555 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.01133/13.17, allocations: 5.801 MB / 4.643 GB, free: 1.703 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.069e-05/13.17, allocations: 0.5625 kB / 4.643 GB, free: 1.703 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.003966/13.17, allocations: 1.953 MB / 4.645 GB, free: 15.74 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01211/13.18, allocations: 1.94 MB / 4.647 GB, free: 13.86 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02877/13.21, allocations: 9.441 MB / 4.656 GB, free: 4.41 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004934/13.22, allocations: 3.146 MB / 4.659 GB, free: 1.227 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.01705/13.23, allocations: 3.641 MB / 4.663 GB, free: 13.71 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005393/13.24, allocations: 1.854 MB / 4.664 GB, free: 11.86 MB / 0.9792 GB Notification: Performance of SimCode: time 1.543e-06/13.24, allocations: 0 / 4.664 GB, free: 11.86 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.008/14.25, allocations: 141.1 MB / 4.802 GB, free: 133.8 MB / 0.9792 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000182/14.25, allocations: 227.6 kB / 4.802 GB, free: 133.6 MB / 0.9792 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_FlatPlate.o Buildings_8_Buildings_Fluid_SolarCollectors_Examples_FlatPlate.c In file included from Buildings_8_Buildings_Fluid_SolarCollectors_Examples_FlatPlate.c:7: In file included from ./Buildings_8_Buildings_Fluid_SolarCollectors_Examples_FlatPlate_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_FlatPlate_functions.o Buildings_8_Buildings_Fluid_SolarCollectors_Examples_FlatPlate_functions.c In file included from Buildings_8_Buildings_Fluid_SolarCollectors_Examples_FlatPlate_functions.c:2: In file included from ./Buildings_8_Buildings_Fluid_SolarCollectors_Examples_FlatPlate_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_FlatPlate_functions.c:7: In file included from ./Buildings_8_Buildings_Fluid_SolarCollectors_Examples_FlatPlate_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_FlatPlate_functions.o] Error 1