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.612/2.612, allocations: 287.3 MB / 302.3 MB, free: 8.352 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.001601/0.001601, allocations: 179.2 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.06/2.06, 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.00123/0.001229, allocations: 97.41 kB / 0.7428 GB, free: 6.594 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004966/0.0004966, allocations: 15.42 kB / 0.8657 GB, free: 141 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2198/0.2204, allocations: 115.3 MB / 0.9783 GB, free: 28.3 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.775/6.996, allocations: 2.101 GB / 3.08 GB, free: 153.2 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003276/6.996, allocations: 94.75 kB / 3.08 GB, free: 153.2 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 2.016/9.012, allocations: 394.3 MB / 3.465 GB, free: 140.3 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.655e-06/9.012, allocations: 4 kB / 3.465 GB, free: 140.3 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001245/9.013, allocations: 36 kB / 3.465 GB, free: 140.2 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: 279 * Number of variables: 279 Notification: Performance of Generate backend data structure: time 0.0046/9.017, allocations: 1.658 MB / 3.466 GB, free: 138.5 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.797e-05/9.017, allocations: 8.031 kB / 3.466 GB, free: 138.5 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003584/9.018, allocations: 172.9 kB / 3.467 GB, free: 138.3 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003168/9.021, allocations: 345.9 kB / 3.467 GB, free: 138 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003881/9.025, allocations: 1.117 MB / 3.468 GB, free: 136.8 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.289e-05/9.025, allocations: 86.2 kB / 3.468 GB, free: 136.8 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002376/9.025, allocations: 112 kB / 3.468 GB, free: 136.7 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003079/9.028, allocations: 1.21 MB / 3.469 GB, free: 135.4 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.402e-05/9.028, allocations: 0 / 3.469 GB, free: 135.4 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001766/9.028, allocations: 48 kB / 3.469 GB, free: 135.3 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.517e-05/9.028, allocations: 24 kB / 3.469 GB, free: 135.3 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003396/9.032, allocations: 1.402 MB / 3.471 GB, free: 133.9 MB / 0.948 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.008564/9.04, allocations: 3.682 MB / 3.474 GB, free: 130.1 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003436/9.044, allocations: 1.169 MB / 3.475 GB, free: 128.9 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009634/9.045, allocations: 425.4 kB / 3.476 GB, free: 128.4 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001541/9.046, allocations: 0.5943 MB / 3.476 GB, free: 127.8 MB / 0.948 GB Notification: Performance of pre-optimization done (n=97): time 3.727e-06/9.046, allocations: 4 kB / 3.476 GB, free: 127.8 MB / 0.948 GB Notification: Performance of matching and sorting (n=97): time 0.006096/9.053, allocations: 1.509 MB / 3.478 GB, free: 126.2 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.883e-05/9.053, allocations: 256.3 kB / 3.478 GB, free: 125.9 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001571/9.054, allocations: 0.7784 MB / 3.479 GB, free: 125.1 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001963/9.055, allocations: 53.64 kB / 3.479 GB, free: 125.1 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004984/9.055, allocations: 0.4886 MB / 3.479 GB, free: 124.6 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003422/9.055, allocations: 327.2 kB / 3.48 GB, free: 124.2 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.978e-05/9.055, allocations: 16 kB / 3.48 GB, free: 124.2 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 9.563e-05/9.056, allocations: 341.9 kB / 3.48 GB, free: 123.9 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001061/9.057, allocations: 337.8 kB / 3.48 GB, free: 123.6 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001179/9.058, allocations: 499.6 kB / 3.481 GB, free: 123 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001194/9.059, allocations: 409.6 kB / 3.481 GB, free: 122.6 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.899e-06/9.059, allocations: 4 kB / 3.481 GB, free: 122.6 MB / 0.948 GB Notification: Performance of matching and sorting (n=109) (initialization): time 0.003655/9.063, allocations: 1.048 MB / 3.482 GB, free: 121.6 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.383e-05/9.063, allocations: 8.062 kB / 3.482 GB, free: 121.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.189e-05/9.063, allocations: 3.984 kB / 3.482 GB, free: 121.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009684/9.064, allocations: 84.78 kB / 3.482 GB, free: 121.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001662/9.065, allocations: 207.7 kB / 3.483 GB, free: 121.3 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002603/9.068, allocations: 1.544 MB / 3.484 GB, free: 119.6 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001642/9.07, allocations: 126.9 kB / 3.484 GB, free: 119.5 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001337/9.07, allocations: 40.05 kB / 3.484 GB, free: 119.4 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 (107): * Single equations (assignments): 106 * 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.0008472/9.071, allocations: 311.5 kB / 3.485 GB, free: 119.1 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002859/9.071, allocations: 110.7 kB / 3.485 GB, free: 119 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004651/9.076, allocations: 1.436 MB / 3.486 GB, free: 117.5 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.451e-05/9.076, allocations: 12 kB / 3.486 GB, free: 117.5 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.042e-06/9.076, allocations: 3.953 kB / 3.486 GB, free: 117.5 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.523e-05/9.076, allocations: 3.984 kB / 3.486 GB, free: 117.5 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006832/9.083, allocations: 2.671 MB / 3.489 GB, free: 114.7 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.005e-05/9.083, allocations: 7.938 kB / 3.489 GB, free: 114.7 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001625/9.084, allocations: 199.6 kB / 3.489 GB, free: 114.5 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008297/9.085, allocations: 88.95 kB / 3.489 GB, free: 114.5 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.73e-05/9.085, allocations: 31.98 kB / 3.489 GB, free: 114.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002367/9.088, allocations: 1.575 MB / 3.491 GB, free: 112.7 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.787e-06/9.088, allocations: 3.953 kB / 3.491 GB, free: 112.7 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00515/9.093, allocations: 1.831 MB / 3.492 GB, free: 110.8 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008549/9.094, allocations: 363.2 kB / 3.493 GB, free: 110.4 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002485/9.094, allocations: 27.98 kB / 3.493 GB, free: 110.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001463/9.096, allocations: 87.84 kB / 3.493 GB, free: 110.3 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002169/9.096, allocations: 77.2 kB / 3.493 GB, free: 110.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001196/9.096, allocations: 39.98 kB / 3.493 GB, free: 110.2 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.00123/9.097, allocations: 0.6362 MB / 3.494 GB, free: 109.6 MB / 0.948 GB Notification: Performance of sort global known variables: time 4.21e-07/9.097, allocations: 0 / 3.494 GB, free: 109.6 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002352/9.1, allocations: 0.5576 MB / 3.494 GB, free: 109 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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.009622/9.109, allocations: 4.563 MB / 3.499 GB, free: 104.5 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.003096/9.112, allocations: 0.9914 MB / 3.5 GB, free: 103.5 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 7.454e-06/9.112, allocations: 4 kB / 3.5 GB, free: 103.5 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.001589/9.114, allocations: 0.6294 MB / 3.5 GB, free: 102.8 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003442/9.117, allocations: 463.8 kB / 3.501 GB, free: 102.4 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01763/9.135, allocations: 7.557 MB / 3.508 GB, free: 94.57 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007781/9.136, allocations: 1.162 MB / 3.509 GB, free: 93.38 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.002139/9.138, allocations: 360.9 kB / 3.509 GB, free: 93.02 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009834/9.139, allocations: 491.2 kB / 3.51 GB, free: 92.54 MB / 0.948 GB Notification: Performance of SimCode: time 1.183e-06/9.139, allocations: 0 / 3.51 GB, free: 92.54 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1204/9.259, allocations: 51.88 MB / 3.561 GB, free: 40.97 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002072/9.26, allocations: 232.9 kB / 3.561 GB, free: 40.74 MB / 0.948 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: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 -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: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_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