Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.HeatTransfer.Windows.Examples.Window.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.Examples.Window,fileNamePrefix="Buildings_7_0_0_Buildings_HeatTransfer_Windows_Examples_Window",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.551/2.551, allocations: 248.5 MB / 261.1 MB, free: 6.074 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.001471/0.001471, allocations: 178.5 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 1.985/1.985, allocations: 205.2 MB / 0.571 GB, free: 11.74 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.001072/0.001072, allocations: 101.5 kB / 0.6754 GB, free: 0.832 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.739e-05/4.756e-05, allocations: 4 kB / 0.7869 GB, free: 97.81 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3007/0.3008, allocations: 106.3 MB / 0.8907 GB, free: 7.449 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.628/7.929, allocations: 2.242 GB / 3.133 GB, free: 106.7 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004169/7.929, allocations: 95.12 kB / 3.133 GB, free: 106.6 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 1.655/9.584, allocations: 238.8 MB / 3.366 GB, free: 210.9 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.615e-06/9.584, allocations: 0 / 3.366 GB, free: 210.9 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.001272/9.585, allocations: 125.9 kB / 3.366 GB, free: 210.8 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 636 * Number of variables: 636 Notification: Performance of Generate backend data structure: time 0.05169/9.637, allocations: 5.552 MB / 3.372 GB, free: 205.2 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.298e-05/9.637, allocations: 11.88 kB / 3.372 GB, free: 205.2 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001582/9.639, allocations: 346.2 kB / 3.372 GB, free: 204.9 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.09667/9.736, allocations: 5.218 MB / 3.377 GB, free: 199.6 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 1.413/11.15, allocations: 293.5 MB / 3.664 GB, free: 192.4 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002965/11.15, allocations: 212.8 kB / 3.664 GB, free: 192.2 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001746/11.15, allocations: 288 kB / 3.664 GB, free: 191.9 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01247/11.16, allocations: 4.272 MB / 3.668 GB, free: 188.3 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.397e-05/11.16, allocations: 0 / 3.668 GB, free: 188.3 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006142/11.16, allocations: 101.2 kB / 3.668 GB, free: 188.2 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.242e-05/11.16, allocations: 60 kB / 3.668 GB, free: 188.1 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01064/11.17, allocations: 4.016 MB / 3.672 GB, free: 184.6 MB / 0.8698 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 1.543/12.72, allocations: 269.4 MB / 3.935 GB, free: 241.9 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009798/12.73, allocations: 3.463 MB / 3.939 GB, free: 241.8 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006302/12.73, allocations: 2.541 MB / 3.941 GB, free: 241.8 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004834/12.73, allocations: 91.64 kB / 3.941 GB, free: 241.8 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007362/12.74, allocations: 2.741 MB / 3.944 GB, free: 241.7 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=201): time 7.134e-06/12.74, allocations: 6.734 kB / 3.944 GB, free: 241.7 MB / 0.9011 GB Notification: Performance of matching and sorting (n=201): time 0.05523/12.8, allocations: 6.982 MB / 3.951 GB, free: 241.5 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003658/12.8, allocations: 426.3 kB / 3.951 GB, free: 241.1 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.089/14.89, allocations: 325.3 MB / 4.269 GB, free: 238.7 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 0.001464/14.89, allocations: 79.42 kB / 4.269 GB, free: 238.7 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.00698/14.89, allocations: 2.881 MB / 4.272 GB, free: 238.5 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.001574/14.9, allocations: 0.6646 MB / 4.272 GB, free: 238.1 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008984/14.9, allocations: 50.38 kB / 4.272 GB, free: 238.1 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0003557/14.9, allocations: 419.7 kB / 4.273 GB, free: 237.8 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009844/14.91, allocations: 3.674 MB / 4.276 GB, free: 237.8 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01051/14.92, allocations: 4.218 MB / 4.281 GB, free: 237.3 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009678/14.93, allocations: 3.674 MB / 4.284 GB, free: 237.2 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.443e-05/14.93, allocations: 1.203 kB / 4.284 GB, free: 237.2 MB / 0.9011 GB Notification: Performance of matching and sorting (n=340) (initialization): time 0.06494/14.99, allocations: 10.28 MB / 4.294 GB, free: 236.6 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 0.001083/14.99, allocations: 3.366 MB / 4.298 GB, free: 233.3 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.08301/15.08, allocations: 11.63 MB / 4.309 GB, free: 231.1 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.3475/15.42, allocations: 46.72 MB / 4.354 GB, free: 230.2 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01438/15.44, allocations: 1.21 MB / 4.356 GB, free: 230.1 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01433/15.45, allocations: 8.533 MB / 4.364 GB, free: 222.4 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.05012/15.5, allocations: 1.619 MB / 4.366 GB, free: 221.2 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001596/15.51, allocations: 193.4 kB / 4.366 GB, free: 221 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.516e-05/15.51, allocations: 4 kB / 4.366 GB, free: 221 MB / 0.9011 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02903/15.53, allocations: 9.313 MB / 4.375 GB, free: 213.1 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02593/15.56, allocations: 8.469 MB / 4.383 GB, free: 205.8 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008551/15.57, allocations: 1.494 MB / 4.385 GB, free: 204.6 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01781/15.59, allocations: 1.473 MB / 4.386 GB, free: 203.6 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02577/15.61, allocations: 12.96 MB / 4.399 GB, free: 191.5 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.04937/15.66, allocations: 1.571 MB / 4.4 GB, free: 190.3 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001494/15.66, allocations: 185.5 kB / 4.4 GB, free: 190.2 MB / 0.9011 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * 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 (257): * Single equations (assignments): 252 * 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 {12 49,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.001557/15.67, allocations: 406 kB / 4.401 GB, free: 189.8 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.03589/15.7, allocations: 0.6037 MB / 4.401 GB, free: 189.2 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02256/15.72, allocations: 7.902 MB / 4.409 GB, free: 181.5 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.074e-05/15.72, allocations: 22.44 kB / 4.409 GB, free: 181.4 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.043e-05/15.72, allocations: 0 / 4.409 GB, free: 181.4 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.638e-05/15.72, allocations: 11.95 kB / 4.409 GB, free: 181.4 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.34/16.06, allocations: 135.6 MB / 4.542 GB, free: 45.54 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.08774/16.15, allocations: 10.11 MB / 4.551 GB, free: 35.47 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007535/16.16, allocations: 0.6317 MB / 4.552 GB, free: 34.85 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.2923/16.45, allocations: 25.39 MB / 4.577 GB, free: 9.484 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009772/16.45, allocations: 83.92 kB / 4.577 GB, free: 9.402 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01331/16.47, allocations: 8.487 MB / 4.585 GB, free: 0.5234 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.506e-06/16.47, allocations: 0 / 4.585 GB, free: 0.5234 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.8176/17.28, allocations: 10.89 MB / 4.596 GB, free: 240.3 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.2438/17.53, allocations: 64.62 MB / 4.659 GB, free: 238.4 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.04639/17.57, allocations: 60.31 kB / 4.659 GB, free: 238.3 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.06629/17.64, allocations: 1.091 MB / 4.66 GB, free: 238.3 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001214/17.64, allocations: 138.5 kB / 4.66 GB, free: 238.3 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009114/17.64, allocations: 140.7 kB / 4.66 GB, free: 238.3 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.4622/18.11, allocations: 236.4 MB / 4.891 GB, free: 19.28 MB / 0.9011 GB Notification: Performance of sort global known variables: time 1.152e-06/18.11, allocations: 0 / 4.891 GB, free: 19.28 MB / 0.9011 GB Notification: Performance of remove unused functions: time 1.015/19.12, allocations: 36.83 MB / 4.927 GB, free: 240.2 MB / 0.9011 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim.tNext,weaDat.conTimMin.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (134): * Single equations (assignments): 127 * 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.07777/19.2, allocations: 9.406 MB / 4.936 GB, free: 239.3 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.04324/19.24, allocations: 14.54 MB / 4.951 GB, free: 238.4 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 9.878e-06/19.24, allocations: 6.062 kB / 4.951 GB, free: 238.4 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.01024/19.25, allocations: 3.681 MB / 4.954 GB, free: 238.1 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03426/19.29, allocations: 0.8804 MB / 4.955 GB, free: 238 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07596/19.36, allocations: 14.01 MB / 4.969 GB, free: 236 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008249/19.37, allocations: 3.996 MB / 4.973 GB, free: 235.2 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.1842/19.56, allocations: 87.17 MB / 5.058 GB, free: 180.3 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006871/19.56, allocations: 2.567 MB / 5.06 GB, free: 179.4 MB / 0.9011 GB Notification: Performance of SimCode: time 1.353e-06/19.56, allocations: 0 / 5.06 GB, free: 179.4 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 7.09/26.65, allocations: 1.647 GB / 6.708 GB, free: 10.54 MB / 1.135 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003816/26.65, allocations: 223.7 kB / 6.708 GB, free: 10.31 MB / 1.135 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_Examples_Window.o Buildings_7_0_0_Buildings_HeatTransfer_Windows_Examples_Window.c In file included from Buildings_7_0_0_Buildings_HeatTransfer_Windows_Examples_Window.c:7: In file included from ./Buildings_7_0_0_Buildings_HeatTransfer_Windows_Examples_Window_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_Examples_Window_functions.o Buildings_7_0_0_Buildings_HeatTransfer_Windows_Examples_Window_functions.c In file included from Buildings_7_0_0_Buildings_HeatTransfer_Windows_Examples_Window_functions.c:2: In file included from ./Buildings_7_0_0_Buildings_HeatTransfer_Windows_Examples_Window_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_Examples_Window_functions.c:7: In file included from ./Buildings_7_0_0_Buildings_HeatTransfer_Windows_Examples_Window_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_Examples_Window_functions.o' failed make: *** [Buildings_7_0_0_Buildings_HeatTransfer_Windows_Examples_Window_functions.o] Error 1