Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation.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.AbsorbedRadiation,fileNamePrefix="Buildings_7_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 7.0.1/package.mo): time 2.312/2.312, allocations: 248.5 MB / 261 MB, free: 5.98 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001553/0.001553, allocations: 186.6 kB / 320.4 MB, free: 15.32 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.921/1.921, allocations: 205.1 MB / 0.571 GB, free: 11.74 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.001156/0.001155, allocations: 98.47 kB / 0.6754 GB, free: 0.8203 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.835e-05/4.854e-05, allocations: 4 kB / 0.7869 GB, free: 97.79 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2091/0.2092, allocations: 106.2 MB / 0.8907 GB, free: 7.441 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.229/7.439, allocations: 2.216 GB / 3.107 GB, free: 117.4 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003311/7.439, allocations: 105.6 kB / 3.107 GB, free: 117.4 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.4344/7.874, allocations: 104.2 MB / 3.209 GB, free: 17.04 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.455e-06/7.874, allocations: 0 / 3.209 GB, free: 17.04 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.00037/7.874, allocations: 55.94 kB / 3.209 GB, free: 16.99 MB / 0.8698 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.01785/7.892, allocations: 2.44 MB / 3.211 GB, free: 14.48 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 6.004e-05/7.892, allocations: 12.03 kB / 3.211 GB, free: 14.47 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006677/7.893, allocations: 168.9 kB / 3.211 GB, free: 14.29 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01225/7.905, allocations: 348.3 kB / 3.212 GB, free: 13.95 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.8142/8.719, allocations: 94.05 MB / 3.303 GB, free: 234.5 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001119/8.719, allocations: 94.06 kB / 3.303 GB, free: 234.4 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000381/8.72, allocations: 136 kB / 3.304 GB, free: 234.3 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003359/8.723, allocations: 1.329 MB / 3.305 GB, free: 233.1 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.465e-05/8.723, allocations: 2.812 kB / 3.305 GB, free: 233.1 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001837/8.723, allocations: 44 kB / 3.305 GB, free: 233.1 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.66e-05/8.723, allocations: 28 kB / 3.305 GB, free: 233.1 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003233/8.727, allocations: 1.429 MB / 3.306 GB, free: 231.9 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3167/9.043, allocations: 79.36 MB / 3.384 GB, free: 167.8 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003848/9.047, allocations: 1.084 MB / 3.385 GB, free: 166.8 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002013/9.049, allocations: 0.6194 MB / 3.386 GB, free: 166.2 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001815/9.05, allocations: 41.86 kB / 3.386 GB, free: 166.2 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002238/9.052, allocations: 0.6851 MB / 3.386 GB, free: 165.6 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=92): time 7.344e-06/9.052, allocations: 0 / 3.386 GB, free: 165.6 MB / 0.8698 GB Notification: Performance of matching and sorting (n=92): time 0.02177/9.074, allocations: 1.562 MB / 3.388 GB, free: 164.2 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003362/9.074, allocations: 377.2 kB / 3.388 GB, free: 163.8 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.3441/9.418, allocations: 103.5 MB / 3.489 GB, free: 67.71 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0005019/9.419, allocations: 57.7 kB / 3.489 GB, free: 67.65 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.001422/9.42, allocations: 1.045 MB / 3.49 GB, free: 66.73 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004182/9.421, allocations: 308.8 kB / 3.491 GB, free: 66.5 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001425/9.421, allocations: 29.12 kB / 3.491 GB, free: 66.47 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001483/9.421, allocations: 369.1 kB / 3.491 GB, free: 66.12 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002021/9.423, allocations: 0.9657 MB / 3.492 GB, free: 65.24 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002149/9.425, allocations: 1.189 MB / 3.493 GB, free: 64.1 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002319/9.428, allocations: 1.233 MB / 3.494 GB, free: 62.88 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.563e-06/9.428, allocations: 0 / 3.494 GB, free: 62.88 MB / 0.8698 GB Notification: Performance of matching and sorting (n=180) (initialization): time 0.01651/9.444, allocations: 2.727 MB / 3.497 GB, free: 60.16 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002038/9.444, allocations: 149.6 kB / 3.497 GB, free: 60 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.658e-05/9.444, allocations: 4 kB / 3.497 GB, free: 60 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.633e-05/9.444, allocations: 11.95 kB / 3.497 GB, free: 59.99 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00222/9.447, allocations: 296.8 kB / 3.497 GB, free: 59.72 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.367e-05/9.447, allocations: 11.98 kB / 3.497 GB, free: 59.71 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01073/9.457, allocations: 289.3 kB / 3.498 GB, free: 59.47 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005492/9.458, allocations: 90.69 kB / 3.498 GB, free: 59.38 MB / 0.8698 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 () * 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.0005922/9.459, allocations: 322.5 kB / 3.498 GB, free: 59.07 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.01074/9.469, allocations: 229.1 kB / 3.498 GB, free: 58.85 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005394/9.475, allocations: 2.049 MB / 3.5 GB, free: 56.83 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.256e-05/9.475, allocations: 8 kB / 3.5 GB, free: 56.82 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.947e-06/9.475, allocations: 3.953 kB / 3.5 GB, free: 56.82 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.26e-05/9.475, allocations: 7.734 kB / 3.5 GB, free: 56.82 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1032/9.578, allocations: 38.01 MB / 3.537 GB, free: 18.74 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.156e-06/9.578, allocations: 4 kB / 3.537 GB, free: 18.73 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001247/9.58, allocations: 151 kB / 3.538 GB, free: 18.59 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.426e-05/9.58, allocations: 7.828 kB / 3.538 GB, free: 18.59 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001219/9.58, allocations: 39.97 kB / 3.538 GB, free: 18.55 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.877e-06/9.58, allocations: 7.625 kB / 3.538 GB, free: 18.55 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/9.58, allocations: 0 / 3.538 GB, free: 18.55 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01549/9.595, allocations: 1.911 MB / 3.539 GB, free: 16.61 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.7259/10.32, allocations: 20.54 MB / 3.56 GB, free: 250.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.01343/10.33, allocations: 28.33 kB / 3.56 GB, free: 250.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01138/10.35, allocations: 195 kB / 3.56 GB, free: 250.7 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004527/10.35, allocations: 65.88 kB / 3.56 GB, free: 250.7 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002906/10.35, allocations: 80.83 kB / 3.56 GB, free: 250.7 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.1565/10.5, allocations: 76.34 MB / 3.634 GB, free: 232.8 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.443e-06/10.5, allocations: 0 / 3.634 GB, free: 232.8 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.01892/10.52, allocations: 6.061 MB / 3.64 GB, free: 227.1 MB / 0.8698 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) * 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.01966/10.54, allocations: 3.53 MB / 3.644 GB, free: 224.3 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.005941/10.55, allocations: 3.085 MB / 3.647 GB, free: 221.5 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 7.484e-06/10.55, allocations: 4 kB / 3.647 GB, free: 221.4 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.002354/10.55, allocations: 1.318 MB / 3.648 GB, free: 220.2 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01099/10.56, allocations: 340 kB / 3.648 GB, free: 220 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02368/10.59, allocations: 4.799 MB / 3.653 GB, free: 215.8 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00184/10.59, allocations: 1.781 MB / 3.655 GB, free: 214.4 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.02145/10.61, allocations: 11.11 MB / 3.666 GB, free: 203.5 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.03406/10.64, allocations: 4.131 MB / 3.67 GB, free: 200.8 MB / 0.8698 GB Notification: Performance of SimCode: time 1.543e-06/10.64, allocations: 3.875 kB / 3.67 GB, free: 200.8 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.875/12.52, allocations: 0.5154 GB / 4.185 GB, free: 0.7891 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002431/12.52, allocations: 217.7 kB / 4.185 GB, free: 0.5625 MB / 0.8698 GB Error: Error building simulator. Build log: clang -Os -fPIC -mfpmath=sse -fno-dollars-in-identifiers -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' "-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_AbsorbedRadiation.o Buildings_7_0_0_Buildings_HeatTransfer_Windows_BaseClasses_Examples_AbsorbedRadiation.c In file included from Buildings_7_0_0_Buildings_HeatTransfer_Windows_BaseClasses_Examples_AbsorbedRadiation.c:7: In file included from ./Buildings_7_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:111: ./gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:221: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 -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' "-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_AbsorbedRadiation_functions.o Buildings_7_0_0_Buildings_HeatTransfer_Windows_BaseClasses_Examples_AbsorbedRadiation_functions.c In file included from Buildings_7_0_0_Buildings_HeatTransfer_Windows_BaseClasses_Examples_AbsorbedRadiation_functions.c:2: In file included from ./Buildings_7_0_0_Buildings_HeatTransfer_Windows_BaseClasses_Examples_AbsorbedRadiation_functions.h:3: In file included from ./meta/meta_modelica.h:49: ./gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:221: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_AbsorbedRadiation_functions.c:7: In file included from ./Buildings_7_0_0_Buildings_HeatTransfer_Windows_BaseClasses_Examples_AbsorbedRadiation_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_AbsorbedRadiation_functions.o' failed make: *** [Buildings_7_0_0_Buildings_HeatTransfer_Windows_BaseClasses_Examples_AbsorbedRadiation_functions.o] Error 1