Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.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.BaseClasses.Examples.TransmittedRadiation,fileNamePrefix="Buildings_8_0_0_Buildings_HeatTransfer_Windows_BaseClasses_Examples_TransmittedRadiation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation,fileNamePrefix="Buildings_8_0_0_Buildings_HeatTransfer_Windows_BaseClasses_Examples_TransmittedRadiation",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.827/2.827, allocations: 287.3 MB / 302.3 MB, free: 8.277 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.001485/0.001485, allocations: 175 kB / 370.8 MB, free: 10.89 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.13/2.13, allocations: 205.4 MB / 0.6295 GB, free: 10.65 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.001078/0.001078, allocations: 103.6 kB / 0.7428 GB, free: 6.648 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004938/0.0004939, allocations: 12.56 kB / 0.8657 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2115/0.212, allocations: 115.3 MB / 0.9783 GB, free: 28.31 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.645/6.858, allocations: 2.095 GB / 3.073 GB, free: 177.8 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003634/6.858, allocations: 106.6 kB / 3.073 GB, free: 177.8 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 0.5254/7.383, allocations: 126.2 MB / 3.197 GB, free: 59.52 MB / 0.948 GB Notification: Performance of FrontEnd: time 3.306e-06/7.383, allocations: 0 / 3.197 GB, free: 59.52 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.000559/7.384, allocations: 47.94 kB / 3.197 GB, free: 59.47 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: 280 * Number of variables: 280 Notification: Performance of Generate backend data structure: time 0.1009/7.485, allocations: 23.12 MB / 3.219 GB, free: 36.27 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.102e-05/7.485, allocations: 12.03 kB / 3.219 GB, free: 36.26 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006142/7.486, allocations: 172.9 kB / 3.219 GB, free: 36.08 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01237/7.498, allocations: 340.6 kB / 3.22 GB, free: 35.75 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.87/8.368, allocations: 94.33 MB / 3.312 GB, free: 266.6 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.494e-05/8.368, allocations: 92.31 kB / 3.312 GB, free: 266.5 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002528/8.368, allocations: 120.4 kB / 3.312 GB, free: 266.5 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003544/8.372, allocations: 1.186 MB / 3.313 GB, free: 265.9 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.463e-05/8.372, allocations: 0 / 3.313 GB, free: 265.9 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002176/8.372, allocations: 49.27 kB / 3.313 GB, free: 265.9 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.582e-05/8.372, allocations: 26.97 kB / 3.313 GB, free: 265.9 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003768/8.376, allocations: 1.388 MB / 3.315 GB, free: 265.6 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2423/8.619, allocations: 79.05 MB / 3.392 GB, free: 218.1 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003078/8.622, allocations: 1.03 MB / 3.393 GB, free: 217.2 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001438/8.622, allocations: 37.59 kB / 3.393 GB, free: 217.2 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001292/8.623, allocations: 0.5608 MB / 3.393 GB, free: 216.7 MB / 0.948 GB Notification: Performance of pre-optimization done (n=88): time 3.627e-06/8.623, allocations: 0 / 3.393 GB, free: 216.7 MB / 0.948 GB Notification: Performance of matching and sorting (n=88): time 0.01737/8.641, allocations: 1.58 MB / 3.395 GB, free: 215.3 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.712e-05/8.641, allocations: 251.3 kB / 3.395 GB, free: 215 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.3391/8.98, allocations: 103.7 MB / 3.496 GB, free: 120 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0003455/8.98, allocations: 45.7 kB / 3.497 GB, free: 120 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001531/8.982, allocations: 0.9991 MB / 3.497 GB, free: 119.1 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004958/8.982, allocations: 292.9 kB / 3.498 GB, free: 118.9 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000122/8.982, allocations: 23.84 kB / 3.498 GB, free: 118.9 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001069/8.983, allocations: 348.6 kB / 3.498 GB, free: 118.5 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001354/8.984, allocations: 446.8 kB / 3.499 GB, free: 118.1 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001565/8.986, allocations: 0.59 MB / 3.499 GB, free: 117.6 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001542/8.987, allocations: 0.5053 MB / 3.5 GB, free: 117.1 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.795e-06/8.987, allocations: 0 / 3.5 GB, free: 117.1 MB / 0.948 GB Notification: Performance of matching and sorting (n=123) (initialization): time 0.01597/9.003, allocations: 1.395 MB / 3.501 GB, free: 115.9 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 3.009e-05/9.003, allocations: 4 kB / 3.501 GB, free: 115.9 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.486e-05/9.003, allocations: 7.5 kB / 3.501 GB, free: 115.9 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001007/9.004, allocations: 84.67 kB / 3.501 GB, free: 115.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001953/9.006, allocations: 218.2 kB / 3.501 GB, free: 115.6 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002796/9.009, allocations: 1.54 MB / 3.503 GB, free: 114.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01116/9.02, allocations: 234.6 kB / 3.503 GB, free: 113.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003785/9.021, allocations: 43.59 kB / 3.503 GB, free: 113.8 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (121): * Single equations (assignments): 120 * Array equations: 0 * Algorithm blocks: 0 * 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.002011/9.023, allocations: 0.7862 MB / 3.504 GB, free: 113.1 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.01149/9.034, allocations: 220.4 kB / 3.504 GB, free: 112.9 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005516/9.04, allocations: 1.496 MB / 3.505 GB, free: 111.7 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.368e-05/9.04, allocations: 8 kB / 3.505 GB, free: 111.6 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/9.04, allocations: 3.094 kB / 3.506 GB, free: 111.6 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.954e-05/9.04, allocations: 7.656 kB / 3.506 GB, free: 111.6 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.09381/9.134, allocations: 37.27 MB / 3.542 GB, free: 75.32 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.231e-05/9.134, allocations: 3.938 kB / 3.542 GB, free: 75.32 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001556/9.135, allocations: 181.1 kB / 3.542 GB, free: 75.15 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000879/9.136, allocations: 79.97 kB / 3.542 GB, free: 75.07 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002006/9.137, allocations: 31.97 kB / 3.542 GB, free: 75.04 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002486/9.139, allocations: 1.558 MB / 3.544 GB, free: 73.37 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/9.139, allocations: 2.25 kB / 3.544 GB, free: 73.37 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01505/9.154, allocations: 1.295 MB / 3.545 GB, free: 72.06 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.06513/9.219, allocations: 20.49 MB / 3.565 GB, free: 51.55 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.01337/9.233, allocations: 27.95 kB / 3.565 GB, free: 51.53 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0111/9.244, allocations: 185.7 kB / 3.565 GB, free: 51.35 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003741/9.244, allocations: 72.89 kB / 3.565 GB, free: 51.28 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00013/9.244, allocations: 39.98 kB / 3.565 GB, free: 51.24 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.8207/10.07, allocations: 76.57 MB / 3.64 GB, free: 267.8 MB / 0.948 GB Notification: Performance of sort global known variables: time 8.81e-07/10.07, allocations: 0 / 3.64 GB, free: 267.8 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.02193/10.09, allocations: 6.038 MB / 3.646 GB, free: 267.8 MB / 0.948 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 (102): * Single equations (assignments): 99 * Array equations: 0 * Algorithm blocks: 0 * 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.02061/10.11, allocations: 3.414 MB / 3.649 GB, free: 267.1 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.003608/10.11, allocations: 1.133 MB / 3.65 GB, free: 266.9 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 6.863e-06/10.11, allocations: 3.969 kB / 3.65 GB, free: 266.9 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.001696/10.11, allocations: 0.6139 MB / 3.651 GB, free: 266.8 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01106/10.12, allocations: 344.6 kB / 3.651 GB, free: 266.8 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02741/10.15, allocations: 6.882 MB / 3.658 GB, free: 264 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002468/10.15, allocations: 1.712 MB / 3.66 GB, free: 263.2 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.02255/10.18, allocations: 11.1 MB / 3.671 GB, free: 263.1 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.03383/10.21, allocations: 4.116 MB / 3.675 GB, free: 263.1 MB / 0.948 GB Notification: Performance of SimCode: time 1.854e-06/10.21, allocations: 0 / 3.675 GB, free: 263.1 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.899/12.11, allocations: 0.519 GB / 4.194 GB, free: 98.08 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002906/12.11, allocations: 277 kB / 4.194 GB, free: 97.73 MB / 0.948 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_BaseClasses_Examples_TransmittedRadiation.o Buildings_8_0_0_Buildings_HeatTransfer_Windows_BaseClasses_Examples_TransmittedRadiation.c In file included from Buildings_8_0_0_Buildings_HeatTransfer_Windows_BaseClasses_Examples_TransmittedRadiation.c:7: In file included from ./Buildings_8_0_0_Buildings_HeatTransfer_Windows_BaseClasses_Examples_TransmittedRadiation_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_BaseClasses_Examples_TransmittedRadiation_functions.o Buildings_8_0_0_Buildings_HeatTransfer_Windows_BaseClasses_Examples_TransmittedRadiation_functions.c In file included from Buildings_8_0_0_Buildings_HeatTransfer_Windows_BaseClasses_Examples_TransmittedRadiation_functions.c:2: In file included from ./Buildings_8_0_0_Buildings_HeatTransfer_Windows_BaseClasses_Examples_TransmittedRadiation_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_BaseClasses_Examples_TransmittedRadiation_functions.c:7: In file included from ./Buildings_8_0_0_Buildings_HeatTransfer_Windows_BaseClasses_Examples_TransmittedRadiation_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_BaseClasses_Examples_TransmittedRadiation_functions.o' failed make: *** [Buildings_8_0_0_Buildings_HeatTransfer_Windows_BaseClasses_Examples_TransmittedRadiation_functions.o] Error 1