Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Sources.Examples.Outside.conf.json 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 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.Outside,fileNamePrefix="Buildings_7_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 7.0.1/package.mo): time 2.222/2.222, allocations: 251 MB / 265.9 MB, free: 11.68 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001556/0.001555, allocations: 187.8 kB / 325.5 MB, free: 2.887 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.313/2.313, allocations: 205.4 MB / 0.5764 GB, free: 20.84 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001141/0.001141, allocations: 98.19 kB / 0.6809 GB, free: 13.66 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006593/0.0006594, allocations: 15.3 kB / 0.795 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2386/0.2394, allocations: 106.3 MB / 0.8988 GB, free: 65.48 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.352/7.592, allocations: 2.219 GB / 3.118 GB, free: 241.5 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003093/7.592, allocations: 96.45 kB / 3.118 GB, free: 241.5 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 1.95/9.542, allocations: 384 MB / 3.493 GB, free: 212.7 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.885e-06/9.543, allocations: 0 / 3.493 GB, free: 212.7 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0001415/9.543, allocations: 36.91 kB / 3.493 GB, free: 212.7 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 281 * Number of variables: 281 Notification: Performance of Generate backend data structure: time 0.005279/9.548, allocations: 1.664 MB / 3.495 GB, free: 211.9 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.225e-05/9.548, allocations: 13.81 kB / 3.495 GB, free: 211.9 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005899/9.549, allocations: 165.4 kB / 3.495 GB, free: 211.9 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003555/9.552, allocations: 353.5 kB / 3.495 GB, free: 211.8 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004237/9.557, allocations: 1.115 MB / 3.497 GB, free: 211.5 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.311e-05/9.557, allocations: 88.89 kB / 3.497 GB, free: 211.5 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002468/9.557, allocations: 109.7 kB / 3.497 GB, free: 211.5 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003371/9.56, allocations: 1.214 MB / 3.498 GB, free: 211.3 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.765e-05/9.56, allocations: 0 / 3.498 GB, free: 211.3 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001868/9.561, allocations: 49.75 kB / 3.498 GB, free: 211.3 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.175e-05/9.561, allocations: 26.06 kB / 3.498 GB, free: 211.3 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003789/9.564, allocations: 1.391 MB / 3.499 GB, free: 211.3 MB / 0.8855 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.009747/9.574, allocations: 3.753 MB / 3.503 GB, free: 210.2 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003547/9.578, allocations: 1.158 MB / 3.504 GB, free: 210 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000985/9.579, allocations: 427.3 kB / 3.505 GB, free: 209.6 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001631/9.581, allocations: 0.5938 MB / 3.505 GB, free: 209.6 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=97): time 4.659e-06/9.581, allocations: 0 / 3.505 GB, free: 209.6 MB / 0.8855 GB Notification: Performance of matching and sorting (n=97): time 0.006377/9.587, allocations: 1.519 MB / 3.507 GB, free: 209.3 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.942e-05/9.587, allocations: 243.7 kB / 3.507 GB, free: 209.1 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001708/9.589, allocations: 0.7866 MB / 3.508 GB, free: 208.9 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0003447/9.589, allocations: 44.45 kB / 3.508 GB, free: 208.9 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004982/9.59, allocations: 0.4977 MB / 3.508 GB, free: 208.7 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.000408/9.59, allocations: 334 kB / 3.508 GB, free: 208.6 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001007/9.59, allocations: 17.25 kB / 3.508 GB, free: 208.6 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 9.252e-05/9.59, allocations: 341.5 kB / 3.509 GB, free: 208.3 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001082/9.591, allocations: 339.5 kB / 3.509 GB, free: 208.3 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001209/9.593, allocations: 495.5 kB / 3.51 GB, free: 208.1 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001227/9.594, allocations: 402.5 kB / 3.51 GB, free: 208.1 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.254e-06/9.594, allocations: 3.938 kB / 3.51 GB, free: 208.1 MB / 0.8855 GB Notification: Performance of matching and sorting (n=109) (initialization): time 0.003834/9.598, allocations: 1.049 MB / 3.511 GB, free: 208 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.833e-05/9.598, allocations: 3.875 kB / 3.511 GB, free: 208 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.123e-05/9.598, allocations: 3.781 kB / 3.511 GB, free: 208 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009747/9.599, allocations: 85.67 kB / 3.511 GB, free: 208 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001769/9.601, allocations: 208.4 kB / 3.511 GB, free: 208 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002706/9.603, allocations: 1.545 MB / 3.513 GB, free: 206.7 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0018/9.605, allocations: 127.4 kB / 3.513 GB, free: 206.7 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001477/9.605, allocations: 36.91 kB / 3.513 GB, free: 206.7 MB / 0.8855 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.0009118/9.606, allocations: 302.8 kB / 3.513 GB, free: 206.6 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003435/9.607, allocations: 123.4 kB / 3.513 GB, free: 206.5 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004689/9.611, allocations: 1.434 MB / 3.515 GB, free: 206.4 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.018e-05/9.611, allocations: 10.34 kB / 3.515 GB, free: 206.4 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/9.611, allocations: 0 / 3.515 GB, free: 206.4 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.653e-05/9.611, allocations: 3.844 kB / 3.515 GB, free: 206.4 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007364/9.619, allocations: 2.695 MB / 3.517 GB, free: 205.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.167e-06/9.619, allocations: 0 / 3.517 GB, free: 205.9 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001686/9.621, allocations: 193 kB / 3.518 GB, free: 205.9 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008574/9.621, allocations: 86.86 kB / 3.518 GB, free: 205.9 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001318/9.622, allocations: 32.44 kB / 3.518 GB, free: 205.9 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002459/9.624, allocations: 1.573 MB / 3.519 GB, free: 204.6 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.506e-06/9.624, allocations: 3.891 kB / 3.519 GB, free: 204.6 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005413/9.63, allocations: 1.829 MB / 3.521 GB, free: 204.2 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001047/9.631, allocations: 361 kB / 3.521 GB, free: 204 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002616/9.631, allocations: 25.52 kB / 3.521 GB, free: 204 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001509/9.632, allocations: 93.72 kB / 3.521 GB, free: 204 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002272/9.633, allocations: 79.09 kB / 3.522 GB, free: 204 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000131/9.633, allocations: 43.06 kB / 3.522 GB, free: 204 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.00132/9.634, allocations: 0.6377 MB / 3.522 GB, free: 203.9 MB / 0.8855 GB Notification: Performance of sort global known variables: time 5.11e-07/9.634, allocations: 0 / 3.522 GB, free: 203.9 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.002579/9.637, allocations: 0.562 MB / 3.523 GB, free: 203.8 MB / 0.8855 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.009606/9.646, allocations: 4.545 MB / 3.527 GB, free: 202.1 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.003316/9.65, allocations: 0.9955 MB / 3.528 GB, free: 202 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 8.767e-06/9.65, allocations: 0 / 3.528 GB, free: 202 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.001711/9.652, allocations: 0.6272 MB / 3.529 GB, free: 201.9 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003677/9.655, allocations: 456.4 kB / 3.529 GB, free: 201.9 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01975/9.675, allocations: 7.583 MB / 3.537 GB, free: 199 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008019/9.676, allocations: 1.157 MB / 3.538 GB, free: 198.3 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.002368/9.678, allocations: 365.3 kB / 3.538 GB, free: 198.3 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001056/9.679, allocations: 494.1 kB / 3.539 GB, free: 198.3 MB / 0.8855 GB Notification: Performance of SimCode: time 1.563e-06/9.679, allocations: 0 / 3.539 GB, free: 198.3 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1293/9.809, allocations: 52.01 MB / 3.589 GB, free: 170.6 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002753/9.809, allocations: 251.4 kB / 3.59 GB, free: 170.3 MB / 0.8855 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 7.0.1/Resources/C-Sources" -c -o Buildings_7_0_0_Buildings_Fluid_Sources_Examples_Outside.o Buildings_7_0_0_Buildings_Fluid_Sources_Examples_Outside.c In file included from Buildings_7_0_0_Buildings_Fluid_Sources_Examples_Outside.c:7: In file included from ./Buildings_7_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 7.0.1/Resources/C-Sources" -c -o Buildings_7_0_0_Buildings_Fluid_Sources_Examples_Outside_functions.o Buildings_7_0_0_Buildings_Fluid_Sources_Examples_Outside_functions.c In file included from Buildings_7_0_0_Buildings_Fluid_Sources_Examples_Outside_functions.c:2: In file included from ./Buildings_7_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_7_0_0_Buildings_Fluid_Sources_Examples_Outside_functions.c:7: In file included from ./Buildings_7_0_0_Buildings_Fluid_Sources_Examples_Outside_includes.h:4: /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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_7_0_0_Buildings_Fluid_Sources_Examples_Outside_functions.o' failed make: *** [Buildings_7_0_0_Buildings_Fluid_Sources_Examples_Outside_functions.o] Error 1