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.633/2.633, allocations: 287.3 MB / 302.3 MB, free: 8.348 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.001657/0.001657, allocations: 190.9 kB / 370.8 MB, free: 10.85 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.117/2.117, allocations: 205.4 MB / 0.6295 GB, free: 10.58 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.001129/0.001129, allocations: 101.7 kB / 0.7428 GB, free: 6.602 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005098/0.0005098, allocations: 13.78 kB / 0.8657 GB, free: 140.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2733/0.2738, allocations: 115.3 MB / 0.9783 GB, free: 28.3 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation): time 0.01131/0.2852, allocations: 5.702 MB / 0.9838 GB, free: 22.56 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.8871/1.172, allocations: 132 MB / 1.113 GB, free: 1.375 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00173/1.174, allocations: 28.34 kB / 1.113 GB, free: 1.363 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.006573/1.181, allocations: 1.427 MB / 1.114 GB, free: 1.195 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.004549/1.185, allocations: 0.9507 MB / 1.115 GB, free: 1.125 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.005019/1.19, allocations: 0.9916 MB / 1.116 GB, free: 1.09 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.006126/1.197, allocations: 2.618 MB / 1.119 GB, free: 1.004 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001935/1.199, allocations: 0.8966 MB / 1.12 GB, free: 0.8203 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003807/1.202, allocations: 1.238 MB / 1.121 GB, free: 0.5781 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002949/1.205, allocations: 1.016 MB / 1.122 GB, free: 388 kB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0007731/1.206, allocations: 64.38 kB / 1.122 GB, free: 388 kB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005496/1.212, allocations: 1.707 MB / 1.123 GB, free: 364 kB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.004048/1.216, allocations: 2.836 MB / 1.126 GB, free: 192 kB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.002337/1.218, allocations: 0.763 MB / 1.127 GB, free: 15.99 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.01577/1.234, allocations: 8.801 MB / 1.136 GB, free: 12.34 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/1.234, allocations: 0 / 1.136 GB, free: 12.34 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.887e-06/1.234, allocations: 1.031 kB / 1.136 GB, free: 12.34 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0002978/1.234, allocations: 0 / 1.136 GB, free: 12.34 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 362 * Number of variables: 362 Notification: Performance of Generate backend data structure: time 0.02702/1.262, allocations: 6.606 MB / 1.142 GB, free: 8.766 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 6.189e-05/1.262, allocations: 12.8 kB / 1.142 GB, free: 8.762 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008398/1.262, allocations: 207 kB / 1.142 GB, free: 8.688 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005389/1.268, allocations: 0.6038 MB / 1.143 GB, free: 8.367 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3816/1.65, allocations: 255.5 MB / 1.392 GB, free: 12.66 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002009/1.65, allocations: 130.7 kB / 1.392 GB, free: 12.53 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008447/1.651, allocations: 180 kB / 1.393 GB, free: 12.35 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006086/1.657, allocations: 1.666 MB / 1.394 GB, free: 10.61 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.497e-05/1.657, allocations: 3.938 kB / 1.394 GB, free: 10.6 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002849/1.657, allocations: 64 kB / 1.394 GB, free: 10.54 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.31e-05/1.657, allocations: 32 kB / 1.394 GB, free: 10.51 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005997/1.663, allocations: 1.723 MB / 1.396 GB, free: 8.777 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.7593/2.423, allocations: 69.58 MB / 1.464 GB, free: 365.4 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004122/2.427, allocations: 1.465 MB / 1.465 GB, free: 364.9 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001488/2.427, allocations: 40.5 kB / 1.465 GB, free: 364.9 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002266/2.429, allocations: 0.9184 MB / 1.466 GB, free: 364.3 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=105): time 4.659e-06/2.429, allocations: 0 / 1.466 GB, free: 364.3 MB / 0.9636 GB Notification: Performance of matching and sorting (n=105): time 0.01183/2.441, allocations: 3.117 MB / 1.469 GB, free: 361.6 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002746/2.441, allocations: 342.9 kB / 1.47 GB, free: 361.3 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.4329/2.874, allocations: 316 MB / 1.778 GB, free: 48.86 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 0.0006492/2.875, allocations: 57.7 kB / 1.778 GB, free: 48.8 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.004585/2.88, allocations: 2.21 MB / 1.78 GB, free: 46.66 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006596/2.88, allocations: 353.2 kB / 1.781 GB, free: 46.34 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000227/2.881, allocations: 36 kB / 1.781 GB, free: 46.3 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0002015/2.881, allocations: 386.3 kB / 1.781 GB, free: 45.93 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003129/2.884, allocations: 1.314 MB / 1.783 GB, free: 44.61 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00368/2.888, allocations: 1.601 MB / 1.784 GB, free: 42.93 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003928/2.892, allocations: 1.627 MB / 1.786 GB, free: 41.31 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.74e-05/2.892, allocations: 4 kB / 1.786 GB, free: 41.31 MB / 0.9636 GB Notification: Performance of matching and sorting (n=231) (initialization): time 0.01325/2.905, allocations: 3.826 MB / 1.789 GB, free: 37.48 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002853/2.905, allocations: 169.6 kB / 1.79 GB, free: 37.31 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.94e-05/2.905, allocations: 7.719 kB / 1.79 GB, free: 37.3 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009687/2.906, allocations: 92.66 kB / 1.79 GB, free: 37.21 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003093/2.91, allocations: 375.4 kB / 1.79 GB, free: 36.85 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002819/2.912, allocations: 1.545 MB / 1.792 GB, free: 35.17 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007087/2.919, allocations: 0.6198 MB / 1.792 GB, free: 34.55 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007491/2.92, allocations: 87.97 kB / 1.792 GB, free: 34.46 MB / 0.9636 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * 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 (214): * Single equations (assignments): 212 * 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.005852/2.926, allocations: 2.143 MB / 1.794 GB, free: 32.31 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003514/2.93, allocations: 446.1 kB / 1.795 GB, free: 31.87 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009097/2.939, allocations: 2.891 MB / 1.798 GB, free: 28.99 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.596e-05/2.939, allocations: 8 kB / 1.798 GB, free: 28.98 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/2.939, allocations: 0 / 1.798 GB, free: 28.98 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.619e-05/2.939, allocations: 11.97 kB / 1.798 GB, free: 28.97 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02308/2.962, allocations: 7.625 MB / 1.805 GB, free: 21.3 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.398e-06/2.962, allocations: 0 / 1.805 GB, free: 21.3 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001503/2.964, allocations: 186 kB / 1.805 GB, free: 21.12 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008723/2.965, allocations: 84.77 kB / 1.805 GB, free: 21.03 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002755/2.965, allocations: 35.73 kB / 1.805 GB, free: 21 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002383/2.967, allocations: 1.564 MB / 1.807 GB, free: 19.3 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/2.967, allocations: 3.938 kB / 1.807 GB, free: 19.29 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0106/2.978, allocations: 2.601 MB / 1.809 GB, free: 16.66 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006309/2.984, allocations: 1.767 MB / 1.811 GB, free: 14.86 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003389/2.988, allocations: 27.95 kB / 1.811 GB, free: 14.84 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006413/2.994, allocations: 421.6 kB / 1.812 GB, free: 14.43 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000512/2.995, allocations: 78.23 kB / 1.812 GB, free: 14.35 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001822/2.995, allocations: 59.58 kB / 1.812 GB, free: 14.3 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.9938/3.989, allocations: 251.6 MB / 2.057 GB, free: 160.1 MB / 0.9636 GB Notification: Performance of sort global known variables: time 7.42e-07/3.989, allocations: 0 / 2.057 GB, free: 160.1 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.008091/3.997, allocations: 1.33 MB / 2.059 GB, free: 159 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.01338/4.01, allocations: 3.967 MB / 2.063 GB, free: 155.5 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.008002/4.018, allocations: 3.859 MB / 2.066 GB, free: 151.6 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 6.672e-06/4.018, allocations: 3.062 kB / 2.066 GB, free: 151.6 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.003365/4.022, allocations: 1.676 MB / 2.068 GB, free: 149.9 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006077/4.028, allocations: 0.522 MB / 2.068 GB, free: 149.4 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04008/4.068, allocations: 17.56 MB / 2.086 GB, free: 131.5 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007148/4.075, allocations: 3.062 MB / 2.089 GB, free: 128.4 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.007966/4.083, allocations: 1.677 MB / 2.09 GB, free: 126.7 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008125/4.091, allocations: 2.318 MB / 2.092 GB, free: 124.4 MB / 0.9636 GB Notification: Performance of SimCode: time 1.352e-06/4.092, allocations: 0 / 2.092 GB, free: 124.4 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.121/5.212, allocations: 210.2 MB / 2.298 GB, free: 298.9 MB / 0.9636 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002943/5.213, allocations: 270.9 kB / 2.298 GB, free: 298.6 MB / 0.9636 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:218:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:222: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:218:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:222: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