Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.HeatTransfer.Windows.Validation.WindowSteadyState.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.HeatTransfer.Windows.Validation.WindowSteadyState,fileNamePrefix="Buildings_8_0_0_Buildings_HeatTransfer_Windows_Validation_WindowSteadyState",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.Validation.WindowSteadyState,fileNamePrefix="Buildings_8_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 8.0.0/package.mo): time 2.672/2.672, allocations: 287.3 MB / 302.3 MB, free: 8.316 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.001454/0.001454, allocations: 188.5 kB / 370.8 MB, free: 10.87 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.063/2.063, allocations: 205.4 MB / 0.6295 GB, free: 10.62 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001687/0.001687, allocations: 97.67 kB / 0.7428 GB, free: 6.625 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004923/0.0004923, allocations: 11.31 kB / 0.8657 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2199/0.2204, allocations: 115.3 MB / 0.9783 GB, free: 28.32 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.526/6.747, allocations: 2.125 GB / 3.103 GB, free: 142.9 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003631/6.747, allocations: 106.6 kB / 3.103 GB, free: 142.8 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 1.74/8.487, allocations: 263.4 MB / 3.36 GB, free: 247.1 MB / 0.948 GB Notification: Performance of FrontEnd: time 3.457e-06/8.487, allocations: 0 / 3.36 GB, free: 247.1 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.001127/8.489, allocations: 125.5 kB / 3.361 GB, free: 247.1 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: 614 * Number of variables: 614 Notification: Performance of Generate backend data structure: time 0.312/8.801, allocations: 71.53 MB / 3.43 GB, free: 187.2 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.58e-05/8.801, allocations: 12.02 kB / 3.43 GB, free: 187.2 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001427/8.802, allocations: 345.6 kB / 3.431 GB, free: 186.9 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1059/8.908, allocations: 5.168 MB / 3.436 GB, free: 181.7 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 1.371/10.28, allocations: 294.7 MB / 3.724 GB, free: 211.2 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003561/10.28, allocations: 218.2 kB / 3.724 GB, free: 211 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002091/10.28, allocations: 279.3 kB / 3.724 GB, free: 210.7 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0203/10.3, allocations: 4.901 MB / 3.729 GB, free: 206.8 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.901e-05/10.3, allocations: 7 kB / 3.729 GB, free: 206.8 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007288/10.3, allocations: 104 kB / 3.729 GB, free: 206.7 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.379e-05/10.3, allocations: 60 kB / 3.729 GB, free: 206.6 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01902/10.32, allocations: 4.678 MB / 3.734 GB, free: 202.9 MB / 0.948 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 1.531/11.85, allocations: 272.8 MB / 4 GB, free: 270.1 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01587/11.87, allocations: 3.502 MB / 4.003 GB, free: 270 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004083/11.87, allocations: 80.22 kB / 4.003 GB, free: 270 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01434/11.88, allocations: 2.951 MB / 4.006 GB, free: 269.9 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=175): time 8.366e-06/11.88, allocations: 0 / 4.006 GB, free: 269.9 MB / 0.9792 GB Notification: Performance of matching and sorting (n=175): time 0.1261/12.01, allocations: 14.68 MB / 4.021 GB, free: 269.4 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003072/12.01, allocations: 0.5193 MB / 4.021 GB, free: 268.9 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.055/13.07, allocations: 323.9 MB / 4.338 GB, free: 22.52 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 0.001291/13.07, allocations: 79.64 kB / 4.338 GB, free: 22.44 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.005759/13.07, allocations: 2.932 MB / 4.341 GB, free: 19.86 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.001271/13.07, allocations: 0.5808 MB / 4.341 GB, free: 19.35 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008185/13.07, allocations: 56 kB / 4.341 GB, free: 19.29 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0002646/13.07, allocations: 419.5 kB / 4.342 GB, free: 18.91 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0234/13.1, allocations: 4.46 MB / 4.346 GB, free: 15.4 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02412/13.12, allocations: 5.471 MB / 4.351 GB, free: 10.11 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02288/13.15, allocations: 4.475 MB / 4.356 GB, free: 5.734 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.775e-05/13.15, allocations: 11.95 kB / 4.356 GB, free: 5.723 MB / 0.9792 GB Notification: Performance of matching and sorting (n=334) (initialization): time 0.8081/13.95, allocations: 12.67 MB / 4.368 GB, free: 272.5 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 0.003005/13.96, allocations: 12.63 MB / 4.38 GB, free: 259.6 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.1137/14.07, allocations: 12.55 MB / 4.393 GB, free: 259.4 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.356/14.43, allocations: 47.16 MB / 4.439 GB, free: 259.2 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01394/14.44, allocations: 1.214 MB / 4.44 GB, free: 259.1 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02184/14.46, allocations: 9.228 MB / 4.449 GB, free: 254.6 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.04986/14.51, allocations: 1.696 MB / 4.45 GB, free: 254.5 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001375/14.51, allocations: 195.7 kB / 4.451 GB, free: 254.5 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.422e-05/14.51, allocations: 4.438 kB / 4.451 GB, free: 254.5 MB / 0.9792 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.05634/14.57, allocations: 11.04 MB / 4.461 GB, free: 254.3 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.04463/14.61, allocations: 8.554 MB / 4.47 GB, free: 253.4 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008843/14.62, allocations: 1.543 MB / 4.471 GB, free: 253.1 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01756/14.64, allocations: 1.476 MB / 4.473 GB, free: 253 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02738/14.67, allocations: 13.42 MB / 4.486 GB, free: 244.1 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.04974/14.72, allocations: 1.634 MB / 4.487 GB, free: 243.9 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001451/14.72, allocations: 197.6 kB / 4.488 GB, free: 243.9 MB / 0.9792 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.007509/14.73, allocations: 2.601 MB / 4.49 GB, free: 243 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.03814/14.77, allocations: 0.6134 MB / 4.491 GB, free: 242.6 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04284/14.81, allocations: 8.693 MB / 4.499 GB, free: 239.2 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.775e-05/14.81, allocations: 20 kB / 4.499 GB, free: 239.1 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.153e-05/14.81, allocations: 0 / 4.499 GB, free: 239.1 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.054e-05/14.81, allocations: 11.81 kB / 4.499 GB, free: 239.1 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3316/15.14, allocations: 136.4 MB / 4.633 GB, free: 102.4 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.1032/15.24, allocations: 10.86 MB / 4.643 GB, free: 91.64 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006556/15.25, allocations: 0.5456 MB / 4.644 GB, free: 91.1 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.2935/15.54, allocations: 25.82 MB / 4.669 GB, free: 65.3 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006968/15.54, allocations: 75.92 kB / 4.669 GB, free: 65.23 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02086/15.57, allocations: 9.082 MB / 4.678 GB, free: 55.76 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.118e-06/15.57, allocations: 4.031 kB / 4.678 GB, free: 55.75 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1403/15.71, allocations: 11.69 MB / 4.689 GB, free: 44.02 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.9156/16.62, allocations: 64.57 MB / 4.752 GB, free: 266.3 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.04535/16.67, allocations: 54.7 kB / 4.752 GB, free: 266.3 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.04439/16.71, allocations: 1.079 MB / 4.753 GB, free: 266.3 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007743/16.71, allocations: 116.5 kB / 4.753 GB, free: 266.3 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005429/16.71, allocations: 115 kB / 4.754 GB, free: 266.3 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.4496/17.16, allocations: 237.8 MB / 4.986 GB, free: 105 MB / 0.9792 GB Notification: Performance of sort global known variables: time 1.242e-06/17.16, allocations: 7.094 kB / 4.986 GB, free: 105 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.1113/17.27, allocations: 32.81 MB / 5.018 GB, free: 72.49 MB / 0.9792 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.0735/17.35, allocations: 9.941 MB / 5.028 GB, free: 64.85 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.06188/17.41, allocations: 14.71 MB / 5.042 GB, free: 52.87 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 1.286e-05/17.41, allocations: 0 / 5.042 GB, free: 52.87 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.01578/17.43, allocations: 3.774 MB / 5.046 GB, free: 49.74 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03428/17.46, allocations: 0.8752 MB / 5.047 GB, free: 49 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09168/17.55, allocations: 37.31 MB / 5.083 GB, free: 12.74 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006929/17.56, allocations: 3.945 MB / 5.087 GB, free: 9.82 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.8521/18.41, allocations: 36.08 MB / 5.122 GB, free: 258.3 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.1092/18.52, allocations: 12.19 MB / 5.134 GB, free: 258.3 MB / 0.9792 GB Notification: Performance of SimCode: time 2.144e-06/18.52, allocations: 2.344 kB / 5.134 GB, free: 258.3 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 8.36/26.88, allocations: 1.629 GB / 6.763 GB, free: 130.2 MB / 1.198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002836/26.88, allocations: 264.4 kB / 6.763 GB, free: 129.8 MB / 1.198 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 8.0.0/Resources/C-Sources" -c -o Buildings_8_0_0_Buildings_HeatTransfer_Windows_Validation_WindowSteadyState.o Buildings_8_0_0_Buildings_HeatTransfer_Windows_Validation_WindowSteadyState.c In file included from Buildings_8_0_0_Buildings_HeatTransfer_Windows_Validation_WindowSteadyState.c:7: In file included from ./Buildings_8_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 8.0.0/Resources/C-Sources" -c -o Buildings_8_0_0_Buildings_HeatTransfer_Windows_Validation_WindowSteadyState_functions.o Buildings_8_0_0_Buildings_HeatTransfer_Windows_Validation_WindowSteadyState_functions.c In file included from Buildings_8_0_0_Buildings_HeatTransfer_Windows_Validation_WindowSteadyState_functions.c:2: In file included from ./Buildings_8_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_8_0_0_Buildings_HeatTransfer_Windows_Validation_WindowSteadyState_functions.c:7: In file included from ./Buildings_8_0_0_Buildings_HeatTransfer_Windows_Validation_WindowSteadyState_includes.h:4: /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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_8_0_0_Buildings_HeatTransfer_Windows_Validation_WindowSteadyState_functions.o' failed make: *** [Buildings_8_0_0_Buildings_HeatTransfer_Windows_Validation_WindowSteadyState_functions.o] Error 1