Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.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.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation,fileNamePrefix="Buildings_8_Buildings_HeatTransfer_Windows_BaseClasses_Examples_WindowRadiation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation,fileNamePrefix="Buildings_8_Buildings_HeatTransfer_Windows_BaseClasses_Examples_WindowRadiation",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.714/1.714, allocations: 292.6 MB / 307.5 MB, free: 5.16 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.001056/0.001056, allocations: 185 kB / 377.1 MB, free: 1.516 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.536/1.536, allocations: 205.4 MB / 0.6366 GB, free: 8.523 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.0008801/0.0008798, allocations: 90.08 kB / 0.7509 GB, free: 63.26 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003442/0.0003443, allocations: 8 kB / 0.8749 GB, free: 11.09 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2737/0.274, allocations: 116.3 MB / 0.9884 GB, free: 6.629 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.269/5.543, allocations: 2.105 GB / 3.093 GB, free: 128.5 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002985/5.543, allocations: 107.9 kB / 3.093 GB, free: 128.4 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 0.9761/6.519, allocations: 195.6 MB / 3.284 GB, free: 201.7 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.054e-06/6.519, allocations: 0 / 3.284 GB, free: 201.7 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0008441/6.52, allocations: 84.89 kB / 3.284 GB, free: 201.7 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: 342 * Number of variables: 342 Notification: Performance of Generate backend data structure: time 0.1789/6.699, allocations: 69.59 MB / 3.352 GB, free: 194.1 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.002e-05/6.699, allocations: 15.52 kB / 3.352 GB, free: 194.1 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000883/6.7, allocations: 201.8 kB / 3.352 GB, free: 194 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02284/6.723, allocations: 0.6029 MB / 3.353 GB, free: 193.7 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.8161/7.539, allocations: 293.5 MB / 3.64 GB, free: 195.3 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001514/7.54, allocations: 128.2 kB / 3.64 GB, free: 195.3 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003829/7.54, allocations: 172.3 kB / 3.64 GB, free: 195.3 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00307/7.543, allocations: 1.774 MB / 3.642 GB, free: 195.1 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.931e-05/7.543, allocations: 3.469 kB / 3.642 GB, free: 195.1 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001376/7.543, allocations: 60.22 kB / 3.642 GB, free: 195.1 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.149e-05/7.543, allocations: 32.5 kB / 3.642 GB, free: 195.1 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002807/7.546, allocations: 1.846 MB / 3.643 GB, free: 195.1 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.455/8.001, allocations: 258.8 MB / 3.896 GB, free: 24.78 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002495/8.004, allocations: 1.464 MB / 3.898 GB, free: 23.33 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 9.718e-05/8.004, allocations: 39.45 kB / 3.898 GB, free: 23.3 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001243/8.005, allocations: 0.9386 MB / 3.899 GB, free: 22.36 MB / 0.948 GB Notification: Performance of pre-optimization done (n=105): time 3.517e-06/8.005, allocations: 0 / 3.899 GB, free: 22.36 MB / 0.948 GB Notification: Performance of matching and sorting (n=105): time 0.02713/8.032, allocations: 3.13 MB / 3.902 GB, free: 19.18 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001979/8.032, allocations: 396.5 kB / 3.902 GB, free: 18.74 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.255/9.287, allocations: 322.2 MB / 4.217 GB, free: 56.63 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 0.0005944/9.288, allocations: 61.7 kB / 4.217 GB, free: 56.56 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.004351/9.292, allocations: 2.164 MB / 4.219 GB, free: 54.77 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008198/9.293, allocations: 354.5 kB / 4.219 GB, free: 54.65 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001535/9.293, allocations: 36.66 kB / 4.219 GB, free: 54.62 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0001679/9.293, allocations: 386.2 kB / 4.22 GB, free: 54.26 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002035/9.295, allocations: 1.3 MB / 4.221 GB, free: 53.11 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001819/9.297, allocations: 1.639 MB / 4.222 GB, free: 51.55 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001836/9.299, allocations: 1.622 MB / 4.224 GB, free: 50.08 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.897e-06/9.299, allocations: 6.953 kB / 4.224 GB, free: 50.08 MB / 0.9636 GB Notification: Performance of matching and sorting (n=230) (initialization): time 0.02654/9.326, allocations: 3.837 MB / 4.228 GB, free: 46.6 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001521/9.326, allocations: 171.1 kB / 4.228 GB, free: 46.46 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.618e-05/9.326, allocations: 7.734 kB / 4.228 GB, free: 46.45 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008514/9.327, allocations: 94.44 kB / 4.228 GB, free: 46.39 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002451/9.329, allocations: 378.3 kB / 4.228 GB, free: 46.1 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00252/9.332, allocations: 1.543 MB / 4.23 GB, free: 44.52 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03224/9.364, allocations: 0.5565 MB / 4.23 GB, free: 44.02 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006936/9.365, allocations: 110 kB / 4.231 GB, free: 43.93 MB / 0.9636 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * 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 (213): * Single equations (assignments): 211 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 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.0043/9.369, allocations: 2.144 MB / 4.233 GB, free: 42.01 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0224/9.391, allocations: 462.7 kB / 4.233 GB, free: 41.55 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006996/9.398, allocations: 2.897 MB / 4.236 GB, free: 39.07 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.151e-05/9.399, allocations: 8 kB / 4.236 GB, free: 39.07 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/9.399, allocations: 4 kB / 4.236 GB, free: 39.06 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.553e-05/9.399, allocations: 9.375 kB / 4.236 GB, free: 39.06 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.8095/10.21, allocations: 127 MB / 4.36 GB, free: 216.3 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.583e-06/10.21, allocations: 1.156 kB / 4.36 GB, free: 216.3 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007787/10.21, allocations: 183.9 kB / 4.36 GB, free: 216.3 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005393/10.21, allocations: 85.61 kB / 4.36 GB, free: 216.2 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001144/10.21, allocations: 38.8 kB / 4.36 GB, free: 216.2 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001783/10.21, allocations: 1.561 MB / 4.362 GB, free: 215 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.344e-06/10.21, allocations: 5.484 kB / 4.362 GB, free: 215 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02732/10.24, allocations: 2.627 MB / 4.364 GB, free: 214.8 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.1053/10.34, allocations: 64 MB / 4.427 GB, free: 199.2 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.02448/10.37, allocations: 44.5 kB / 4.427 GB, free: 199.2 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02057/10.39, allocations: 429.3 kB / 4.427 GB, free: 198.8 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005108/10.39, allocations: 83.95 kB / 4.427 GB, free: 198.7 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000403/10.39, allocations: 86.91 kB / 4.427 GB, free: 198.7 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 1.006/11.4, allocations: 242.6 MB / 4.664 GB, free: 207.7 MB / 0.9636 GB Notification: Performance of sort global known variables: time 8.72e-07/11.4, allocations: 0.5625 kB / 4.664 GB, free: 207.7 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.04749/11.44, allocations: 16.34 MB / 4.68 GB, free: 207.7 MB / 0.9636 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) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (104): * Single equations (assignments): 100 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.0362/11.48, allocations: 4.846 MB / 4.685 GB, free: 206.9 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.007174/11.49, allocations: 3.896 MB / 4.689 GB, free: 206.7 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 8.666e-06/11.49, allocations: 0 / 4.689 GB, free: 206.7 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.002598/11.49, allocations: 1.702 MB / 4.691 GB, free: 206.5 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02422/11.51, allocations: 0.5344 MB / 4.691 GB, free: 206.5 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05913/11.57, allocations: 17.67 MB / 4.708 GB, free: 197.6 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007893/11.58, allocations: 3.047 MB / 4.711 GB, free: 196.9 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.05688/11.64, allocations: 32.74 MB / 4.743 GB, free: 196.7 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.06737/11.71, allocations: 11.47 MB / 4.754 GB, free: 196.7 MB / 0.9636 GB Notification: Performance of SimCode: time 3.045e-06/11.71, allocations: 0 / 4.754 GB, free: 196.7 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 4.79/16.5, allocations: 1.541 GB / 6.295 GB, free: 125.1 MB / 1.182 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001829/16.5, allocations: 270.9 kB / 6.295 GB, free: 124.7 MB / 1.182 GB Error: Error building simulator. Build log: clang -Os -fPIC -falign-functions -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.1.4-maint.8.1.x/Resources/C-Sources" -c -o Buildings_8_Buildings_HeatTransfer_Windows_BaseClasses_Examples_WindowRadiation.o Buildings_8_Buildings_HeatTransfer_Windows_BaseClasses_Examples_WindowRadiation.c In file included from Buildings_8_Buildings_HeatTransfer_Windows_BaseClasses_Examples_WindowRadiation.c:7: In file included from ./Buildings_8_Buildings_HeatTransfer_Windows_BaseClasses_Examples_WindowRadiation_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 -falign-functions -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.1.4-maint.8.1.x/Resources/C-Sources" -c -o Buildings_8_Buildings_HeatTransfer_Windows_BaseClasses_Examples_WindowRadiation_functions.o Buildings_8_Buildings_HeatTransfer_Windows_BaseClasses_Examples_WindowRadiation_functions.c In file included from Buildings_8_Buildings_HeatTransfer_Windows_BaseClasses_Examples_WindowRadiation_functions.c:2: In file included from ./Buildings_8_Buildings_HeatTransfer_Windows_BaseClasses_Examples_WindowRadiation_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_Buildings_HeatTransfer_Windows_BaseClasses_Examples_WindowRadiation_functions.c:7: In file included from ./Buildings_8_Buildings_HeatTransfer_Windows_BaseClasses_Examples_WindowRadiation_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_HeatTransfer_Windows_BaseClasses_Examples_WindowRadiation_functions.o] Error 1