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.313/2.313, allocations: 248.5 MB / 261.1 MB, free: 6.047 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001401/0.001401, allocations: 180.1 kB / 320.4 MB, free: 15.33 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.164/2.164, allocations: 205.2 MB / 0.571 GB, free: 11.8 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.001113/0.001112, allocations: 99.36 kB / 0.6754 GB, free: 0.8867 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.703e-05/3.708e-05, allocations: 4 kB / 0.7869 GB, free: 97.8 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2157/0.2158, allocations: 106.2 MB / 0.8907 GB, free: 7.461 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.451/7.667, allocations: 2.243 GB / 3.134 GB, free: 190.3 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003195/7.668, allocations: 95.94 kB / 3.134 GB, free: 190.3 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 1.84/9.508, allocations: 262.7 MB / 3.39 GB, free: 204.3 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.926e-06/9.508, allocations: 0 / 3.39 GB, free: 204.3 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.001292/9.509, allocations: 127.4 kB / 3.39 GB, free: 204.2 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.05148/9.56, allocations: 5.526 MB / 3.396 GB, free: 201.7 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.344e-05/9.56, allocations: 14.94 kB / 3.396 GB, free: 201.7 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001622/9.562, allocations: 341.6 kB / 3.396 GB, free: 201.7 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.09471/9.657, allocations: 5.169 MB / 3.401 GB, free: 201.3 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 1.405/11.06, allocations: 294.4 MB / 3.689 GB, free: 195.6 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003176/11.06, allocations: 209.6 kB / 3.689 GB, free: 195.6 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00172/11.06, allocations: 282.4 kB / 3.689 GB, free: 195.6 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01238/11.08, allocations: 4.242 MB / 3.693 GB, free: 195.2 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.236e-05/11.08, allocations: 3.469 kB / 3.693 GB, free: 195.2 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006866/11.08, allocations: 102.3 kB / 3.693 GB, free: 195.2 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.622e-05/11.08, allocations: 61.34 kB / 3.693 GB, free: 195.2 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01115/11.09, allocations: 3.967 MB / 3.697 GB, free: 195.2 MB / 0.8855 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.8451/11.93, allocations: 272.8 MB / 3.964 GB, free: 17.31 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007359/11.94, allocations: 2.892 MB / 3.966 GB, free: 14.43 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004622/11.95, allocations: 2.176 MB / 3.969 GB, free: 12.26 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003776/11.95, allocations: 85.38 kB / 3.969 GB, free: 12.18 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005194/11.95, allocations: 2.355 MB / 3.971 GB, free: 9.805 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=175): time 5.691e-06/11.95, allocations: 0 / 3.971 GB, free: 9.805 MB / 0.8855 GB Notification: Performance of matching and sorting (n=175): time 0.05044/12, allocations: 6.219 MB / 3.977 GB, free: 3.574 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000299/12, allocations: 0.5154 MB / 3.978 GB, free: 2.965 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.818/13.82, allocations: 322.7 MB / 4.293 GB, free: 49.87 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 0.001697/13.82, allocations: 78.23 kB / 4.293 GB, free: 49.79 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.008217/13.83, allocations: 2.944 MB / 4.296 GB, free: 47.33 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.001736/13.83, allocations: 0.5866 MB / 4.296 GB, free: 46.88 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001106/13.83, allocations: 48 kB / 4.296 GB, free: 46.83 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0004457/13.83, allocations: 423.4 kB / 4.297 GB, free: 46.45 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01179/13.85, allocations: 3.256 MB / 4.3 GB, free: 43.58 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01355/13.86, allocations: 4.279 MB / 4.304 GB, free: 39.37 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0121/13.87, allocations: 3.288 MB / 4.307 GB, free: 36.6 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.671e-05/13.87, allocations: 8 kB / 4.307 GB, free: 36.59 MB / 0.9167 GB Notification: Performance of matching and sorting (n=334) (initialization): time 0.09195/13.96, allocations: 9.711 MB / 4.317 GB, free: 28.34 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 0.003772/13.97, allocations: 12.62 MB / 4.329 GB, free: 15.09 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.1165/14.08, allocations: 10.32 MB / 4.339 GB, free: 7.27 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.089/15.17, allocations: 49.73 MB / 4.388 GB, free: 229.2 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01455/15.19, allocations: 1.22 MB / 4.389 GB, free: 229.2 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01603/15.2, allocations: 8.604 MB / 4.397 GB, free: 224.8 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.05331/15.26, allocations: 1.697 MB / 4.399 GB, free: 224.8 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001635/15.26, allocations: 197.8 kB / 4.399 GB, free: 224.8 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.643e-05/15.26, allocations: 3.438 kB / 4.399 GB, free: 224.8 MB / 0.9167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02666/15.29, allocations: 8.637 MB / 4.408 GB, free: 224.7 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0193/15.3, allocations: 6.547 MB / 4.414 GB, free: 224.5 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008381/15.31, allocations: 1.541 MB / 4.415 GB, free: 224.5 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01753/15.33, allocations: 1.473 MB / 4.417 GB, free: 224.5 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02657/15.36, allocations: 13.03 MB / 4.43 GB, free: 219.1 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.05326/15.41, allocations: 1.627 MB / 4.431 GB, free: 219 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001573/15.41, allocations: 198.9 kB / 4.431 GB, free: 219 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 () * 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.001856/15.41, allocations: 401.7 kB / 4.432 GB, free: 218.9 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.03532/15.45, allocations: 0.6101 MB / 4.432 GB, free: 218.5 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02182/15.47, allocations: 6.936 MB / 4.439 GB, free: 218.3 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.32e-05/15.47, allocations: 15.53 kB / 4.439 GB, free: 218.3 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.305e-05/15.47, allocations: 3.969 kB / 4.439 GB, free: 218.3 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.096e-05/15.47, allocations: 7.828 kB / 4.439 GB, free: 218.3 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3663/15.84, allocations: 134.6 MB / 4.571 GB, free: 149.1 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.09844/15.94, allocations: 9.436 MB / 4.58 GB, free: 139.8 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006618/15.94, allocations: 0.5485 MB / 4.58 GB, free: 139.3 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.2958/16.24, allocations: 25.41 MB / 4.605 GB, free: 114 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001043/16.24, allocations: 79.92 kB / 4.605 GB, free: 114 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02171/16.26, allocations: 8.479 MB / 4.614 GB, free: 105.1 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.181e-06/16.26, allocations: 0 / 4.614 GB, free: 105.1 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1546/16.42, allocations: 10.28 MB / 4.624 GB, free: 94.82 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.2286/16.65, allocations: 64.57 MB / 4.687 GB, free: 30.24 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.04521/16.69, allocations: 56 kB / 4.687 GB, free: 30.19 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.04602/16.74, allocations: 1.076 MB / 4.688 GB, free: 29.11 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007211/16.74, allocations: 113.8 kB / 4.688 GB, free: 29 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000514/16.74, allocations: 121.8 kB / 4.688 GB, free: 28.89 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 1.164/17.9, allocations: 236.6 MB / 4.919 GB, free: 117.6 MB / 0.9167 GB Notification: Performance of sort global known variables: time 1.192e-06/17.9, allocations: 0 / 4.919 GB, free: 117.6 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.1091/18.01, allocations: 32.81 MB / 4.951 GB, free: 85.2 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) * 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.05615/18.07, allocations: 8.587 MB / 4.959 GB, free: 78.29 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.03134/18.1, allocations: 12.31 MB / 4.971 GB, free: 67.46 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.206e-05/18.1, allocations: 0 / 4.971 GB, free: 67.46 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.008681/18.11, allocations: 3.169 MB / 4.975 GB, free: 64.65 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03326/18.14, allocations: 0.8849 MB / 4.975 GB, free: 63.91 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0719/18.21, allocations: 13.39 MB / 4.989 GB, free: 52.21 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006505/18.22, allocations: 3.957 MB / 4.992 GB, free: 49.28 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.9304/19.15, allocations: 91.53 MB / 5.082 GB, free: 224.6 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006923/19.16, allocations: 2.506 MB / 5.084 GB, free: 224.6 MB / 0.9323 GB Notification: Performance of SimCode: time 1.703e-06/19.16, allocations: 1.219 kB / 5.084 GB, free: 224.6 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 7.242/26.4, allocations: 1.642 GB / 6.726 GB, free: 12.79 MB / 1.104 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002535/26.4, allocations: 241.5 kB / 6.726 GB, free: 12.48 MB / 1.104 GB Error: Error building simulator. Build log: clang -Os -fPIC -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 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: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 -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 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: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_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