Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.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.TransmittedRadiation,fileNamePrefix="Buildings_8_0_0_Buildings_HeatTransfer_Windows_BaseClasses_Examples_TransmittedRadiation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation,fileNamePrefix="Buildings_8_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 8.0.0/package.mo): time 2.606/2.606, allocations: 287.3 MB / 302.3 MB, free: 8.219 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.001599/0.001599, allocations: 179 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.206/2.206, allocations: 205.4 MB / 0.6295 GB, free: 10.62 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.001082/0.001082, allocations: 96.97 kB / 0.7428 GB, free: 6.621 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004904/0.0004903, allocations: 17.53 kB / 0.8657 GB, free: 140.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2031/0.2037, allocations: 115.3 MB / 0.9783 GB, free: 28.29 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation): time 0.006913/0.2107, allocations: 4.618 MB / 0.9828 GB, free: 23.64 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.894/1.105, allocations: 131 MB / 1.111 GB, free: 1.137 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001281/1.106, allocations: 20.78 kB / 1.111 GB, free: 1.129 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.006047/1.112, allocations: 1.293 MB / 1.112 GB, free: 0.9922 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.003181/1.115, allocations: 0.6394 MB / 1.113 GB, free: 0.9453 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.003394/1.119, allocations: 0.6829 MB / 1.113 GB, free: 0.9141 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.003552/1.122, allocations: 1.306 MB / 1.115 GB, free: 0.8594 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001626/1.124, allocations: 0.713 MB / 1.115 GB, free: 0.7305 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001744/1.126, allocations: 0.5822 MB / 1.116 GB, free: 0.5898 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001463/1.127, allocations: 0.5495 MB / 1.116 GB, free: 456 kB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0002971/1.128, allocations: 34.06 kB / 1.116 GB, free: 456 kB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005197/1.133, allocations: 1.687 MB / 1.118 GB, free: 432 kB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.001832/1.135, allocations: 1.04 MB / 1.119 GB, free: 340 kB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.000919/1.136, allocations: 388.2 kB / 1.119 GB, free: 16.22 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.007724/1.144, allocations: 4.013 MB / 1.123 GB, free: 15.97 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/1.144, allocations: 0 / 1.123 GB, free: 15.97 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.497e-06/1.144, allocations: 0 / 1.123 GB, free: 15.97 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0001583/1.144, allocations: 0 / 1.123 GB, free: 15.97 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: 300 * Number of variables: 300 Notification: Performance of Generate backend data structure: time 0.01163/1.155, allocations: 3.151 MB / 1.126 GB, free: 14.24 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.31e-05/1.155, allocations: 9.719 kB / 1.126 GB, free: 14.24 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006713/1.156, allocations: 177.7 kB / 1.127 GB, free: 14.17 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00276/1.159, allocations: 348 kB / 1.127 GB, free: 14 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.14/1.299, allocations: 80.73 MB / 1.206 GB, free: 10.82 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001309/1.299, allocations: 99.05 kB / 1.206 GB, free: 10.73 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003192/1.3, allocations: 120 kB / 1.206 GB, free: 10.61 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004815/1.304, allocations: 1.246 MB / 1.207 GB, free: 9.301 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.742e-05/1.304, allocations: 0 / 1.207 GB, free: 9.301 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003523/1.305, allocations: 55.94 kB / 1.207 GB, free: 9.246 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.581e-05/1.305, allocations: 35.92 kB / 1.207 GB, free: 9.211 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01008/1.315, allocations: 1.414 MB / 1.209 GB, free: 7.789 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05422/1.369, allocations: 23.12 MB / 1.231 GB, free: 0.6133 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003541/1.373, allocations: 1.016 MB / 1.232 GB, free: 15.59 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001464/1.373, allocations: 37.56 kB / 1.232 GB, free: 15.56 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001521/1.375, allocations: 0.5591 MB / 1.233 GB, free: 14.98 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=88): time 4.007e-06/1.375, allocations: 0 / 1.233 GB, free: 14.98 MB / 0.7761 GB Notification: Performance of matching and sorting (n=88): time 0.006986/1.382, allocations: 1.567 MB / 1.234 GB, free: 13.39 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000138/1.382, allocations: 196.9 kB / 1.235 GB, free: 13.15 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1767/1.559, allocations: 99.36 MB / 1.332 GB, free: 9.75 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0003493/1.559, allocations: 49.7 kB / 1.332 GB, free: 9.695 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.001872/1.561, allocations: 1.021 MB / 1.333 GB, free: 8.668 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005343/1.562, allocations: 292 kB / 1.333 GB, free: 8.387 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001011/1.562, allocations: 21.86 kB / 1.333 GB, free: 8.367 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001914/1.562, allocations: 345.9 kB / 1.333 GB, free: 8.023 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001467/1.563, allocations: 453.7 kB / 1.334 GB, free: 7.578 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001698/1.565, allocations: 0.5705 MB / 1.334 GB, free: 6.977 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00171/1.567, allocations: 0.4989 MB / 1.335 GB, free: 6.48 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.356e-06/1.567, allocations: 0 / 1.335 GB, free: 6.48 MB / 0.8698 GB Notification: Performance of matching and sorting (n=124) (initialization): time 0.006167/1.573, allocations: 1.394 MB / 1.336 GB, free: 5.07 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 3.305e-05/1.573, allocations: 7.984 kB / 1.336 GB, free: 5.062 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.412e-05/1.573, allocations: 4 kB / 1.336 GB, free: 5.059 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001016/1.574, allocations: 80.88 kB / 1.336 GB, free: 4.977 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002057/1.576, allocations: 223.7 kB / 1.336 GB, free: 4.758 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003236/1.58, allocations: 1.528 MB / 1.338 GB, free: 3.09 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003188/1.583, allocations: 257 kB / 1.338 GB, free: 2.84 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003404/1.583, allocations: 47.98 kB / 1.338 GB, free: 2.793 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (122): * Single equations (assignments): 121 * 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.002596/1.586, allocations: 0.7922 MB / 1.339 GB, free: 1.992 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001315/1.587, allocations: 217.2 kB / 1.339 GB, free: 1.777 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006107/1.593, allocations: 1.49 MB / 1.341 GB, free: 276 kB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.431e-05/1.593, allocations: 12 kB / 1.341 GB, free: 264 kB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.029e-06/1.593, allocations: 0 / 1.341 GB, free: 264 kB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.659e-05/1.593, allocations: 3.984 kB / 1.341 GB, free: 260 kB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01204/1.605, allocations: 3.523 MB / 1.344 GB, free: 12.69 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.299e-05/1.605, allocations: 7.938 kB / 1.344 GB, free: 12.68 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00161/1.607, allocations: 179.8 kB / 1.344 GB, free: 12.51 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009748/1.608, allocations: 84.78 kB / 1.344 GB, free: 12.42 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002467/1.608, allocations: 27.98 kB / 1.344 GB, free: 12.39 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003009/1.611, allocations: 1.563 MB / 1.346 GB, free: 10.69 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.547e-06/1.611, allocations: 0 / 1.346 GB, free: 10.69 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005285/1.617, allocations: 1.292 MB / 1.347 GB, free: 9.379 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002774/1.62, allocations: 0.7475 MB / 1.348 GB, free: 8.609 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00119/1.621, allocations: 20 kB / 1.348 GB, free: 8.59 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002722/1.624, allocations: 183.9 kB / 1.348 GB, free: 8.41 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003924/1.624, allocations: 72.89 kB / 1.348 GB, free: 8.34 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001483/1.624, allocations: 39.98 kB / 1.348 GB, free: 8.301 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.1272/1.751, allocations: 79.37 MB / 1.426 GB, free: 8.906 MB / 0.9636 GB Notification: Performance of sort global known variables: time 6.91e-07/1.751, allocations: 0 / 1.426 GB, free: 8.906 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.004637/1.756, allocations: 0.9438 MB / 1.427 GB, free: 7.965 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 (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.009534/1.766, allocations: 2.644 MB / 1.429 GB, free: 5.52 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.003972/1.77, allocations: 1.13 MB / 1.43 GB, free: 4.379 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 6.262e-06/1.77, allocations: 0 / 1.43 GB, free: 4.379 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.001959/1.772, allocations: 0.6174 MB / 1.431 GB, free: 3.75 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003323/1.775, allocations: 329 kB / 1.431 GB, free: 3.426 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6914/2.466, allocations: 6.921 MB / 1.438 GB, free: 369.6 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00326/2.47, allocations: 1.734 MB / 1.44 GB, free: 368.9 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.004197/2.474, allocations: 0.7536 MB / 1.44 GB, free: 368.9 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003939/2.478, allocations: 1.054 MB / 1.441 GB, free: 368.9 MB / 0.9636 GB Notification: Performance of SimCode: time 1.923e-06/2.478, allocations: 0.8438 kB / 1.441 GB, free: 368.9 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2007/2.679, allocations: 84.84 MB / 1.524 GB, free: 312.7 MB / 0.9636 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002697/2.679, allocations: 291.9 kB / 1.525 GB, free: 312.4 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_TransmittedRadiation.o Buildings_8_0_0_Buildings_HeatTransfer_Windows_BaseClasses_Examples_TransmittedRadiation.c In file included from Buildings_8_0_0_Buildings_HeatTransfer_Windows_BaseClasses_Examples_TransmittedRadiation.c:7: In file included from ./Buildings_8_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: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_TransmittedRadiation_functions.o Buildings_8_0_0_Buildings_HeatTransfer_Windows_BaseClasses_Examples_TransmittedRadiation_functions.c In file included from Buildings_8_0_0_Buildings_HeatTransfer_Windows_BaseClasses_Examples_TransmittedRadiation_functions.c:2: In file included from ./Buildings_8_0_0_Buildings_HeatTransfer_Windows_BaseClasses_Examples_TransmittedRadiation_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_TransmittedRadiation_functions.c:7: In file included from ./Buildings_8_0_0_Buildings_HeatTransfer_Windows_BaseClasses_Examples_TransmittedRadiation_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_TransmittedRadiation_functions.o' failed make: *** [Buildings_8_0_0_Buildings_HeatTransfer_Windows_BaseClasses_Examples_TransmittedRadiation_functions.o] Error 1