Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation.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.AbsorbedRadiation,fileNamePrefix="Buildings_8_0_0_Buildings_HeatTransfer_Windows_BaseClasses_Examples_AbsorbedRadiation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation,fileNamePrefix="Buildings_8_0_0_Buildings_HeatTransfer_Windows_BaseClasses_Examples_AbsorbedRadiation",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.752/2.752, allocations: 287.3 MB / 302.3 MB, free: 8.301 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.001521/0.001521, allocations: 174.5 kB / 370.8 MB, free: 10.84 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.116/2.116, 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.00118/0.00118, allocations: 85.12 kB / 0.7428 GB, free: 6.59 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0007078/0.000708, allocations: 17.17 kB / 0.8657 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2404/0.2412, allocations: 115.3 MB / 0.9783 GB, free: 28.28 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation): time 0.007248/0.2485, allocations: 4.665 MB / 0.9828 GB, free: 23.59 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.9072/1.156, allocations: 131.1 MB / 1.111 GB, free: 1.465 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001423/1.157, allocations: 20.66 kB / 1.111 GB, free: 1.457 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.006193/1.163, allocations: 1.302 MB / 1.112 GB, free: 1.32 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.00343/1.167, allocations: 0.6581 MB / 1.113 GB, free: 1.258 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.003975/1.171, allocations: 0.7624 MB / 1.114 GB, free: 1.234 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.004674/1.176, allocations: 1.823 MB / 1.115 GB, free: 1.172 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001651/1.177, allocations: 0.6915 MB / 1.116 GB, free: 1.043 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002869/1.18, allocations: 0.879 MB / 1.117 GB, free: 0.8672 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002326/1.183, allocations: 0.6892 MB / 1.118 GB, free: 0.7266 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0004712/1.183, allocations: 46.5 kB / 1.118 GB, free: 0.7266 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005307/1.188, allocations: 1.655 MB / 1.119 GB, free: 0.7031 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.001866/1.19, allocations: 1.252 MB / 1.12 GB, free: 0.6094 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0008899/1.191, allocations: 414.7 kB / 1.121 GB, free: 16.48 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.008213/1.199, allocations: 4.212 MB / 1.125 GB, free: 16.02 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 3.436e-06/1.2, allocations: 0 / 1.125 GB, free: 16.02 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.285e-06/1.2, allocations: 1.719 kB / 1.125 GB, free: 16.02 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0001172/1.2, allocations: 0 / 1.125 GB, free: 16.02 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: 296 * Number of variables: 296 Notification: Performance of Generate backend data structure: time 0.01213/1.212, allocations: 3.349 MB / 1.128 GB, free: 14.01 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.919e-05/1.212, allocations: 9.281 kB / 1.128 GB, free: 14.01 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006988/1.213, allocations: 176.8 kB / 1.128 GB, free: 13.94 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002448/1.215, allocations: 350 kB / 1.129 GB, free: 13.77 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1189/1.334, allocations: 80.82 MB / 1.208 GB, free: 9 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001659/1.334, allocations: 106.2 kB / 1.208 GB, free: 8.895 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004631/1.335, allocations: 147.9 kB / 1.208 GB, free: 8.75 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004064/1.339, allocations: 1.265 MB / 1.209 GB, free: 7.422 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.368e-05/1.339, allocations: 0 / 1.209 GB, free: 7.422 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002016/1.339, allocations: 48 kB / 1.209 GB, free: 7.375 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.601e-05/1.339, allocations: 28 kB / 1.209 GB, free: 7.348 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004251/1.343, allocations: 1.376 MB / 1.211 GB, free: 5.965 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04109/1.385, allocations: 23.39 MB / 1.233 GB, free: 14.53 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00357/1.388, allocations: 1.125 MB / 1.234 GB, free: 13.4 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001561/1.388, allocations: 36.91 kB / 1.235 GB, free: 13.37 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002052/1.39, allocations: 0.7013 MB / 1.235 GB, free: 12.65 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=92): time 5.5e-06/1.391, allocations: 0 / 1.235 GB, free: 12.65 MB / 0.7761 GB Notification: Performance of matching and sorting (n=92): time 0.008067/1.399, allocations: 2.226 MB / 1.237 GB, free: 10.39 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003363/1.399, allocations: 328.1 kB / 1.238 GB, free: 10.03 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1763/1.575, allocations: 99.65 MB / 1.335 GB, free: 6.355 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0005222/1.576, allocations: 53.7 kB / 1.335 GB, free: 6.297 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.002185/1.578, allocations: 1.057 MB / 1.336 GB, free: 5.234 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006759/1.579, allocations: 315.8 kB / 1.336 GB, free: 4.93 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001538/1.579, allocations: 32 kB / 1.336 GB, free: 4.898 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0002579/1.579, allocations: 373.9 kB / 1.337 GB, free: 4.527 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002819/1.582, allocations: 0.9949 MB / 1.338 GB, free: 3.531 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003211/1.585, allocations: 1.201 MB / 1.339 GB, free: 2.277 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003485/1.589, allocations: 1.263 MB / 1.34 GB, free: 1.004 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.24e-05/1.589, allocations: 0 / 1.34 GB, free: 1.004 MB / 0.8698 GB Notification: Performance of matching and sorting (n=181) (initialization): time 0.009586/1.599, allocations: 2.774 MB / 1.343 GB, free: 14.21 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002958/1.599, allocations: 153.6 kB / 1.343 GB, free: 14.05 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.203e-05/1.599, allocations: 4 kB / 1.343 GB, free: 14.05 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.611e-05/1.599, allocations: 8 kB / 1.343 GB, free: 14.04 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002475/1.601, allocations: 295.6 kB / 1.343 GB, free: 13.75 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.304e-05/1.601, allocations: 16.12 kB / 1.343 GB, free: 13.74 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003522/1.605, allocations: 309.8 kB / 1.344 GB, free: 13.43 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005095/1.606, allocations: 65.84 kB / 1.344 GB, free: 13.37 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (166): * Single equations (assignments): 165 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003343/1.609, allocations: 1.014 MB / 1.345 GB, free: 12.34 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001585/1.611, allocations: 229.1 kB / 1.345 GB, free: 12.11 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007004/1.618, allocations: 2.091 MB / 1.347 GB, free: 10.01 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.085e-05/1.618, allocations: 8 kB / 1.347 GB, free: 10 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.768e-06/1.618, allocations: 0 / 1.347 GB, free: 10 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.963e-05/1.618, allocations: 3.984 kB / 1.347 GB, free: 10 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01359/1.631, allocations: 4.295 MB / 1.351 GB, free: 5.664 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.649e-06/1.631, allocations: 0 / 1.351 GB, free: 5.664 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001351/1.633, allocations: 159.8 kB / 1.351 GB, free: 5.508 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.438e-05/1.633, allocations: 4 kB / 1.351 GB, free: 5.504 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001578/1.633, allocations: 27.98 kB / 1.351 GB, free: 5.477 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.065e-05/1.633, allocations: 7.938 kB / 1.351 GB, free: 5.469 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.856e-06/1.633, allocations: 0 / 1.351 GB, free: 5.469 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006447/1.639, allocations: 1.951 MB / 1.353 GB, free: 3.492 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003069/1.643, allocations: 0.796 MB / 1.354 GB, free: 2.676 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001378/1.644, allocations: 24 kB / 1.354 GB, free: 2.652 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003095/1.647, allocations: 188.8 kB / 1.354 GB, free: 2.469 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003805/1.648, allocations: 68.91 kB / 1.354 GB, free: 2.402 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001732/1.648, allocations: 46.55 kB / 1.354 GB, free: 2.359 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.1204/1.768, allocations: 79.54 MB / 1.432 GB, free: 2.809 MB / 0.9636 GB Notification: Performance of sort global known variables: time 8.51e-07/1.768, allocations: 0 / 1.432 GB, free: 2.809 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.005082/1.773, allocations: 1.006 MB / 1.433 GB, free: 1.805 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 (90): * Single equations (assignments): 87 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.6653/2.439, allocations: 3.299 MB / 1.436 GB, free: 373.1 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.007759/2.446, allocations: 3.115 MB / 1.439 GB, free: 372.5 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 9.618e-06/2.446, allocations: 1.984 kB / 1.439 GB, free: 372.5 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.003159/2.45, allocations: 1.315 MB / 1.441 GB, free: 372 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003509/2.453, allocations: 332 kB / 1.441 GB, free: 371.8 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02329/2.477, allocations: 9.538 MB / 1.45 GB, free: 366 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003326/2.48, allocations: 1.794 MB / 1.452 GB, free: 365.1 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.004136/2.484, allocations: 0.7677 MB / 1.453 GB, free: 364.9 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003648/2.488, allocations: 1.097 MB / 1.454 GB, free: 364.2 MB / 0.9636 GB Notification: Performance of SimCode: time 1.453e-06/2.488, allocations: 0 / 1.454 GB, free: 364.2 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2533/2.741, allocations: 88.54 MB / 1.54 GB, free: 296.7 MB / 0.9636 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003001/2.742, allocations: 244 kB / 1.54 GB, free: 296.3 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_AbsorbedRadiation.o Buildings_8_0_0_Buildings_HeatTransfer_Windows_BaseClasses_Examples_AbsorbedRadiation.c In file included from Buildings_8_0_0_Buildings_HeatTransfer_Windows_BaseClasses_Examples_AbsorbedRadiation.c:7: In file included from ./Buildings_8_0_0_Buildings_HeatTransfer_Windows_BaseClasses_Examples_AbsorbedRadiation_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_AbsorbedRadiation_functions.o Buildings_8_0_0_Buildings_HeatTransfer_Windows_BaseClasses_Examples_AbsorbedRadiation_functions.c In file included from Buildings_8_0_0_Buildings_HeatTransfer_Windows_BaseClasses_Examples_AbsorbedRadiation_functions.c:2: In file included from ./Buildings_8_0_0_Buildings_HeatTransfer_Windows_BaseClasses_Examples_AbsorbedRadiation_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_AbsorbedRadiation_functions.c:7: In file included from ./Buildings_8_0_0_Buildings_HeatTransfer_Windows_BaseClasses_Examples_AbsorbedRadiation_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_AbsorbedRadiation_functions.o' failed make: *** [Buildings_8_0_0_Buildings_HeatTransfer_Windows_BaseClasses_Examples_AbsorbedRadiation_functions.o] Error 1