Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation.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.AbsorbedRadiation,fileNamePrefix="Buildings_8_Buildings_HeatTransfer_Windows_BaseClasses_Examples_AbsorbedRadiation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation,fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.635/1.635, allocations: 292.6 MB / 307.5 MB, free: 5.164 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.001088/0.001088, allocations: 189 kB / 377.1 MB, free: 1.5 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.599/1.599, allocations: 205.4 MB / 0.6366 GB, free: 8.617 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.0009476/0.0009474, allocations: 96.52 kB / 0.7509 GB, free: 63.15 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003633/0.0003634, allocations: 16 kB / 0.8749 GB, free: 11.09 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3025/0.3029, allocations: 116.3 MB / 0.9884 GB, free: 6.625 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.865/5.168, allocations: 2.1 GB / 3.088 GB, free: 118.1 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002654/5.168, allocations: 95.94 kB / 3.088 GB, free: 118 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 0.2346/5.403, allocations: 104.5 MB / 3.19 GB, free: 13.47 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.645e-06/5.403, allocations: 0 / 3.19 GB, free: 13.47 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0003043/5.403, allocations: 51.94 kB / 3.19 GB, free: 13.42 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.5479/5.951, allocations: 23.36 MB / 3.213 GB, free: 225.2 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.806e-05/5.951, allocations: 12.3 kB / 3.213 GB, free: 225.2 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007188/5.952, allocations: 170.5 kB / 3.213 GB, free: 225.2 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007988/5.96, allocations: 340.5 kB / 3.214 GB, free: 225 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1307/6.09, allocations: 94.47 MB / 3.306 GB, free: 208.7 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001173/6.09, allocations: 97.62 kB / 3.306 GB, free: 208.7 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004611/6.091, allocations: 139.8 kB / 3.306 GB, free: 208.7 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002372/6.093, allocations: 1.359 MB / 3.307 GB, free: 208.1 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.278e-05/6.093, allocations: 4.125 kB / 3.307 GB, free: 208.1 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001005/6.093, allocations: 42.97 kB / 3.307 GB, free: 208.1 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.641e-05/6.094, allocations: 27.97 kB / 3.307 GB, free: 208.1 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001885/6.095, allocations: 1.485 MB / 3.309 GB, free: 207.8 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1475/6.243, allocations: 79.36 MB / 3.386 GB, free: 158.4 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002049/6.245, allocations: 1.128 MB / 3.387 GB, free: 157.4 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 9.126e-05/6.245, allocations: 31.58 kB / 3.387 GB, free: 157.4 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001105/6.246, allocations: 0.7124 MB / 3.388 GB, free: 156.9 MB / 0.948 GB Notification: Performance of pre-optimization done (n=92): time 3.667e-06/6.246, allocations: 0 / 3.388 GB, free: 156.9 MB / 0.948 GB Notification: Performance of matching and sorting (n=92): time 0.01007/6.256, allocations: 2.227 MB / 3.39 GB, free: 154.8 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000191/6.257, allocations: 378.3 kB / 3.391 GB, free: 154.4 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1925/6.449, allocations: 103.9 MB / 3.492 GB, free: 59.23 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0004537/6.45, allocations: 61.45 kB / 3.492 GB, free: 59.16 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001051/6.451, allocations: 1.05 MB / 3.493 GB, free: 58.25 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002859/6.451, allocations: 309.2 kB / 3.494 GB, free: 58.01 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.04e-05/6.451, allocations: 28.66 kB / 3.494 GB, free: 57.98 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.532e-05/6.451, allocations: 368.8 kB / 3.494 GB, free: 57.64 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001272/6.452, allocations: 0.9924 MB / 3.495 GB, free: 56.77 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001265/6.454, allocations: 1.214 MB / 3.496 GB, free: 55.64 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00136/6.455, allocations: 1.256 MB / 3.497 GB, free: 54.5 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.811e-06/6.455, allocations: 0 / 3.497 GB, free: 54.5 MB / 0.948 GB Notification: Performance of matching and sorting (n=180) (initialization): time 0.009789/6.465, allocations: 2.778 MB / 3.5 GB, free: 51.99 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001533/6.465, allocations: 153 kB / 3.5 GB, free: 51.86 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.192e-05/6.465, allocations: 4 kB / 3.5 GB, free: 51.86 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.737e-05/6.465, allocations: 11.95 kB / 3.5 GB, free: 51.85 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001048/6.466, allocations: 296.2 kB / 3.5 GB, free: 51.62 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.567e-05/6.466, allocations: 9.719 kB / 3.501 GB, free: 51.61 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006862/6.473, allocations: 289.8 kB / 3.501 GB, free: 51.35 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002851/6.473, allocations: 97.11 kB / 3.501 GB, free: 51.28 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.001592/6.475, allocations: 1.015 MB / 3.502 GB, free: 50.37 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006469/6.481, allocations: 233.7 kB / 3.502 GB, free: 50.14 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003611/6.485, allocations: 2.083 MB / 3.504 GB, free: 48.36 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.929e-06/6.485, allocations: 8.688 kB / 3.504 GB, free: 48.35 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.797e-06/6.485, allocations: 7.562 kB / 3.504 GB, free: 48.35 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.18e-05/6.485, allocations: 4.594 kB / 3.504 GB, free: 48.35 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07274/6.558, allocations: 38.05 MB / 3.541 GB, free: 20.29 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.14e-06/6.558, allocations: 0 / 3.541 GB, free: 20.29 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006103/6.558, allocations: 155 kB / 3.541 GB, free: 20.17 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.485e-06/6.558, allocations: 7.953 kB / 3.541 GB, free: 20.16 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.289e-05/6.559, allocations: 38.94 kB / 3.541 GB, free: 20.13 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.759e-06/6.559, allocations: 4 kB / 3.542 GB, free: 20.13 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/6.559, allocations: 3.75 kB / 3.542 GB, free: 20.13 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008366/6.567, allocations: 1.963 MB / 3.543 GB, free: 18.34 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.5219/7.089, allocations: 20.74 MB / 3.564 GB, free: 223.5 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.008327/7.097, allocations: 30.59 kB / 3.564 GB, free: 223.5 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006991/7.104, allocations: 191.4 kB / 3.564 GB, free: 223.5 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003258/7.105, allocations: 67 kB / 3.564 GB, free: 223.5 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001966/7.105, allocations: 74.02 kB / 3.564 GB, free: 223.5 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.09297/7.198, allocations: 76.75 MB / 3.639 GB, free: 211 MB / 0.948 GB Notification: Performance of sort global known variables: time 6.21e-07/7.198, allocations: 2.75 kB / 3.639 GB, free: 211 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.01678/7.215, allocations: 6.063 MB / 3.645 GB, free: 210.9 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.01332/7.228, allocations: 3.605 MB / 3.648 GB, free: 209.7 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.003838/7.232, allocations: 3.138 MB / 3.651 GB, free: 208.4 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 5.901e-06/7.232, allocations: 0 / 3.651 GB, free: 208.4 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.00137/7.233, allocations: 1.345 MB / 3.653 GB, free: 207.8 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007434/7.241, allocations: 335.1 kB / 3.653 GB, free: 207.7 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01739/7.258, allocations: 9.613 MB / 3.662 GB, free: 201.9 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001209/7.259, allocations: 1.772 MB / 3.664 GB, free: 201.1 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.01422/7.274, allocations: 11.11 MB / 3.675 GB, free: 201 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01928/7.293, allocations: 4.133 MB / 3.679 GB, free: 200.2 MB / 0.948 GB Notification: Performance of SimCode: time 1.062e-06/7.293, allocations: 0 / 3.679 GB, free: 200.2 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.221/8.514, allocations: 0.514 GB / 4.193 GB, free: 51.66 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001511/8.514, allocations: 252.4 kB / 4.193 GB, free: 51.42 MB / 0.948 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_AbsorbedRadiation.o Buildings_8_Buildings_HeatTransfer_Windows_BaseClasses_Examples_AbsorbedRadiation.c In file included from Buildings_8_Buildings_HeatTransfer_Windows_BaseClasses_Examples_AbsorbedRadiation.c:7: In file included from ./Buildings_8_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 -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_AbsorbedRadiation_functions.o Buildings_8_Buildings_HeatTransfer_Windows_BaseClasses_Examples_AbsorbedRadiation_functions.c In file included from Buildings_8_Buildings_HeatTransfer_Windows_BaseClasses_Examples_AbsorbedRadiation_functions.c:2: In file included from ./Buildings_8_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_Buildings_HeatTransfer_Windows_BaseClasses_Examples_AbsorbedRadiation_functions.c:7: In file included from ./Buildings_8_Buildings_HeatTransfer_Windows_BaseClasses_Examples_AbsorbedRadiation_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_AbsorbedRadiation_functions.o] Error 1