Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation.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.AbsorbedRadiation,fileNamePrefix="Buildings_8_0_0_Buildings_HeatTransfer_Windows_BaseClasses_Examples_AbsorbedRadiation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation,fileNamePrefix="Buildings_8_0_0_Buildings_HeatTransfer_Windows_BaseClasses_Examples_AbsorbedRadiation",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.697/2.697, allocations: 287.3 MB / 302.3 MB, free: 8.352 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.001548/0.001548, allocations: 186 kB / 370.8 MB, free: 10.87 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.068/2.068, allocations: 205.4 MB / 0.6295 GB, free: 10.64 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.001152/0.001152, allocations: 94.67 kB / 0.7428 GB, free: 6.645 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006549/0.0006546, allocations: 13.67 kB / 0.8657 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2162/0.2169, allocations: 115.3 MB / 0.9783 GB, free: 28.31 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.682/6.899, allocations: 2.098 GB / 3.076 GB, free: 175.1 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003164/6.899, allocations: 99.33 kB / 3.076 GB, free: 175 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 0.5571/7.456, allocations: 104.5 MB / 3.178 GB, free: 78.53 MB / 0.948 GB Notification: Performance of FrontEnd: time 3.016e-06/7.456, allocations: 0 / 3.178 GB, free: 78.53 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0004855/7.457, allocations: 48 kB / 3.179 GB, free: 78.48 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: 277 * Number of variables: 277 Notification: Performance of Generate backend data structure: time 0.1103/7.567, allocations: 23.37 MB / 3.201 GB, free: 55.03 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.17e-05/7.567, allocations: 8.031 kB / 3.201 GB, free: 55.02 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006633/7.568, allocations: 164.9 kB / 3.202 GB, free: 54.85 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01238/7.58, allocations: 356.3 kB / 3.202 GB, free: 54.5 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.8596/8.44, allocations: 94.46 MB / 3.294 GB, free: 283.9 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001392/8.44, allocations: 103.4 kB / 3.294 GB, free: 283.8 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000467/8.44, allocations: 135.7 kB / 3.294 GB, free: 283.8 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003886/8.444, allocations: 1.361 MB / 3.296 GB, free: 283.3 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.239e-05/8.444, allocations: 3.75 kB / 3.296 GB, free: 283.3 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001927/8.445, allocations: 50.06 kB / 3.296 GB, free: 283.2 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.684e-05/8.445, allocations: 30.88 kB / 3.296 GB, free: 283.2 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00435/8.449, allocations: 1.475 MB / 3.297 GB, free: 282.9 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2497/8.699, allocations: 79.36 MB / 3.375 GB, free: 241.7 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003028/8.702, allocations: 1.128 MB / 3.376 GB, free: 240.7 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001346/8.702, allocations: 28.36 kB / 3.376 GB, free: 240.7 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001812/8.704, allocations: 0.7138 MB / 3.377 GB, free: 240.1 MB / 0.948 GB Notification: Performance of pre-optimization done (n=92): time 4.218e-06/8.704, allocations: 0 / 3.377 GB, free: 240.1 MB / 0.948 GB Notification: Performance of matching and sorting (n=92): time 0.01714/8.721, allocations: 2.229 MB / 3.379 GB, free: 238.1 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002541/8.721, allocations: 383.8 kB / 3.379 GB, free: 237.7 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.3437/9.065, allocations: 103.9 MB / 3.481 GB, free: 142.5 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0004976/9.066, allocations: 57.7 kB / 3.481 GB, free: 142.4 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001525/9.067, allocations: 1.055 MB / 3.482 GB, free: 141.5 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004992/9.068, allocations: 305.5 kB / 3.482 GB, free: 141.3 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001801/9.068, allocations: 28 kB / 3.482 GB, free: 141.2 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001272/9.068, allocations: 368.2 kB / 3.482 GB, free: 140.9 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0023/9.07, allocations: 0.9949 MB / 3.483 GB, free: 140 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002633/9.073, allocations: 1.213 MB / 3.484 GB, free: 138.9 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002871/9.076, allocations: 1.255 MB / 3.486 GB, free: 137.7 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.115e-05/9.076, allocations: 3.938 kB / 3.486 GB, free: 137.7 MB / 0.948 GB Notification: Performance of matching and sorting (n=180) (initialization): time 0.01834/9.094, allocations: 2.781 MB / 3.488 GB, free: 135.2 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002207/9.095, allocations: 147.3 kB / 3.489 GB, free: 135.1 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.755e-05/9.095, allocations: 4 kB / 3.489 GB, free: 135.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.46e-05/9.095, allocations: 8 kB / 3.489 GB, free: 135.1 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002287/9.097, allocations: 297.3 kB / 3.489 GB, free: 134.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.474e-05/9.097, allocations: 11.95 kB / 3.489 GB, free: 134.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01092/9.108, allocations: 291.2 kB / 3.489 GB, free: 134.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005867/9.109, allocations: 90.56 kB / 3.489 GB, free: 134.5 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (165): * Single equations (assignments): 164 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002376/9.111, allocations: 1.01 MB / 3.49 GB, free: 133.5 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.01135/9.122, allocations: 241 kB / 3.49 GB, free: 133.3 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006019/9.128, allocations: 2.09 MB / 3.492 GB, free: 131.2 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.306e-05/9.129, allocations: 8 kB / 3.492 GB, free: 131.2 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.358e-06/9.129, allocations: 3.75 kB / 3.492 GB, free: 131.2 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.448e-05/9.129, allocations: 7.938 kB / 3.492 GB, free: 131.2 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.09481/9.223, allocations: 38.05 MB / 3.53 GB, free: 93.06 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.637e-06/9.223, allocations: 6.188 kB / 3.53 GB, free: 93.06 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001212/9.225, allocations: 154.5 kB / 3.53 GB, free: 92.92 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.223e-05/9.225, allocations: 4 kB / 3.53 GB, free: 92.92 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001348/9.225, allocations: 38.78 kB / 3.53 GB, free: 92.88 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.004e-05/9.225, allocations: 7.953 kB / 3.53 GB, free: 92.88 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.385e-06/9.225, allocations: 0 / 3.53 GB, free: 92.88 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01576/9.241, allocations: 1.971 MB / 3.532 GB, free: 90.89 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.06387/9.305, allocations: 20.54 MB / 3.552 GB, free: 70.33 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.01364/9.318, allocations: 28 kB / 3.552 GB, free: 70.3 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01113/9.329, allocations: 191.7 kB / 3.552 GB, free: 70.12 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003987/9.33, allocations: 68.86 kB / 3.552 GB, free: 70.05 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000231/9.33, allocations: 81.55 kB / 3.552 GB, free: 69.98 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.808/10.14, allocations: 76.74 MB / 3.627 GB, free: 281.5 MB / 0.948 GB Notification: Performance of sort global known variables: time 8.52e-07/10.14, allocations: 1.031 kB / 3.627 GB, free: 281.5 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.02229/10.16, allocations: 6.055 MB / 3.633 GB, free: 281.5 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 (90): * Single equations (assignments): 87 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.02201/10.18, allocations: 3.6 MB / 3.637 GB, free: 280.8 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.007175/10.19, allocations: 3.14 MB / 3.64 GB, free: 280.7 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 9.708e-06/10.19, allocations: 5.781 kB / 3.64 GB, free: 280.7 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.003057/10.19, allocations: 1.337 MB / 3.641 GB, free: 280.6 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0113/10.2, allocations: 344.7 kB / 3.641 GB, free: 280.6 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03034/10.23, allocations: 9.606 MB / 3.651 GB, free: 275.5 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003367/10.24, allocations: 1.778 MB / 3.652 GB, free: 274.8 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.02387/10.26, allocations: 11.1 MB / 3.663 GB, free: 274.7 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.03595/10.3, allocations: 4.129 MB / 3.667 GB, free: 274.7 MB / 0.948 GB Notification: Performance of SimCode: time 2.094e-06/10.3, allocations: 3.562 kB / 3.667 GB, free: 274.7 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.827/12.13, allocations: 0.514 GB / 4.181 GB, free: 120.7 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002016/12.13, allocations: 238 kB / 4.181 GB, free: 120.4 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_AbsorbedRadiation.o Buildings_8_0_0_Buildings_HeatTransfer_Windows_BaseClasses_Examples_AbsorbedRadiation.c In file included from Buildings_8_0_0_Buildings_HeatTransfer_Windows_BaseClasses_Examples_AbsorbedRadiation.c:7: In file included from ./Buildings_8_0_0_Buildings_HeatTransfer_Windows_BaseClasses_Examples_AbsorbedRadiation_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_AbsorbedRadiation_functions.o Buildings_8_0_0_Buildings_HeatTransfer_Windows_BaseClasses_Examples_AbsorbedRadiation_functions.c In file included from Buildings_8_0_0_Buildings_HeatTransfer_Windows_BaseClasses_Examples_AbsorbedRadiation_functions.c:2: In file included from ./Buildings_8_0_0_Buildings_HeatTransfer_Windows_BaseClasses_Examples_AbsorbedRadiation_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_AbsorbedRadiation_functions.c:7: In file included from ./Buildings_8_0_0_Buildings_HeatTransfer_Windows_BaseClasses_Examples_AbsorbedRadiation_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_AbsorbedRadiation_functions.o' failed make: *** [Buildings_8_0_0_Buildings_HeatTransfer_Windows_BaseClasses_Examples_AbsorbedRadiation_functions.o] Error 1