Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation,fileNamePrefix="Buildings_8_Buildings_HeatTransfer_Windows_BaseClasses_Examples_TransmittedRadiation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation,fileNamePrefix="Buildings_8_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 8.1.4-maint.8.1.x/package.mo): time 1.859/1.859, allocations: 289.7 MB / 302.2 MB, free: 2.172 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.001116/0.001116, allocations: 184.4 kB / 371.6 MB, free: 3.391 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.781/1.781, allocations: 205.1 MB / 0.6309 GB, free: 11.77 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009103/0.0009106, allocations: 91.48 kB / 0.745 GB, free: 54.57 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 3.403e-05/3.405e-05, allocations: 4 kB / 0.8663 GB, free: 14.97 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2576/0.2577, allocations: 116.3 MB / 0.9799 GB, free: 10.51 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.092/6.35, allocations: 2.096 GB / 3.076 GB, free: 98.94 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003131/6.35, allocations: 90.88 kB / 3.076 GB, free: 98.89 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 0.9792/7.329, allocations: 125.9 MB / 3.199 GB, free: 218.7 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.344e-06/7.329, allocations: 0 / 3.199 GB, free: 218.7 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.000348/7.33, allocations: 45.66 kB / 3.199 GB, free: 218.7 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: 280 * Number of variables: 280 Notification: Performance of Generate backend data structure: time 0.01292/7.343, allocations: 2.22 MB / 3.201 GB, free: 217.7 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.863e-05/7.343, allocations: 12.97 kB / 3.201 GB, free: 217.7 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000236/7.343, allocations: 171.3 kB / 3.202 GB, free: 217.6 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00754/7.351, allocations: 345.2 kB / 3.202 GB, free: 217.5 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.129/7.48, allocations: 93.93 MB / 3.294 GB, free: 202.2 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.607e-05/7.48, allocations: 85.11 kB / 3.294 GB, free: 202.2 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001551/7.48, allocations: 118.4 kB / 3.294 GB, free: 202.2 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001876/7.482, allocations: 1.146 MB / 3.295 GB, free: 201.6 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.268e-05/7.482, allocations: 3.844 kB / 3.295 GB, free: 201.6 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.409e-05/7.482, allocations: 43.25 kB / 3.295 GB, free: 201.6 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.99e-05/7.482, allocations: 28.5 kB / 3.295 GB, free: 201.6 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001672/7.484, allocations: 1.339 MB / 3.296 GB, free: 201.3 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1529/7.637, allocations: 79.06 MB / 3.374 GB, free: 152.2 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001887/7.638, allocations: 0.9835 MB / 3.375 GB, free: 151.3 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004687/7.639, allocations: 388.8 kB / 3.375 GB, free: 151 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001017/7.639, allocations: 39.89 kB / 3.375 GB, free: 151 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007148/7.64, allocations: 0.528 MB / 3.375 GB, free: 150.5 MB / 0.948 GB Notification: Performance of pre-optimization done (n=88): time 2.976e-06/7.64, allocations: 3.828 kB / 3.375 GB, free: 150.5 MB / 0.948 GB Notification: Performance of matching and sorting (n=88): time 0.008527/7.648, allocations: 1.051 MB / 3.377 GB, free: 149.6 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.592e-05/7.648, allocations: 250 kB / 3.377 GB, free: 149.3 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2048/7.853, allocations: 103.2 MB / 3.478 GB, free: 53.41 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0004421/7.854, allocations: 49.45 kB / 3.478 GB, free: 53.36 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001368/7.855, allocations: 1.002 MB / 3.479 GB, free: 52.44 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003749/7.856, allocations: 290.2 kB / 3.479 GB, free: 52.18 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.605e-05/7.856, allocations: 20 kB / 3.479 GB, free: 52.16 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001041/7.856, allocations: 348.9 kB / 3.479 GB, free: 51.83 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006531/7.856, allocations: 422.6 kB / 3.48 GB, free: 51.45 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007268/7.857, allocations: 0.5633 MB / 3.48 GB, free: 50.88 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001088/7.858, allocations: 0.4886 MB / 3.481 GB, free: 50.46 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.623e-06/7.858, allocations: 0 / 3.481 GB, free: 50.46 MB / 0.948 GB Notification: Performance of matching and sorting (n=123) (initialization): time 0.01588/7.874, allocations: 1.348 MB / 3.482 GB, free: 49.24 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 3.509e-05/7.874, allocations: 4 kB / 3.482 GB, free: 49.23 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.32e-05/7.874, allocations: 4 kB / 3.482 GB, free: 49.23 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008106/7.875, allocations: 83.44 kB / 3.482 GB, free: 49.17 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001401/7.876, allocations: 218.8 kB / 3.482 GB, free: 49 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002346/7.879, allocations: 1.519 MB / 3.484 GB, free: 47.43 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01249/7.891, allocations: 243.1 kB / 3.484 GB, free: 47.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004266/7.892, allocations: 47.31 kB / 3.484 GB, free: 47.16 MB / 0.948 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.0003786/7.892, allocations: 155.2 kB / 3.484 GB, free: 47.02 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.01196/7.904, allocations: 213.3 kB / 3.484 GB, free: 46.81 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006453/7.911, allocations: 1.455 MB / 3.486 GB, free: 45.59 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-05/7.911, allocations: 12.66 kB / 3.486 GB, free: 45.58 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.873e-06/7.911, allocations: 0 / 3.486 GB, free: 45.58 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.033e-05/7.911, allocations: 3.516 kB / 3.486 GB, free: 45.58 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.08886/8, allocations: 37.23 MB / 3.522 GB, free: 17.55 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-05/8, allocations: 0.8125 kB / 3.522 GB, free: 17.55 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001185/8.001, allocations: 178.6 kB / 3.522 GB, free: 17.39 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007814/8.002, allocations: 83.84 kB / 3.522 GB, free: 17.31 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.621e-05/8.002, allocations: 35.38 kB / 3.522 GB, free: 17.28 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002377/8.004, allocations: 1.546 MB / 3.524 GB, free: 15.62 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/8.004, allocations: 0 / 3.524 GB, free: 15.62 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01525/8.02, allocations: 1.253 MB / 3.525 GB, free: 14.35 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.7408/8.76, allocations: 20.49 MB / 3.545 GB, free: 215.7 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.008242/8.769, allocations: 26.92 kB / 3.545 GB, free: 215.7 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007144/8.776, allocations: 185.6 kB / 3.545 GB, free: 215.7 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002886/8.776, allocations: 73.36 kB / 3.545 GB, free: 215.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001064/8.776, allocations: 42.56 kB / 3.546 GB, free: 215.7 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.1094/8.886, allocations: 76.16 MB / 3.62 GB, free: 203 MB / 0.948 GB Notification: Performance of sort global known variables: time 8.91e-07/8.886, allocations: 0.5 kB / 3.62 GB, free: 203 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.01785/8.904, allocations: 6.027 MB / 3.626 GB, free: 203 MB / 0.948 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.01567/8.919, allocations: 3.383 MB / 3.629 GB, free: 201.8 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.002191/8.922, allocations: 1.087 MB / 3.63 GB, free: 201.4 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 4.95e-06/8.922, allocations: 0 / 3.63 GB, free: 201.4 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0008778/8.922, allocations: 0.5948 MB / 3.631 GB, free: 201.2 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0076/8.93, allocations: 351.2 kB / 3.631 GB, free: 201.1 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01589/8.946, allocations: 4.304 MB / 3.635 GB, free: 199.8 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001236/8.947, allocations: 1.711 MB / 3.637 GB, free: 198.9 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.01612/8.963, allocations: 11.11 MB / 3.648 GB, free: 198.9 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.02084/8.984, allocations: 4.099 MB / 3.652 GB, free: 198.1 MB / 0.948 GB Notification: Performance of SimCode: time 1.333e-06/8.984, allocations: 0.9375 kB / 3.652 GB, free: 198.1 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.309/10.29, allocations: 0.522 GB / 4.174 GB, free: 38.73 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001934/10.29, allocations: 240.2 kB / 4.174 GB, free: 38.39 MB / 0.948 GB Error: Error building simulator. Build log: clang -Os -fPIC -falign-functions -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 8.1.4-maint.8.1.x/Resources/C-Sources" -c -o Buildings_8_Buildings_HeatTransfer_Windows_BaseClasses_Examples_TransmittedRadiation.o Buildings_8_Buildings_HeatTransfer_Windows_BaseClasses_Examples_TransmittedRadiation.c In file included from Buildings_8_Buildings_HeatTransfer_Windows_BaseClasses_Examples_TransmittedRadiation.c:7: In file included from ./Buildings_8_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 -falign-functions -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 8.1.4-maint.8.1.x/Resources/C-Sources" -c -o Buildings_8_Buildings_HeatTransfer_Windows_BaseClasses_Examples_TransmittedRadiation_functions.o Buildings_8_Buildings_HeatTransfer_Windows_BaseClasses_Examples_TransmittedRadiation_functions.c In file included from Buildings_8_Buildings_HeatTransfer_Windows_BaseClasses_Examples_TransmittedRadiation_functions.c:2: In file included from ./Buildings_8_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_8_Buildings_HeatTransfer_Windows_BaseClasses_Examples_TransmittedRadiation_functions.c:7: In file included from ./Buildings_8_Buildings_HeatTransfer_Windows_BaseClasses_Examples_TransmittedRadiation_includes.h:4: /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Resources/C-Sources/getTimeSpan.c:9:10: fatal error: 'ModelicaUtilities.h' file not found #include "ModelicaUtilities.h" ^~~~~~~~~~~~~~~~~~~~~ 2 warnings and 1 error generated. make: *** [: Buildings_8_Buildings_HeatTransfer_Windows_BaseClasses_Examples_TransmittedRadiation_functions.o] Error 1