Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.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.TransmittedRadiation,fileNamePrefix="Buildings_7_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 7.0.1/package.mo): time 2.237/2.237, allocations: 248.5 MB / 261 MB, free: 6.078 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.001366/0.001366, allocations: 180.7 kB / 320.4 MB, free: 15.35 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.989/1.989, allocations: 205.2 MB / 0.571 GB, free: 11.81 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.001099/0.001099, allocations: 105.5 kB / 0.6754 GB, free: 0.9023 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.45e-05/4.461e-05, allocations: 4 kB / 0.7869 GB, free: 97.82 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2166/0.2167, allocations: 106.3 MB / 0.8907 GB, free: 7.465 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.639/7.856, allocations: 2.213 GB / 3.104 GB, free: 120.4 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004591/7.856, allocations: 94.88 kB / 3.104 GB, free: 120.4 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 1.133/8.99, allocations: 125.5 MB / 3.226 GB, free: 241.3 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.585e-06/8.99, allocations: 0 / 3.226 GB, free: 241.3 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0003643/8.99, allocations: 45.75 kB / 3.226 GB, free: 241.3 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: 280 * Number of variables: 280 Notification: Performance of Generate backend data structure: time 0.0179/9.008, allocations: 2.217 MB / 3.229 GB, free: 240.4 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.763e-05/9.008, allocations: 8.812 kB / 3.229 GB, free: 240.4 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006227/9.009, allocations: 172.8 kB / 3.229 GB, free: 240.3 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0125/9.021, allocations: 348.1 kB / 3.229 GB, free: 240.2 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2202/9.241, allocations: 93.92 MB / 3.321 GB, free: 213.3 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001111/9.242, allocations: 90.2 kB / 3.321 GB, free: 213.2 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00029/9.242, allocations: 119.8 kB / 3.321 GB, free: 213.1 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002925/9.245, allocations: 1.148 MB / 3.322 GB, free: 212 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.242e-05/9.245, allocations: 4.391 kB / 3.322 GB, free: 212 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001779/9.245, allocations: 47.83 kB / 3.322 GB, free: 212 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.727e-05/9.245, allocations: 24 kB / 3.322 GB, free: 212 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003132/9.248, allocations: 1.338 MB / 3.323 GB, free: 210.9 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2557/9.504, allocations: 79.06 MB / 3.401 GB, free: 146.9 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002853/9.507, allocations: 0.9836 MB / 3.402 GB, free: 146 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008836/9.508, allocations: 382.4 kB / 3.402 GB, free: 145.6 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001529/9.508, allocations: 40.58 kB / 3.402 GB, free: 145.6 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001153/9.509, allocations: 0.5323 MB / 3.403 GB, free: 145.1 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=88): time 3.937e-06/9.509, allocations: 0 / 3.403 GB, free: 145.1 MB / 0.8698 GB Notification: Performance of matching and sorting (n=88): time 0.01432/9.524, allocations: 1.059 MB / 3.404 GB, free: 144.2 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001035/9.524, allocations: 242.9 kB / 3.404 GB, free: 143.9 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.3336/9.857, allocations: 103.2 MB / 3.505 GB, free: 48.04 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.000373/9.858, allocations: 49.7 kB / 3.505 GB, free: 47.98 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.001434/9.859, allocations: 0.9925 MB / 3.506 GB, free: 47.07 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.000455/9.86, allocations: 298.2 kB / 3.506 GB, free: 46.8 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.302e-05/9.86, allocations: 20 kB / 3.506 GB, free: 46.79 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001198/9.86, allocations: 351.1 kB / 3.506 GB, free: 46.45 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001073/9.861, allocations: 423.8 kB / 3.507 GB, free: 46.07 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001209/9.862, allocations: 0.5565 MB / 3.507 GB, free: 45.52 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001283/9.864, allocations: 0.4898 MB / 3.508 GB, free: 45.1 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.575e-06/9.864, allocations: 0 / 3.508 GB, free: 45.1 MB / 0.8698 GB Notification: Performance of matching and sorting (n=123) (initialization): time 0.01489/9.879, allocations: 1.343 MB / 3.509 GB, free: 43.87 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 3.307e-05/9.879, allocations: 15.52 kB / 3.509 GB, free: 43.86 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.226e-05/9.879, allocations: 5.406 kB / 3.509 GB, free: 43.86 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009746/9.88, allocations: 83.95 kB / 3.509 GB, free: 43.8 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001975/9.882, allocations: 218.3 kB / 3.509 GB, free: 43.63 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002627/9.884, allocations: 1.516 MB / 3.511 GB, free: 42.06 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01109/9.895, allocations: 236.3 kB / 3.511 GB, free: 41.84 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004326/9.896, allocations: 43.7 kB / 3.511 GB, free: 41.8 MB / 0.8698 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 () * 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.0003993/9.896, allocations: 163.1 kB / 3.511 GB, free: 41.66 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.01101/9.907, allocations: 223.9 kB / 3.511 GB, free: 41.44 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005099/9.912, allocations: 1.447 MB / 3.513 GB, free: 40.22 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-05/9.913, allocations: 8 kB / 3.513 GB, free: 40.21 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.07e-06/9.913, allocations: 0 / 3.513 GB, free: 40.21 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.694e-05/9.913, allocations: 11.41 kB / 3.513 GB, free: 40.21 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1025/10.02, allocations: 37.23 MB / 3.549 GB, free: 3.414 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.807e-06/10.02, allocations: 0 / 3.549 GB, free: 3.414 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001567/10.02, allocations: 178.8 kB / 3.549 GB, free: 3.246 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008721/10.02, allocations: 87.78 kB / 3.55 GB, free: 3.168 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000223/10.02, allocations: 27.94 kB / 3.55 GB, free: 3.141 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002398/10.02, allocations: 1.547 MB / 3.551 GB, free: 1.477 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/10.02, allocations: 0 / 3.551 GB, free: 1.477 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01525/10.04, allocations: 1.251 MB / 3.552 GB, free: 216 kB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.7387/10.77, allocations: 20.48 MB / 3.572 GB, free: 237.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.01396/10.79, allocations: 26.06 kB / 3.572 GB, free: 237.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0114/10.8, allocations: 186.8 kB / 3.572 GB, free: 237.9 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004203/10.8, allocations: 72.88 kB / 3.573 GB, free: 237.9 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001539/10.8, allocations: 40.77 kB / 3.573 GB, free: 237.9 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.1462/10.95, allocations: 76.17 MB / 3.647 GB, free: 210.6 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.283e-06/10.95, allocations: 0 / 3.647 GB, free: 210.6 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.02027/10.97, allocations: 6.033 MB / 3.653 GB, free: 204.8 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 (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.02605/10.99, allocations: 3.387 MB / 3.656 GB, free: 202.4 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.003225/11, allocations: 1.082 MB / 3.657 GB, free: 201.4 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 8.556e-06/11, allocations: 2.812 kB / 3.657 GB, free: 201.4 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.001584/11, allocations: 0.595 MB / 3.658 GB, free: 200.8 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01138/11.01, allocations: 342.5 kB / 3.658 GB, free: 200.6 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02403/11.03, allocations: 4.312 MB / 3.662 GB, free: 196.9 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001615/11.04, allocations: 1.716 MB / 3.664 GB, free: 195.5 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.02127/11.06, allocations: 11.11 MB / 3.675 GB, free: 184.6 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0344/11.09, allocations: 4.095 MB / 3.679 GB, free: 182 MB / 0.8698 GB Notification: Performance of SimCode: time 1.633e-06/11.09, allocations: 2.594 kB / 3.679 GB, free: 182 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.905/13, allocations: 0.522 GB / 4.201 GB, free: 5.652 MB / 0.9011 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003202/13, allocations: 254.9 kB / 4.201 GB, free: 5.312 MB / 0.9011 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_TransmittedRadiation.o Buildings_7_0_0_Buildings_HeatTransfer_Windows_BaseClasses_Examples_TransmittedRadiation.c In file included from Buildings_7_0_0_Buildings_HeatTransfer_Windows_BaseClasses_Examples_TransmittedRadiation.c:7: In file included from ./Buildings_7_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: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_TransmittedRadiation_functions.o Buildings_7_0_0_Buildings_HeatTransfer_Windows_BaseClasses_Examples_TransmittedRadiation_functions.c In file included from Buildings_7_0_0_Buildings_HeatTransfer_Windows_BaseClasses_Examples_TransmittedRadiation_functions.c:2: In file included from ./Buildings_7_0_0_Buildings_HeatTransfer_Windows_BaseClasses_Examples_TransmittedRadiation_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_TransmittedRadiation_functions.c:7: In file included from ./Buildings_7_0_0_Buildings_HeatTransfer_Windows_BaseClasses_Examples_TransmittedRadiation_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_TransmittedRadiation_functions.o' failed make: *** [Buildings_7_0_0_Buildings_HeatTransfer_Windows_BaseClasses_Examples_TransmittedRadiation_functions.o] Error 1