Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation,fileNamePrefix="Buildings_8_0_0_Buildings_HeatTransfer_Windows_BaseClasses_Examples_WindowRadiation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation,fileNamePrefix="Buildings_8_0_0_Buildings_HeatTransfer_Windows_BaseClasses_Examples_WindowRadiation",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.61/2.61, allocations: 287.3 MB / 302.3 MB, free: 8.242 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.001439/0.001439, allocations: 178.2 kB / 370.8 MB, free: 10.86 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.017/2.017, allocations: 205.4 MB / 0.6295 GB, free: 10.56 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001173/0.001173, allocations: 85.67 kB / 0.7428 GB, free: 6.562 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004873/0.0004873, allocations: 16.86 kB / 0.8657 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2176/0.2181, allocations: 115.3 MB / 0.9783 GB, free: 28.31 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.686/6.904, allocations: 2.103 GB / 3.081 GB, free: 171.2 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003594/6.905, allocations: 104.6 kB / 3.081 GB, free: 171.1 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 1.5/8.405, allocations: 195.6 MB / 3.272 GB, free: 239.2 MB / 0.948 GB Notification: Performance of FrontEnd: time 3.026e-06/8.405, allocations: 0 / 3.272 GB, free: 239.2 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0008891/8.406, allocations: 86.89 kB / 3.272 GB, free: 239.2 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: 342 * Number of variables: 342 Notification: Performance of Generate backend data structure: time 0.3118/8.718, allocations: 69.59 MB / 3.34 GB, free: 235.1 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.366e-05/8.718, allocations: 17.64 kB / 3.34 GB, free: 235.1 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009315/8.719, allocations: 206.2 kB / 3.34 GB, free: 235 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03543/8.754, allocations: 0.6001 MB / 3.341 GB, free: 234.7 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 1.336/10.09, allocations: 294.8 MB / 3.629 GB, free: 243.2 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002197/10.09, allocations: 125 kB / 3.629 GB, free: 243.2 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008274/10.09, allocations: 173 kB / 3.629 GB, free: 243.2 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006135/10.1, allocations: 1.775 MB / 3.631 GB, free: 243 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.026e-05/10.1, allocations: 1.688 kB / 3.631 GB, free: 243 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003011/10.1, allocations: 61.38 kB / 3.631 GB, free: 243 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.675e-05/10.1, allocations: 31.84 kB / 3.631 GB, free: 243 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006612/10.1, allocations: 1.845 MB / 3.633 GB, free: 242.9 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.7879/10.89, allocations: 258.8 MB / 3.886 GB, free: 106 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004149/10.9, allocations: 1.466 MB / 3.887 GB, free: 104.5 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001682/10.9, allocations: 40 kB / 3.887 GB, free: 104.5 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002325/10.9, allocations: 0.9372 MB / 3.888 GB, free: 103.5 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=105): time 6.082e-06/10.9, allocations: 0 / 3.888 GB, free: 103.5 MB / 0.9636 GB Notification: Performance of matching and sorting (n=105): time 0.04351/10.94, allocations: 3.137 MB / 3.891 GB, free: 100.3 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003225/10.94, allocations: 396.7 kB / 3.891 GB, free: 99.9 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.768/12.71, allocations: 322.2 MB / 4.206 GB, free: 128.1 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 0.0006793/12.71, allocations: 65.7 kB / 4.206 GB, free: 128.1 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.003594/12.72, allocations: 2.165 MB / 4.208 GB, free: 126.2 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006748/12.72, allocations: 354.7 kB / 4.209 GB, free: 126 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002265/12.72, allocations: 32 kB / 4.209 GB, free: 125.9 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0001515/12.72, allocations: 390 kB / 4.209 GB, free: 125.6 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002892/12.72, allocations: 1.306 MB / 4.21 GB, free: 124.4 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003072/12.72, allocations: 1.634 MB / 4.212 GB, free: 122.9 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003233/12.73, allocations: 1.625 MB / 4.213 GB, free: 121.4 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.929e-06/12.73, allocations: 0 / 4.213 GB, free: 121.4 MB / 0.9636 GB Notification: Performance of matching and sorting (n=230) (initialization): time 0.04278/12.77, allocations: 3.839 MB / 4.217 GB, free: 117.9 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002206/12.77, allocations: 167 kB / 4.217 GB, free: 117.8 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.188e-05/12.77, allocations: 11.05 kB / 4.217 GB, free: 117.8 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009732/12.77, allocations: 92.55 kB / 4.217 GB, free: 117.7 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002837/12.77, allocations: 373.2 kB / 4.218 GB, free: 117.4 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002607/12.78, allocations: 1.549 MB / 4.219 GB, free: 115.8 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03087/12.81, allocations: 0.5517 MB / 4.22 GB, free: 115.3 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007649/12.81, allocations: 115.1 kB / 4.22 GB, free: 115.2 MB / 0.9636 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * 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 (213): * Single equations (assignments): 211 * 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: 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.004652/12.81, allocations: 2.14 MB / 4.222 GB, free: 113.3 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.03436/12.85, allocations: 462.1 kB / 4.222 GB, free: 112.9 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008623/12.85, allocations: 2.908 MB / 4.225 GB, free: 110.4 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.46e-05/12.85, allocations: 12 kB / 4.225 GB, free: 110.4 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/12.85, allocations: 0 / 4.225 GB, free: 110.4 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.528e-05/12.85, allocations: 7.797 kB / 4.225 GB, free: 110.4 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.304/13.16, allocations: 127 MB / 4.349 GB, free: 4.898 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-05/13.16, allocations: 0 / 4.349 GB, free: 4.898 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001571/13.16, allocations: 177.7 kB / 4.35 GB, free: 4.734 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008587/13.16, allocations: 91.33 kB / 4.35 GB, free: 4.648 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003367/13.16, allocations: 39.06 kB / 4.35 GB, free: 4.613 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002489/13.16, allocations: 1.56 MB / 4.351 GB, free: 2.938 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/13.16, allocations: 0 / 4.351 GB, free: 2.938 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03997/13.2, allocations: 2.626 MB / 4.354 GB, free: 292 kB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.9611/14.17, allocations: 64 MB / 4.416 GB, free: 247.9 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.04047/14.21, allocations: 43.59 kB / 4.416 GB, free: 247.9 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.03032/14.24, allocations: 430.4 kB / 4.417 GB, free: 247.9 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005444/14.24, allocations: 85.3 kB / 4.417 GB, free: 247.9 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002785/14.24, allocations: 86.8 kB / 4.417 GB, free: 247.9 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.4451/14.68, allocations: 236.5 MB / 4.648 GB, free: 55.34 MB / 0.9636 GB Notification: Performance of sort global known variables: time 6.91e-07/14.68, allocations: 2.406 kB / 4.648 GB, free: 55.34 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.05413/14.74, allocations: 16.34 MB / 4.664 GB, free: 39.2 MB / 0.9636 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 (104): * Single equations (assignments): 100 * 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: 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.04621/14.78, allocations: 4.835 MB / 4.669 GB, free: 35.47 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.008128/14.79, allocations: 3.887 MB / 4.672 GB, free: 31.93 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 7.534e-06/14.79, allocations: 0 / 4.672 GB, free: 31.93 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.003344/14.79, allocations: 1.701 MB / 4.674 GB, free: 30.39 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02903/14.82, allocations: 0.546 MB / 4.675 GB, free: 29.92 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0627/14.89, allocations: 17.68 MB / 4.692 GB, free: 13.28 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006367/14.89, allocations: 3.043 MB / 4.695 GB, free: 10.95 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.7539/15.65, allocations: 32.86 MB / 4.727 GB, free: 251.9 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.1048/15.75, allocations: 11.46 MB / 4.738 GB, free: 251.9 MB / 0.9792 GB Notification: Performance of SimCode: time 1.904e-06/15.75, allocations: 1.219 kB / 4.738 GB, free: 251.9 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 6.197/21.95, allocations: 1.548 GB / 6.286 GB, free: 6.84 MB / 1.182 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004556/21.95, allocations: 268.3 kB / 6.286 GB, free: 6.484 MB / 1.182 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 8.0.0/Resources/C-Sources" -c -o Buildings_8_0_0_Buildings_HeatTransfer_Windows_BaseClasses_Examples_WindowRadiation.o Buildings_8_0_0_Buildings_HeatTransfer_Windows_BaseClasses_Examples_WindowRadiation.c In file included from Buildings_8_0_0_Buildings_HeatTransfer_Windows_BaseClasses_Examples_WindowRadiation.c:7: In file included from ./Buildings_8_0_0_Buildings_HeatTransfer_Windows_BaseClasses_Examples_WindowRadiation_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 8.0.0/Resources/C-Sources" -c -o Buildings_8_0_0_Buildings_HeatTransfer_Windows_BaseClasses_Examples_WindowRadiation_functions.o Buildings_8_0_0_Buildings_HeatTransfer_Windows_BaseClasses_Examples_WindowRadiation_functions.c In file included from Buildings_8_0_0_Buildings_HeatTransfer_Windows_BaseClasses_Examples_WindowRadiation_functions.c:2: In file included from ./Buildings_8_0_0_Buildings_HeatTransfer_Windows_BaseClasses_Examples_WindowRadiation_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_0_0_Buildings_HeatTransfer_Windows_BaseClasses_Examples_WindowRadiation_functions.c:7: In file included from ./Buildings_8_0_0_Buildings_HeatTransfer_Windows_BaseClasses_Examples_WindowRadiation_includes.h:4: /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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_8_0_0_Buildings_HeatTransfer_Windows_BaseClasses_Examples_WindowRadiation_functions.o' failed make: *** [Buildings_8_0_0_Buildings_HeatTransfer_Windows_BaseClasses_Examples_WindowRadiation_functions.o] Error 1