Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.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.BaseClasses.Examples.WindowRadiation,fileNamePrefix="Buildings_7_0_0_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 7.0.1/package.mo): time 2.235/2.235, allocations: 251 MB / 265.9 MB, free: 11.7 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.001489/0.001489, allocations: 178.7 kB / 325.5 MB, free: 2.918 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.238/2.238, allocations: 205.4 MB / 0.5764 GB, free: 20.87 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.001197/0.001197, allocations: 97.16 kB / 0.6809 GB, free: 13.69 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0005334/0.0005334, allocations: 11.94 kB / 0.795 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2129/0.2135, allocations: 106.3 MB / 0.8988 GB, free: 65.52 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.045/7.259, allocations: 2.221 GB / 3.12 GB, free: 234.4 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003393/7.259, allocations: 103.1 kB / 3.12 GB, free: 234.4 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.7626/8.022, allocations: 195.2 MB / 3.31 GB, free: 117.2 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.946e-06/8.022, allocations: 0 / 3.31 GB, free: 117.2 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0008972/8.023, allocations: 83.94 kB / 3.31 GB, free: 117.1 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: 342 * Number of variables: 342 Notification: Performance of Generate backend data structure: time 0.2921/8.315, allocations: 69.58 MB / 3.378 GB, free: 47.45 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.971e-05/8.315, allocations: 8.031 kB / 3.378 GB, free: 47.44 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009026/8.316, allocations: 202.6 kB / 3.379 GB, free: 47.23 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0442/8.36, allocations: 0.6066 MB / 3.379 GB, free: 46.62 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 1.268/9.628, allocations: 292.8 MB / 3.665 GB, free: 72.04 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001208/9.628, allocations: 122.6 kB / 3.665 GB, free: 71.91 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000503/9.629, allocations: 172 kB / 3.665 GB, free: 71.75 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004348/9.633, allocations: 1.776 MB / 3.667 GB, free: 70.21 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.099e-05/9.633, allocations: 2.625 kB / 3.667 GB, free: 70.21 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002281/9.634, allocations: 56 kB / 3.667 GB, free: 70.16 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.973e-05/9.634, allocations: 32 kB / 3.667 GB, free: 70.13 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004452/9.638, allocations: 1.848 MB / 3.669 GB, free: 68.65 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 1.423/11.06, allocations: 258.8 MB / 3.922 GB, free: 144 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003819/11.06, allocations: 1.467 MB / 3.923 GB, free: 142.7 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001515/11.07, allocations: 40.69 kB / 3.923 GB, free: 142.7 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001911/11.07, allocations: 0.9343 MB / 3.924 GB, free: 142 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=105): time 3.987e-06/11.07, allocations: 3.016 kB / 3.924 GB, free: 142 MB / 0.8855 GB Notification: Performance of matching and sorting (n=105): time 0.04319/11.11, allocations: 3.133 MB / 3.927 GB, free: 139.4 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002814/11.11, allocations: 397.1 kB / 3.928 GB, free: 138.9 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.71/12.82, allocations: 325.2 MB / 4.245 GB, free: 146 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0007058/12.82, allocations: 65.7 kB / 4.245 GB, free: 145.9 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.00427/12.83, allocations: 2.165 MB / 4.247 GB, free: 144.1 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007214/12.83, allocations: 350 kB / 4.248 GB, free: 143.9 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003647/12.83, allocations: 36 kB / 4.248 GB, free: 143.9 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0002172/12.83, allocations: 391.8 kB / 4.248 GB, free: 143.5 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003295/12.83, allocations: 1.3 MB / 4.249 GB, free: 142.4 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003818/12.83, allocations: 1.629 MB / 4.251 GB, free: 140.8 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003976/12.84, allocations: 1.625 MB / 4.253 GB, free: 139.4 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.326e-05/12.84, allocations: 0 / 4.253 GB, free: 139.4 MB / 0.8855 GB Notification: Performance of matching and sorting (n=230) (initialization): time 0.04625/12.88, allocations: 3.848 MB / 4.256 GB, free: 135.9 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002462/12.88, allocations: 167.1 kB / 4.256 GB, free: 135.7 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.998e-05/12.88, allocations: 4 kB / 4.256 GB, free: 135.7 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001/12.89, allocations: 94.27 kB / 4.257 GB, free: 135.7 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003021/12.89, allocations: 374.5 kB / 4.257 GB, free: 135.4 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002665/12.89, allocations: 1.549 MB / 4.258 GB, free: 133.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0324/12.92, allocations: 0.5538 MB / 4.259 GB, free: 133.3 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008181/12.92, allocations: 116.5 kB / 4.259 GB, free: 133.2 MB / 0.8855 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.004974/12.93, allocations: 2.138 MB / 4.261 GB, free: 131.3 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.03478/12.96, allocations: 462.1 kB / 4.262 GB, free: 130.8 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00892/12.97, allocations: 2.905 MB / 4.264 GB, free: 128.3 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.521e-05/12.97, allocations: 12 kB / 4.264 GB, free: 128.3 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.071e-06/12.97, allocations: 0.5625 kB / 4.264 GB, free: 128.3 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.517e-05/12.97, allocations: 7.453 kB / 4.264 GB, free: 128.3 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2955/13.27, allocations: 127 MB / 4.389 GB, free: 23.23 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.185e-05/13.27, allocations: 1.562 kB / 4.389 GB, free: 23.23 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001637/13.27, allocations: 172.7 kB / 4.389 GB, free: 23.07 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008849/13.27, allocations: 91.48 kB / 4.389 GB, free: 22.99 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002665/13.27, allocations: 43.72 kB / 4.389 GB, free: 22.95 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002424/13.27, allocations: 1.563 MB / 4.39 GB, free: 21.27 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.804e-06/13.27, allocations: 6 kB / 4.39 GB, free: 21.27 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04079/13.32, allocations: 2.62 MB / 4.393 GB, free: 18.62 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.8742/14.19, allocations: 63.99 MB / 4.455 GB, free: 232.3 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.04627/14.24, allocations: 41.08 kB / 4.455 GB, free: 232.3 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0317/14.27, allocations: 432.8 kB / 4.456 GB, free: 232.3 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005461/14.27, allocations: 87.95 kB / 4.456 GB, free: 232.3 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002933/14.27, allocations: 86.62 kB / 4.456 GB, free: 232.3 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.5091/14.78, allocations: 236.5 MB / 4.687 GB, free: 67.79 MB / 0.9011 GB Notification: Performance of sort global known variables: time 1.072e-06/14.78, allocations: 0 / 4.687 GB, free: 67.79 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.05259/14.83, allocations: 16.34 MB / 4.703 GB, free: 51.69 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) * 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.04678/14.88, allocations: 4.827 MB / 4.708 GB, free: 48.09 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.00774/14.88, allocations: 3.888 MB / 4.711 GB, free: 44.55 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 7.063e-06/14.88, allocations: 4 kB / 4.711 GB, free: 44.54 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.002962/14.89, allocations: 1.698 MB / 4.713 GB, free: 43 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.029/14.92, allocations: 0.5441 MB / 4.714 GB, free: 42.54 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06302/14.98, allocations: 17.68 MB / 4.731 GB, free: 25.89 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006092/14.99, allocations: 3.042 MB / 4.734 GB, free: 23.57 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.7301/15.72, allocations: 33.06 MB / 4.766 GB, free: 223.4 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.1035/15.82, allocations: 11.47 MB / 4.777 GB, free: 223.3 MB / 0.9011 GB Notification: Performance of SimCode: time 1.913e-06/15.82, allocations: 0 / 4.777 GB, free: 223.3 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 6.796/22.62, allocations: 1.541 GB / 6.318 GB, free: 113.2 MB / 1.12 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002669/22.62, allocations: 279 kB / 6.318 GB, free: 112.9 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_BaseClasses_Examples_WindowRadiation.o Buildings_7_0_0_Buildings_HeatTransfer_Windows_BaseClasses_Examples_WindowRadiation.c In file included from Buildings_7_0_0_Buildings_HeatTransfer_Windows_BaseClasses_Examples_WindowRadiation.c:7: In file included from ./Buildings_7_0_0_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 -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_BaseClasses_Examples_WindowRadiation_functions.o Buildings_7_0_0_Buildings_HeatTransfer_Windows_BaseClasses_Examples_WindowRadiation_functions.c In file included from Buildings_7_0_0_Buildings_HeatTransfer_Windows_BaseClasses_Examples_WindowRadiation_functions.c:2: In file included from ./Buildings_7_0_0_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_7_0_0_Buildings_HeatTransfer_Windows_BaseClasses_Examples_WindowRadiation_functions.c:7: In file included from ./Buildings_7_0_0_Buildings_HeatTransfer_Windows_BaseClasses_Examples_WindowRadiation_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_BaseClasses_Examples_WindowRadiation_functions.o' failed make: *** [Buildings_7_0_0_Buildings_HeatTransfer_Windows_BaseClasses_Examples_WindowRadiation_functions.o] Error 1