Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Sources.Examples.Outside.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.Fluid.Sources.Examples.Outside,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Sources_Examples_Outside",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.Outside,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Sources_Examples_Outside",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.856/2.856, allocations: 287.3 MB / 302.3 MB, free: 8.242 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.001625/0.001624, allocations: 179 kB / 370.8 MB, free: 10.86 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.213/2.213, allocations: 205.4 MB / 0.6295 GB, free: 10.59 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.001139/0.001139, allocations: 93.72 kB / 0.7428 GB, free: 6.617 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006405/0.0006408, allocations: 16.14 kB / 0.8657 GB, free: 140.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.219/0.2197, allocations: 115.3 MB / 0.9783 GB, free: 28.31 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside): time 0.9147/1.134, allocations: 146.9 MB / 1.122 GB, free: 156 kB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.01839/1.153, allocations: 9.005 MB / 1.131 GB, free: 15.4 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001835/1.155, allocations: 24.03 kB / 1.131 GB, free: 15.39 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.001534/1.156, allocations: 271 kB / 1.131 GB, free: 15.32 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.004261/1.161, allocations: 0.8042 MB / 1.132 GB, free: 15.27 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.00536/1.166, allocations: 1.119 MB / 1.133 GB, free: 15.22 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.003503/1.17, allocations: 1.284 MB / 1.134 GB, free: 15.16 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002201/1.172, allocations: 1.008 MB / 1.135 GB, free: 15.02 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003505/1.175, allocations: 1.002 MB / 1.136 GB, free: 14.88 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001418/1.177, allocations: 484.9 kB / 1.136 GB, free: 14.76 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0002761/1.177, allocations: 41.69 kB / 1.136 GB, free: 14.76 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003173/1.18, allocations: 0.6865 MB / 1.137 GB, free: 14.74 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0006152/1.181, allocations: 279.5 kB / 1.137 GB, free: 14.7 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0006415/1.182, allocations: 257.2 kB / 1.138 GB, free: 14.62 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.004138/1.186, allocations: 1.557 MB / 1.139 GB, free: 14.25 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/1.186, allocations: 1.859 kB / 1.139 GB, free: 14.25 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.306e-06/1.186, allocations: 0 / 1.139 GB, free: 14.25 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.975e-05/1.186, allocations: 0 / 1.139 GB, free: 14.25 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: 279 * Number of variables: 279 Notification: Performance of Generate backend data structure: time 0.005259/1.191, allocations: 1.459 MB / 1.141 GB, free: 13.23 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.837e-05/1.191, allocations: 9.156 kB / 1.141 GB, free: 13.23 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005945/1.192, allocations: 170.7 kB / 1.141 GB, free: 13.16 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003581/1.195, allocations: 360 kB / 1.141 GB, free: 13.01 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002881/1.198, allocations: 0.8678 MB / 1.142 GB, free: 12.52 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000111/1.199, allocations: 83.08 kB / 1.142 GB, free: 12.51 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002765/1.199, allocations: 115.6 kB / 1.142 GB, free: 12.5 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004178/1.203, allocations: 1.206 MB / 1.143 GB, free: 12.09 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.281e-05/1.203, allocations: 0 / 1.143 GB, free: 12.09 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002257/1.203, allocations: 52.48 kB / 1.143 GB, free: 12.09 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.756e-05/1.203, allocations: 31.5 kB / 1.143 GB, free: 12.08 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00471/1.208, allocations: 1.392 MB / 1.145 GB, free: 11.74 MB / 0.698 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01114/1.219, allocations: 3.701 MB / 1.148 GB, free: 9.707 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004089/1.223, allocations: 1.153 MB / 1.149 GB, free: 9.418 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001027/1.225, allocations: 258.6 kB / 1.15 GB, free: 9.199 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001957/1.227, allocations: 0.5792 MB / 1.15 GB, free: 8.992 MB / 0.698 GB Notification: Performance of pre-optimization done (n=97): time 3.998e-06/1.227, allocations: 0.75 kB / 1.15 GB, free: 8.992 MB / 0.698 GB Notification: Performance of matching and sorting (n=97): time 0.00704/1.234, allocations: 1.496 MB / 1.152 GB, free: 8.562 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001603/1.234, allocations: 191.3 kB / 1.152 GB, free: 8.344 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001929/1.236, allocations: 0.8037 MB / 1.153 GB, free: 8.098 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0003238/1.236, allocations: 49.16 kB / 1.153 GB, free: 8.062 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006079/1.237, allocations: 0.4972 MB / 1.153 GB, free: 7.809 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005663/1.237, allocations: 327.7 kB / 1.154 GB, free: 7.574 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.726e-05/1.237, allocations: 21.62 kB / 1.154 GB, free: 7.57 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.000186/1.238, allocations: 342 kB / 1.154 GB, free: 7.254 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001232/1.239, allocations: 322.3 kB / 1.154 GB, free: 7.203 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001439/1.24, allocations: 474.2 kB / 1.155 GB, free: 7.031 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001406/1.242, allocations: 392.1 kB / 1.155 GB, free: 6.988 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.252e-06/1.242, allocations: 0 / 1.155 GB, free: 6.988 MB / 0.698 GB Notification: Performance of matching and sorting (n=110) (initialization): time 0.004293/1.246, allocations: 1.043 MB / 1.156 GB, free: 6.73 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.049e-05/1.246, allocations: 6.438 kB / 1.156 GB, free: 6.73 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.215e-05/1.246, allocations: 1.344 kB / 1.156 GB, free: 6.73 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009749/1.247, allocations: 85.11 kB / 1.156 GB, free: 6.695 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00189/1.249, allocations: 207.1 kB / 1.156 GB, free: 6.652 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0032/1.252, allocations: 1.536 MB / 1.158 GB, free: 5.293 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001872/1.254, allocations: 132.5 kB / 1.158 GB, free: 5.223 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002045/1.254, allocations: 35.02 kB / 1.158 GB, free: 5.219 MB / 0.698 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 (108): * Single equations (assignments): 107 * 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.00108/1.256, allocations: 311.9 kB / 1.158 GB, free: 4.996 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004634/1.256, allocations: 108.1 kB / 1.158 GB, free: 4.941 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005445/1.261, allocations: 1.412 MB / 1.16 GB, free: 4.109 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.885e-05/1.262, allocations: 9.625 kB / 1.16 GB, free: 4.109 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.54e-06/1.262, allocations: 0.9688 kB / 1.16 GB, free: 4.109 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.644e-05/1.262, allocations: 11.92 kB / 1.16 GB, free: 4.098 MB / 0.698 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00892/1.271, allocations: 2.688 MB / 1.162 GB, free: 2.258 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.109e-05/1.271, allocations: 2.531 kB / 1.162 GB, free: 2.258 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001763/1.272, allocations: 194.1 kB / 1.163 GB, free: 2.215 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009359/1.273, allocations: 93.42 kB / 1.163 GB, free: 2.168 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000183/1.274, allocations: 26.7 kB / 1.163 GB, free: 2.152 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003058/1.277, allocations: 1.59 MB / 1.164 GB, free: 0.6133 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.224e-06/1.277, allocations: 5.984 kB / 1.164 GB, free: 0.6094 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006397/1.283, allocations: 1.83 MB / 1.166 GB, free: 15.46 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001193/1.284, allocations: 338.4 kB / 1.166 GB, free: 15.18 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003724/1.285, allocations: 23.47 kB / 1.166 GB, free: 15.16 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001702/1.286, allocations: 89.45 kB / 1.166 GB, free: 15.12 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002945/1.287, allocations: 73.39 kB / 1.167 GB, free: 15.09 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001643/1.287, allocations: 48.61 kB / 1.167 GB, free: 15.07 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.001454/1.288, allocations: 0.5766 MB / 1.167 GB, free: 14.73 MB / 0.7136 GB Notification: Performance of sort global known variables: time 6.22e-07/1.288, allocations: 4 kB / 1.167 GB, free: 14.72 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.002094/1.291, allocations: 399.8 kB / 1.168 GB, free: 14.61 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 3 (senTem.T,senRelHum.phi,senMasFra.X) * 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 (105): * Single equations (assignments): 102 * 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.00863/1.299, allocations: 3.482 MB / 1.171 GB, free: 12.21 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.00379/1.303, allocations: 0.9756 MB / 1.172 GB, free: 11.71 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 9.398e-06/1.303, allocations: 4.062 kB / 1.172 GB, free: 11.7 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.002104/1.305, allocations: 0.6084 MB / 1.172 GB, free: 11.37 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004009/1.309, allocations: 448.6 kB / 1.173 GB, free: 11.15 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02439/1.334, allocations: 7.621 MB / 1.18 GB, free: 6.031 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001101/1.335, allocations: 1.155 MB / 1.181 GB, free: 5.117 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.00251/1.337, allocations: 346.1 kB / 1.182 GB, free: 4.953 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001398/1.339, allocations: 0.4926 MB / 1.182 GB, free: 4.551 MB / 0.7136 GB Notification: Performance of SimCode: time 1.242e-06/1.339, allocations: 0 / 1.182 GB, free: 4.551 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1363/1.475, allocations: 30.34 MB / 1.212 GB, free: 8.324 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003772/1.476, allocations: 239.5 kB / 1.212 GB, free: 8.086 MB / 0.7448 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_Fluid_Sources_Examples_Outside.o Buildings_8_0_0_Buildings_Fluid_Sources_Examples_Outside.c In file included from Buildings_8_0_0_Buildings_Fluid_Sources_Examples_Outside.c:7: In file included from ./Buildings_8_0_0_Buildings_Fluid_Sources_Examples_Outside_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_Fluid_Sources_Examples_Outside_functions.o Buildings_8_0_0_Buildings_Fluid_Sources_Examples_Outside_functions.c In file included from Buildings_8_0_0_Buildings_Fluid_Sources_Examples_Outside_functions.c:2: In file included from ./Buildings_8_0_0_Buildings_Fluid_Sources_Examples_Outside_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_Fluid_Sources_Examples_Outside_functions.c:7: In file included from ./Buildings_8_0_0_Buildings_Fluid_Sources_Examples_Outside_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_Fluid_Sources_Examples_Outside_functions.o' failed make: *** [Buildings_8_0_0_Buildings_Fluid_Sources_Examples_Outside_functions.o] Error 1