Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.HeatTransfer.Windows.Validation.WindowSteadyState.conf.json 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 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.HeatTransfer.Windows.Validation.WindowSteadyState,fileNamePrefix="Buildings_7_0_0_Buildings_HeatTransfer_Windows_Validation_WindowSteadyState",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.194/2.194, allocations: 251 MB / 265.9 MB, free: 11.68 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001545/0.001544, allocations: 182.2 kB / 325.5 MB, free: 2.883 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.305/2.305, allocations: 205.4 MB / 0.5764 GB, free: 20.82 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001162/0.001161, allocations: 109.9 kB / 0.6809 GB, free: 13.65 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004775/0.0004776, allocations: 15.19 kB / 0.795 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2079/0.2084, allocations: 106.3 MB / 0.8988 GB, free: 65.48 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.111/7.32, allocations: 2.243 GB / 3.142 GB, free: 223.7 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003411/7.32, allocations: 99.66 kB / 3.142 GB, free: 223.7 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 1.082/8.402, allocations: 263 MB / 3.399 GB, free: 23.29 MB / 0.8855 GB Notification: Performance of FrontEnd: time 3.186e-06/8.402, allocations: 0 / 3.399 GB, free: 23.29 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.001157/8.403, allocations: 123.9 kB / 3.399 GB, free: 23.17 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 614 * Number of variables: 614 Notification: Performance of Generate backend data structure: time 0.9556/9.359, allocations: 71.53 MB / 3.469 GB, free: 186.5 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.944e-05/9.359, allocations: 11.95 kB / 3.469 GB, free: 186.5 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001583/9.361, allocations: 339.7 kB / 3.469 GB, free: 186.4 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.09541/9.456, allocations: 5.18 MB / 3.474 GB, free: 186.1 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 1.346/10.8, allocations: 298 MB / 3.765 GB, free: 210.2 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003285/10.8, allocations: 207.1 kB / 3.765 GB, free: 210.2 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001872/10.8, allocations: 283.1 kB / 3.766 GB, free: 210.2 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02197/10.83, allocations: 4.895 MB / 3.77 GB, free: 209.8 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000107/10.83, allocations: 7.719 kB / 3.77 GB, free: 209.8 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001004/10.83, allocations: 99.69 kB / 3.77 GB, free: 209.8 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.382e-05/10.83, allocations: 59.47 kB / 3.771 GB, free: 209.8 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02217/10.85, allocations: 4.684 MB / 3.775 GB, free: 209.7 MB / 0.9167 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.8113/11.66, allocations: 272.8 MB / 4.041 GB, free: 68.25 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01474/11.68, allocations: 3.501 MB / 4.045 GB, free: 64.77 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004023/11.68, allocations: 86.42 kB / 4.045 GB, free: 64.7 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01265/11.69, allocations: 2.948 MB / 4.048 GB, free: 61.74 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=175): time 5.851e-06/11.69, allocations: 2.625 kB / 4.048 GB, free: 61.74 MB / 0.9167 GB Notification: Performance of matching and sorting (n=175): time 0.129/11.82, allocations: 14.68 MB / 4.062 GB, free: 47.15 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003403/11.82, allocations: 0.5161 MB / 4.063 GB, free: 46.54 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.735/13.55, allocations: 323.9 MB / 4.379 GB, free: 55.71 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 0.001304/13.55, allocations: 73.7 kB / 4.379 GB, free: 55.63 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.005378/13.56, allocations: 2.938 MB / 4.382 GB, free: 53.21 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.001352/13.56, allocations: 0.5787 MB / 4.383 GB, free: 52.76 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007845/13.56, allocations: 52 kB / 4.383 GB, free: 52.71 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0003191/13.56, allocations: 426.2 kB / 4.383 GB, free: 52.33 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02275/13.59, allocations: 4.463 MB / 4.387 GB, free: 48.81 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02365/13.61, allocations: 5.478 MB / 4.393 GB, free: 43.96 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0228/13.63, allocations: 4.469 MB / 4.397 GB, free: 40.37 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.863e-05/13.63, allocations: 8 kB / 4.397 GB, free: 40.36 MB / 0.9167 GB Notification: Performance of matching and sorting (n=334) (initialization): time 0.09704/13.73, allocations: 12.68 MB / 4.409 GB, free: 30.31 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 0.002744/13.73, allocations: 12.63 MB / 4.422 GB, free: 17.06 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.1081/13.84, allocations: 12.56 MB / 4.434 GB, free: 7.859 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.132/14.97, allocations: 49.23 MB / 4.482 GB, free: 212 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01387/14.99, allocations: 1.214 MB / 4.483 GB, free: 212 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02166/15.01, allocations: 9.223 MB / 4.492 GB, free: 207.6 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.04722/15.05, allocations: 1.697 MB / 4.494 GB, free: 207.6 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001405/15.06, allocations: 200.8 kB / 4.494 GB, free: 207.6 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.726e-05/15.06, allocations: 7.547 kB / 4.494 GB, free: 207.6 MB / 0.9167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.05641/15.11, allocations: 11.03 MB / 4.505 GB, free: 207.4 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.04389/15.16, allocations: 8.553 MB / 4.513 GB, free: 207.3 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008538/15.17, allocations: 1.548 MB / 4.515 GB, free: 207.2 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01726/15.18, allocations: 1.474 MB / 4.516 GB, free: 207.2 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02696/15.21, allocations: 13.43 MB / 4.529 GB, free: 201.8 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.04756/15.26, allocations: 1.624 MB / 4.531 GB, free: 201.8 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001491/15.26, allocations: 203.3 kB / 4.531 GB, free: 201.8 MB / 0.9167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 109 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (251): * Single equations (assignments): 246 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 3 * 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: 1 {(1,100.0%) 6} * Non-linear torn systems: 2 {1 2,12 49} Notification: Performance of prepare postOptimizeDAE: time 0.006815/15.27, allocations: 2.594 MB / 4.534 GB, free: 201.5 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.03578/15.3, allocations: 0.6182 MB / 4.534 GB, free: 201.2 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04166/15.34, allocations: 8.691 MB / 4.543 GB, free: 201 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.628e-05/15.34, allocations: 17.38 kB / 4.543 GB, free: 201 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.278e-05/15.34, allocations: 2.875 kB / 4.543 GB, free: 201 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.741e-05/15.34, allocations: 10.78 kB / 4.543 GB, free: 201 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3333/15.68, allocations: 136.4 MB / 4.676 GB, free: 130.7 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.1025/15.78, allocations: 10.86 MB / 4.687 GB, free: 120.1 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006511/15.79, allocations: 0.5452 MB / 4.687 GB, free: 119.5 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.2908/16.08, allocations: 25.81 MB / 4.712 GB, free: 93.75 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000737/16.08, allocations: 75.22 kB / 4.712 GB, free: 93.68 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02036/16.1, allocations: 9.097 MB / 4.721 GB, free: 84.2 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.318e-06/16.1, allocations: 6.75 kB / 4.721 GB, free: 84.2 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.136/16.23, allocations: 11.7 MB / 4.733 GB, free: 72.5 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.1969/16.43, allocations: 64.57 MB / 4.796 GB, free: 7.922 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.04108/16.47, allocations: 56 kB / 4.796 GB, free: 7.867 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.04037/16.51, allocations: 1.075 MB / 4.797 GB, free: 6.793 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007008/16.51, allocations: 117.8 kB / 4.797 GB, free: 6.676 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000466/16.51, allocations: 123.5 kB / 4.797 GB, free: 6.562 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 1.169/17.68, allocations: 237.8 MB / 5.029 GB, free: 92.89 MB / 0.9167 GB Notification: Performance of sort global known variables: time 7.11e-07/17.68, allocations: 0 / 5.029 GB, free: 92.89 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.1158/17.8, allocations: 32.81 MB / 5.061 GB, free: 60.46 MB / 0.9167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (99): * Single equations (assignments): 92 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 3 * 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: 1 {(1,100.0%) 6} * Non-linear torn systems: 2 {12 57,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.0728/17.87, allocations: 9.934 MB / 5.071 GB, free: 52.78 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.06238/17.93, allocations: 14.71 MB / 5.086 GB, free: 40.8 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.043e-05/17.93, allocations: 0 / 5.086 GB, free: 40.8 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.01573/17.95, allocations: 3.766 MB / 5.089 GB, free: 37.68 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03189/17.98, allocations: 0.8827 MB / 5.09 GB, free: 36.95 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08542/18.07, allocations: 37.3 MB / 5.126 GB, free: 0.7578 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01102/18.08, allocations: 4.052 MB / 5.13 GB, free: 14.13 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.7514/18.83, allocations: 34.39 MB / 5.164 GB, free: 213.3 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.1028/18.93, allocations: 12.19 MB / 5.176 GB, free: 213.3 MB / 0.9323 GB Notification: Performance of SimCode: time 1.623e-06/18.93, allocations: 1.219 kB / 5.176 GB, free: 213.3 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 6.941/25.87, allocations: 1.629 GB / 6.805 GB, free: 24.62 MB / 1.12 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002778/25.87, allocations: 264.5 kB / 6.805 GB, free: 24.27 MB / 1.12 GB Error: Error building simulator. Build log: clang -Os -fPIC -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/Buildings 7.0.1/Resources/C-Sources" -c -o Buildings_7_0_0_Buildings_HeatTransfer_Windows_Validation_WindowSteadyState.o Buildings_7_0_0_Buildings_HeatTransfer_Windows_Validation_WindowSteadyState.c In file included from Buildings_7_0_0_Buildings_HeatTransfer_Windows_Validation_WindowSteadyState.c:7: In file included from ./Buildings_7_0_0_Buildings_HeatTransfer_Windows_Validation_WindowSteadyState_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:149: ./gc/omc_gc.h:222:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:226:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -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/Buildings 7.0.1/Resources/C-Sources" -c -o Buildings_7_0_0_Buildings_HeatTransfer_Windows_Validation_WindowSteadyState_functions.o Buildings_7_0_0_Buildings_HeatTransfer_Windows_Validation_WindowSteadyState_functions.c In file included from Buildings_7_0_0_Buildings_HeatTransfer_Windows_Validation_WindowSteadyState_functions.c:2: In file included from ./Buildings_7_0_0_Buildings_HeatTransfer_Windows_Validation_WindowSteadyState_functions.h:3: In file included from ./meta/meta_modelica.h:49: ./gc/omc_gc.h:222:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:226:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ In file included from Buildings_7_0_0_Buildings_HeatTransfer_Windows_Validation_WindowSteadyState_functions.c:7: In file included from ./Buildings_7_0_0_Buildings_HeatTransfer_Windows_Validation_WindowSteadyState_includes.h:4: /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/Resources/C-Sources/getTimeSpan.c:6:10: fatal error: 'ModelicaUtilities.h' file not found #include ^~~~~~~~~~~~~~~~~~~~~ 2 warnings and 1 error generated. : recipe for target 'Buildings_7_0_0_Buildings_HeatTransfer_Windows_Validation_WindowSteadyState_functions.o' failed make: *** [Buildings_7_0_0_Buildings_HeatTransfer_Windows_Validation_WindowSteadyState_functions.o] Error 1