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.112/2.112, allocations: 251 MB / 265.9 MB, free: 11.67 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.001502/0.001503, allocations: 184.8 kB / 325.5 MB, free: 2.863 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.264/2.264, allocations: 205.4 MB / 0.5764 GB, free: 20.79 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.001095/0.001095, allocations: 106.1 kB / 0.6809 GB, free: 13.64 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004857/0.0004858, allocations: 12.62 kB / 0.795 GB, free: 135.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2111/0.2117, allocations: 106.3 MB / 0.8988 GB, free: 65.42 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.079/7.291, allocations: 2.216 GB / 3.115 GB, free: 236.2 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003521/7.291, allocations: 99.23 kB / 3.115 GB, free: 236.2 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.412/7.703, allocations: 104.5 MB / 3.217 GB, free: 205.9 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.855e-06/7.703, allocations: 0 / 3.217 GB, free: 205.9 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0003985/7.704, allocations: 55.88 kB / 3.217 GB, free: 205.9 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: 277 * Number of variables: 277 Notification: Performance of Generate backend data structure: time 0.09992/7.804, allocations: 23.37 MB / 3.24 GB, free: 185.8 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.937e-05/7.804, allocations: 8.031 kB / 3.24 GB, free: 185.8 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007493/7.805, allocations: 174.2 kB / 3.24 GB, free: 185.7 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01311/7.818, allocations: 344.4 kB / 3.24 GB, free: 185.4 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1973/8.015, allocations: 94.47 MB / 3.333 GB, free: 94.45 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.977e-05/8.015, allocations: 98.06 kB / 3.333 GB, free: 94.35 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003753/8.016, allocations: 136 kB / 3.333 GB, free: 94.21 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003434/8.019, allocations: 1.356 MB / 3.334 GB, free: 92.8 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.025e-05/8.019, allocations: 3.938 kB / 3.334 GB, free: 92.79 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001813/8.019, allocations: 48 kB / 3.334 GB, free: 92.75 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.425e-05/8.019, allocations: 28 kB / 3.334 GB, free: 92.72 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003654/8.023, allocations: 1.479 MB / 3.336 GB, free: 91.24 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.255/8.278, allocations: 79.35 MB / 3.413 GB, free: 11.76 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004141/8.282, allocations: 1.129 MB / 3.414 GB, free: 10.62 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002054/8.282, allocations: 32.75 kB / 3.414 GB, free: 10.59 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003152/8.286, allocations: 0.7207 MB / 3.415 GB, free: 9.855 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=92): time 8.687e-06/8.286, allocations: 0 / 3.415 GB, free: 9.855 MB / 0.8855 GB Notification: Performance of matching and sorting (n=92): time 0.02585/8.312, allocations: 2.226 MB / 3.417 GB, free: 7.594 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004035/8.312, allocations: 377.6 kB / 3.418 GB, free: 7.16 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.9787/9.291, allocations: 103.9 MB / 3.519 GB, free: 238.1 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0005266/9.291, allocations: 57.7 kB / 3.519 GB, free: 238.1 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.001621/9.293, allocations: 1.055 MB / 3.52 GB, free: 237.2 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.00052/9.294, allocations: 301.8 kB / 3.52 GB, free: 237 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001898/9.294, allocations: 29.19 kB / 3.521 GB, free: 237 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001399/9.294, allocations: 367.7 kB / 3.521 GB, free: 236.6 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002367/9.296, allocations: 0.9933 MB / 3.522 GB, free: 235.8 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002819/9.299, allocations: 1.214 MB / 3.523 GB, free: 234.6 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003092/9.302, allocations: 1.257 MB / 3.524 GB, free: 233.5 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.396e-05/9.302, allocations: 0 / 3.524 GB, free: 233.5 MB / 0.8855 GB Notification: Performance of matching and sorting (n=180) (initialization): time 0.01869/9.321, allocations: 2.778 MB / 3.527 GB, free: 231 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002097/9.321, allocations: 153 kB / 3.527 GB, free: 230.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.804e-05/9.321, allocations: 6.5 kB / 3.527 GB, free: 230.9 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.435e-05/9.321, allocations: 8 kB / 3.527 GB, free: 230.9 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002324/9.324, allocations: 293.7 kB / 3.527 GB, free: 230.6 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.028e-05/9.324, allocations: 17.67 kB / 3.527 GB, free: 230.6 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01115/9.335, allocations: 292.1 kB / 3.528 GB, free: 230.4 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006411/9.336, allocations: 94.77 kB / 3.528 GB, free: 230.3 MB / 0.8855 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.002621/9.338, allocations: 1.014 MB / 3.529 GB, free: 229.4 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.01195/9.35, allocations: 231.3 kB / 3.529 GB, free: 229.2 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006246/9.357, allocations: 2.083 MB / 3.531 GB, free: 227.4 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.382e-05/9.357, allocations: 11.66 kB / 3.531 GB, free: 227.4 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.083e-05/9.357, allocations: 1.203 kB / 3.531 GB, free: 227.4 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.481e-05/9.357, allocations: 8.109 kB / 3.531 GB, free: 227.4 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.09471/9.451, allocations: 38.06 MB / 3.568 GB, free: 199.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.647e-06/9.451, allocations: 0 / 3.568 GB, free: 199.4 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001266/9.453, allocations: 158.5 kB / 3.568 GB, free: 199.2 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.177e-05/9.453, allocations: 4 kB / 3.568 GB, free: 199.2 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000132/9.453, allocations: 36.36 kB / 3.568 GB, free: 199.2 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.577e-06/9.453, allocations: 4 kB / 3.568 GB, free: 199.2 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.395e-06/9.453, allocations: 3.188 kB / 3.568 GB, free: 199.2 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01565/9.469, allocations: 1.962 MB / 3.57 GB, free: 197.4 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.06494/9.534, allocations: 20.54 MB / 3.59 GB, free: 178.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.01421/9.548, allocations: 34.64 kB / 3.59 GB, free: 178.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01132/9.559, allocations: 191.3 kB / 3.591 GB, free: 178 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004294/9.56, allocations: 63.08 kB / 3.591 GB, free: 177.9 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002416/9.56, allocations: 76.45 kB / 3.591 GB, free: 177.9 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.1405/9.7, allocations: 76.75 MB / 3.666 GB, free: 104.5 MB / 0.8855 GB Notification: Performance of sort global known variables: time 8.22e-07/9.701, allocations: 0 / 3.666 GB, free: 104.5 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.01961/9.72, allocations: 6.058 MB / 3.672 GB, free: 98.57 MB / 0.8855 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.02159/9.742, allocations: 3.602 MB / 3.675 GB, free: 95.47 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.005954/9.748, allocations: 3.14 MB / 3.678 GB, free: 92.35 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 7.715e-06/9.748, allocations: 0 / 3.678 GB, free: 92.35 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.002352/9.75, allocations: 1.347 MB / 3.679 GB, free: 91.01 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01093/9.761, allocations: 340.1 kB / 3.68 GB, free: 90.68 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02711/9.788, allocations: 9.609 MB / 3.689 GB, free: 80.98 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002392/9.791, allocations: 1.78 MB / 3.691 GB, free: 79.18 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.02196/9.813, allocations: 11.1 MB / 3.702 GB, free: 68.2 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.03449/9.847, allocations: 4.134 MB / 3.706 GB, free: 64.09 MB / 0.8855 GB Notification: Performance of SimCode: time 1.192e-06/9.847, allocations: 1.594 kB / 3.706 GB, free: 64.09 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.435/12.28, allocations: 0.514 GB / 4.22 GB, free: 100 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002305/12.28, allocations: 253 kB / 4.22 GB, free: 99.74 MB / 0.8855 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_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: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_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: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_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