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.217/2.217, allocations: 251 MB / 265.9 MB, free: 11.68 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.001427/0.001428, allocations: 181.9 kB / 325.5 MB, free: 2.902 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.334/2.334, allocations: 205.4 MB / 0.5764 GB, free: 20.8 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.001165/0.001165, allocations: 94.03 kB / 0.6809 GB, free: 13.66 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004739/0.0004737, allocations: 12.47 kB / 0.795 GB, free: 135.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2087/0.2092, allocations: 106.3 MB / 0.8988 GB, free: 65.44 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.178/7.388, allocations: 2.213 GB / 3.112 GB, free: 237.9 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003421/7.388, allocations: 98.06 kB / 3.112 GB, free: 237.9 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.4822/7.87, allocations: 125.8 MB / 3.235 GB, free: 192.6 MB / 0.8855 GB Notification: Performance of FrontEnd: time 3.015e-06/7.87, allocations: 0 / 3.235 GB, free: 192.6 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0003125/7.871, allocations: 47.94 kB / 3.235 GB, free: 192.6 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: 280 * Number of variables: 280 Notification: Performance of Generate backend data structure: time 0.09784/7.969, allocations: 23.13 MB / 3.257 GB, free: 172.4 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.912e-05/7.969, allocations: 8.031 kB / 3.257 GB, free: 172.4 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000675/7.969, allocations: 173 kB / 3.258 GB, free: 172.2 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01235/7.982, allocations: 344.5 kB / 3.258 GB, free: 171.8 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1874/8.169, allocations: 94.33 MB / 3.35 GB, free: 77.42 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.152e-05/8.169, allocations: 86.2 kB / 3.35 GB, free: 77.33 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002396/8.17, allocations: 116 kB / 3.35 GB, free: 77.22 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002923/8.173, allocations: 1.187 MB / 3.351 GB, free: 75.96 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.243e-05/8.173, allocations: 3.953 kB / 3.351 GB, free: 75.96 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001738/8.173, allocations: 48 kB / 3.352 GB, free: 75.91 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.978e-05/8.173, allocations: 32 kB / 3.352 GB, free: 75.88 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003329/8.176, allocations: 1.386 MB / 3.353 GB, free: 74.49 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.8836/9.06, allocations: 79.06 MB / 3.43 GB, free: 261.2 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005443/9.065, allocations: 1.024 MB / 3.431 GB, free: 261.2 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000259/9.066, allocations: 36.12 kB / 3.431 GB, free: 261.2 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003631/9.069, allocations: 0.5549 MB / 3.432 GB, free: 261.1 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=88): time 8.446e-06/9.069, allocations: 0 / 3.432 GB, free: 261.1 MB / 0.8855 GB Notification: Performance of matching and sorting (n=88): time 0.01888/9.088, allocations: 1.588 MB / 3.433 GB, free: 260.9 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001309/9.088, allocations: 247.6 kB / 3.433 GB, free: 260.6 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.3747/9.463, allocations: 103.7 MB / 3.535 GB, free: 216.9 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0004158/9.464, allocations: 45.7 kB / 3.535 GB, free: 216.8 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.001334/9.465, allocations: 1.006 MB / 3.536 GB, free: 215.9 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004349/9.466, allocations: 291.5 kB / 3.536 GB, free: 215.7 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001152/9.466, allocations: 20 kB / 3.536 GB, free: 215.7 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 9.677e-05/9.466, allocations: 346 kB / 3.536 GB, free: 215.4 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00123/9.467, allocations: 449.4 kB / 3.537 GB, free: 215 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001314/9.468, allocations: 0.5859 MB / 3.537 GB, free: 214.4 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001311/9.47, allocations: 0.5109 MB / 3.538 GB, free: 214 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.941e-06/9.47, allocations: 0 / 3.538 GB, free: 214 MB / 0.8855 GB Notification: Performance of matching and sorting (n=123) (initialization): time 0.01537/9.485, allocations: 1.392 MB / 3.539 GB, free: 212.7 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 3.145e-05/9.485, allocations: 13.97 kB / 3.539 GB, free: 212.7 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.218e-05/9.485, allocations: 0 / 3.539 GB, free: 212.7 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009948/9.486, allocations: 88.64 kB / 3.539 GB, free: 212.7 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001866/9.488, allocations: 217 kB / 3.54 GB, free: 212.5 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002735/9.491, allocations: 1.538 MB / 3.541 GB, free: 210.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01098/9.502, allocations: 235.2 kB / 3.541 GB, free: 210.7 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004086/9.502, allocations: 43.66 kB / 3.541 GB, free: 210.7 MB / 0.8855 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 () * Number of clocked 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.002117/9.504, allocations: 0.7784 MB / 3.542 GB, free: 210 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.01142/9.516, allocations: 213.3 kB / 3.542 GB, free: 209.8 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005492/9.521, allocations: 1.502 MB / 3.544 GB, free: 208.5 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.73e-05/9.521, allocations: 13.22 kB / 3.544 GB, free: 208.5 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.529e-06/9.521, allocations: 0 / 3.544 GB, free: 208.5 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.611e-05/9.521, allocations: 7.031 kB / 3.544 GB, free: 208.5 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.09394/9.615, allocations: 37.27 MB / 3.58 GB, free: 181.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.095e-06/9.616, allocations: 0 / 3.58 GB, free: 181.1 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001358/9.617, allocations: 175.9 kB / 3.58 GB, free: 181 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008481/9.618, allocations: 83.97 kB / 3.58 GB, free: 180.9 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001133/9.618, allocations: 34.05 kB / 3.58 GB, free: 180.9 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002393/9.62, allocations: 1.556 MB / 3.582 GB, free: 179.3 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.926e-06/9.62, allocations: 3.953 kB / 3.582 GB, free: 179.3 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01494/9.635, allocations: 1.294 MB / 3.583 GB, free: 178.1 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.06344/9.699, allocations: 20.49 MB / 3.603 GB, free: 158.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.01365/9.712, allocations: 24.75 kB / 3.603 GB, free: 158.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01105/9.724, allocations: 193.3 kB / 3.603 GB, free: 158.7 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004054/9.724, allocations: 74.42 kB / 3.603 GB, free: 158.7 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001342/9.724, allocations: 35.75 kB / 3.604 GB, free: 158.6 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.1378/9.862, allocations: 76.58 MB / 3.678 GB, free: 87.41 MB / 0.8855 GB Notification: Performance of sort global known variables: time 7.01e-07/9.862, allocations: 0 / 3.678 GB, free: 87.41 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.01943/9.881, allocations: 6.036 MB / 3.684 GB, free: 81.55 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 (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.02101/9.903, allocations: 3.417 MB / 3.688 GB, free: 78.8 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.003547/9.906, allocations: 1.136 MB / 3.689 GB, free: 77.68 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 7.034e-06/9.906, allocations: 2.156 kB / 3.689 GB, free: 77.68 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.001729/9.908, allocations: 0.6072 MB / 3.689 GB, free: 77.09 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01113/9.919, allocations: 345.4 kB / 3.69 GB, free: 76.76 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02674/9.946, allocations: 6.89 MB / 3.696 GB, free: 70.03 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00177/9.948, allocations: 1.712 MB / 3.698 GB, free: 68.3 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.02222/9.97, allocations: 11.11 MB / 3.709 GB, free: 57.32 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.03312/10, allocations: 4.099 MB / 3.713 GB, free: 53.25 MB / 0.8855 GB Notification: Performance of SimCode: time 1.433e-06/10, allocations: 0 / 3.713 GB, free: 53.25 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.443/12.45, allocations: 0.519 GB / 4.232 GB, free: 105.6 MB / 0.9011 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002482/12.45, allocations: 282.6 kB / 4.232 GB, free: 105.2 MB / 0.9011 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_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: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_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: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_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