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.656/1.656, allocations: 292.6 MB / 307.5 MB, free: 5.195 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.001106/0.001106, allocations: 180 kB / 377.1 MB, free: 1.539 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.666/1.666, allocations: 205.4 MB / 0.6366 GB, free: 8.562 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.0009212/0.0009211, allocations: 96.3 kB / 0.7509 GB, free: 63.1 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003489/0.0003491, allocations: 8 kB / 0.8749 GB, free: 11.11 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2796/0.2799, allocations: 116.3 MB / 0.9884 GB, free: 6.652 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.45/5.73, allocations: 2.096 GB / 3.085 GB, free: 84.43 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003198/5.73, allocations: 102.9 kB / 3.085 GB, free: 84.38 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 0.7819/6.512, allocations: 126.2 MB / 3.208 GB, free: 230.8 MB / 0.948 GB Notification: Performance of FrontEnd: time 3.056e-06/6.512, allocations: 0 / 3.208 GB, free: 230.8 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0002281/6.513, allocations: 48.03 kB / 3.208 GB, free: 230.8 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.06837/6.581, allocations: 23.13 MB / 3.231 GB, free: 229.3 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.891e-05/6.581, allocations: 6.594 kB / 3.231 GB, free: 229.3 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000629/6.582, allocations: 171.4 kB / 3.231 GB, free: 229.2 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008077/6.59, allocations: 345.2 kB / 3.231 GB, free: 229.1 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1241/6.714, allocations: 94.33 MB / 3.323 GB, free: 194.2 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.015e-05/6.714, allocations: 86.2 kB / 3.324 GB, free: 194.1 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000158/6.714, allocations: 124.7 kB / 3.324 GB, free: 194 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001916/6.716, allocations: 1.178 MB / 3.325 GB, free: 193 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.392e-05/6.716, allocations: 1.594 kB / 3.325 GB, free: 193 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.808e-05/6.716, allocations: 48 kB / 3.325 GB, free: 192.9 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.972e-05/6.716, allocations: 28 kB / 3.325 GB, free: 192.9 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001857/6.718, allocations: 1.389 MB / 3.326 GB, free: 191.8 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1452/6.863, allocations: 79.07 MB / 3.403 GB, free: 127.8 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002081/6.865, allocations: 1.034 MB / 3.404 GB, free: 126.9 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001043/6.865, allocations: 36.64 kB / 3.404 GB, free: 126.9 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008038/6.866, allocations: 0.5537 MB / 3.405 GB, free: 126.5 MB / 0.948 GB Notification: Performance of pre-optimization done (n=88): time 2.785e-06/6.866, allocations: 0 / 3.405 GB, free: 126.5 MB / 0.948 GB Notification: Performance of matching and sorting (n=88): time 0.01063/6.877, allocations: 1.589 MB / 3.407 GB, free: 125 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.358e-05/6.877, allocations: 244.3 kB / 3.407 GB, free: 124.7 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1895/7.067, allocations: 103.7 MB / 3.508 GB, free: 24.79 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0003345/7.067, allocations: 49.86 kB / 3.508 GB, free: 24.74 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009049/7.068, allocations: 0.9971 MB / 3.509 GB, free: 23.73 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002303/7.068, allocations: 287 kB / 3.509 GB, free: 23.46 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.552e-05/7.068, allocations: 20 kB / 3.509 GB, free: 23.44 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 6.909e-05/7.068, allocations: 345.9 kB / 3.51 GB, free: 23.09 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007774/7.069, allocations: 456.3 kB / 3.51 GB, free: 22.65 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007355/7.07, allocations: 0.5825 MB / 3.511 GB, free: 22.04 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007406/7.071, allocations: 0.5129 MB / 3.511 GB, free: 21.53 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.148e-06/7.071, allocations: 0 / 3.511 GB, free: 21.53 MB / 0.948 GB Notification: Performance of matching and sorting (n=123) (initialization): time 0.009664/7.08, allocations: 1.393 MB / 3.513 GB, free: 20.13 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.673e-05/7.08, allocations: 11.22 kB / 3.513 GB, free: 20.12 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.212e-05/7.08, allocations: 9.109 kB / 3.513 GB, free: 20.12 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006399/7.081, allocations: 79.22 kB / 3.513 GB, free: 20.04 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008923/7.082, allocations: 222.6 kB / 3.513 GB, free: 19.84 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001748/7.084, allocations: 1.526 MB / 3.514 GB, free: 18.19 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006867/7.09, allocations: 237.2 kB / 3.515 GB, free: 17.96 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001846/7.091, allocations: 53.16 kB / 3.515 GB, free: 17.91 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 () * Number of clocked 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.001469/7.092, allocations: 0.7812 MB / 3.515 GB, free: 17.13 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006919/7.099, allocations: 215.4 kB / 3.516 GB, free: 16.92 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003491/7.103, allocations: 1.501 MB / 3.517 GB, free: 15.44 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.778e-06/7.103, allocations: 12 kB / 3.517 GB, free: 15.43 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/7.103, allocations: 7.938 kB / 3.517 GB, free: 15.42 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.166e-05/7.103, allocations: 6.516 kB / 3.517 GB, free: 15.42 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.5387/7.641, allocations: 37.27 MB / 3.553 GB, free: 227.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.29e-06/7.641, allocations: 0 / 3.553 GB, free: 227.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007486/7.642, allocations: 182.4 kB / 3.554 GB, free: 227.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005397/7.643, allocations: 83.03 kB / 3.554 GB, free: 227.8 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.052e-05/7.643, allocations: 28.52 kB / 3.554 GB, free: 227.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001638/7.644, allocations: 1.557 MB / 3.555 GB, free: 226.5 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.006e-06/7.644, allocations: 2.828 kB / 3.555 GB, free: 226.5 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008594/7.653, allocations: 1.297 MB / 3.557 GB, free: 226.3 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.04695/7.7, allocations: 20.49 MB / 3.577 GB, free: 226.1 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.009153/7.709, allocations: 27.55 kB / 3.577 GB, free: 226.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007277/7.716, allocations: 187.2 kB / 3.577 GB, free: 226.1 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003531/7.717, allocations: 69.12 kB / 3.577 GB, free: 226.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001553/7.717, allocations: 45.77 kB / 3.577 GB, free: 226.1 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.09632/7.813, allocations: 76.57 MB / 3.652 GB, free: 206.1 MB / 0.948 GB Notification: Performance of sort global known variables: time 3.71e-07/7.813, allocations: 0 / 3.652 GB, free: 206.1 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0136/7.827, allocations: 6.039 MB / 3.658 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) * 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.01319/7.84, allocations: 3.419 MB / 3.661 GB, free: 200.5 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.002144/7.842, allocations: 1.133 MB / 3.662 GB, free: 199.5 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 5.09e-06/7.842, allocations: 2.875 kB / 3.662 GB, free: 199.5 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0009763/7.843, allocations: 0.6148 MB / 3.663 GB, free: 198.9 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006925/7.85, allocations: 332.2 kB / 3.663 GB, free: 198.7 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0197/7.87, allocations: 6.885 MB / 3.67 GB, free: 192.5 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001622/7.872, allocations: 1.715 MB / 3.671 GB, free: 191.1 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.01631/7.888, allocations: 11.11 MB / 3.682 GB, free: 180.2 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01942/7.908, allocations: 4.097 MB / 3.686 GB, free: 177.6 MB / 0.948 GB Notification: Performance of SimCode: time 7.384e-06/7.908, allocations: 0 / 3.686 GB, free: 177.6 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.149/9.057, allocations: 0.519 GB / 4.205 GB, free: 10.31 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001731/9.057, allocations: 273.4 kB / 4.205 GB, free: 9.957 MB / 0.948 GB Error: Error building simulator. Build log: clang -Os -fPIC -falign-functions -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.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: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 -falign-functions -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.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: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_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