Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Sources.Examples.Outside_Cp.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_Cp,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_Sources_Examples_Outside_Cp",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.089/2.089, 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.001652/0.001652, allocations: 176.2 kB / 325.5 MB, free: 2.879 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.333/2.333, allocations: 205.4 MB / 0.5764 GB, free: 21.16 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.001656/0.001656, allocations: 87.36 kB / 0.6809 GB, free: 14.07 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004881/0.0004883, allocations: 15.94 kB / 0.795 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2173/0.2178, allocations: 106.3 MB / 0.8988 GB, free: 65.96 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.235/7.453, allocations: 2.212 GB / 3.111 GB, free: 244.9 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003393/7.453, allocations: 89.84 kB / 3.111 GB, free: 244.9 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 2.179/9.632, allocations: 467.4 MB / 3.568 GB, free: 200.5 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.655e-06/9.632, allocations: 0 / 3.568 GB, free: 200.5 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0002096/9.633, allocations: 54.81 kB / 3.568 GB, free: 200.5 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: 397 * Number of variables: 397 Notification: Performance of Generate backend data structure: time 0.006706/9.639, allocations: 1.973 MB / 3.57 GB, free: 198.5 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.14e-05/9.639, allocations: 8.031 kB / 3.57 GB, free: 198.5 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009839/9.64, allocations: 238.6 kB / 3.57 GB, free: 198.3 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005099/9.645, allocations: 462.2 kB / 3.57 GB, free: 197.8 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003295/9.649, allocations: 0.9862 MB / 3.571 GB, free: 196.8 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001183/9.649, allocations: 114.2 kB / 3.571 GB, free: 196.7 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003788/9.649, allocations: 156 kB / 3.572 GB, free: 196.6 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005076/9.654, allocations: 1.702 MB / 3.573 GB, free: 194.8 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.748e-05/9.655, allocations: 3.938 kB / 3.573 GB, free: 194.8 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003178/9.655, allocations: 75.94 kB / 3.573 GB, free: 194.7 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.508e-05/9.655, allocations: 39.59 kB / 3.573 GB, free: 194.7 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005407/9.66, allocations: 1.694 MB / 3.575 GB, free: 193 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.01387/9.674, allocations: 5.931 MB / 3.581 GB, free: 186.9 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003999/9.678, allocations: 1.254 MB / 3.582 GB, free: 185.6 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001272/9.68, allocations: 0.8902 MB / 3.583 GB, free: 184.6 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002569/9.682, allocations: 0.7567 MB / 3.584 GB, free: 183.8 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=117): time 5.74e-06/9.682, allocations: 0 / 3.584 GB, free: 183.8 MB / 0.8855 GB Notification: Performance of matching and sorting (n=117): time 0.007619/9.69, allocations: 1.786 MB / 3.585 GB, free: 182 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001107/9.69, allocations: 252.3 kB / 3.586 GB, free: 181.7 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001979/9.692, allocations: 0.8897 MB / 3.587 GB, free: 180.8 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0004061/9.693, allocations: 49.7 kB / 3.587 GB, free: 180.7 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006309/9.693, allocations: 0.6369 MB / 3.587 GB, free: 180.1 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004478/9.694, allocations: 390.1 kB / 3.588 GB, free: 179.7 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001246/9.694, allocations: 20 kB / 3.588 GB, free: 179.7 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 9.926e-05/9.694, allocations: 349.9 kB / 3.588 GB, free: 179.3 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001356/9.695, allocations: 401.8 kB / 3.588 GB, free: 178.9 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001474/9.697, allocations: 0.5606 MB / 3.589 GB, free: 178.3 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001486/9.698, allocations: 493.4 kB / 3.589 GB, free: 177.9 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.871e-06/9.698, allocations: 0 / 3.589 GB, free: 177.9 MB / 0.8855 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.00464/9.703, allocations: 1.231 MB / 3.591 GB, free: 176.6 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.828e-05/9.703, allocations: 4 kB / 3.591 GB, free: 176.6 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.332e-05/9.703, allocations: 4 kB / 3.591 GB, free: 176.6 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009914/9.704, allocations: 92.89 kB / 3.591 GB, free: 176.5 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002418/9.706, allocations: 259.6 kB / 3.591 GB, free: 176.3 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002777/9.709, allocations: 1.552 MB / 3.592 GB, free: 174.6 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00236/9.712, allocations: 162.8 kB / 3.593 GB, free: 174.4 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001571/9.712, allocations: 47.47 kB / 3.593 GB, free: 174.4 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (123): * Single equations (assignments): 122 * 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.001235/9.713, allocations: 362.8 kB / 3.593 GB, free: 174 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004447/9.714, allocations: 130.5 kB / 3.593 GB, free: 173.9 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005562/9.719, allocations: 1.549 MB / 3.595 GB, free: 172.3 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.766e-05/9.719, allocations: 16 kB / 3.595 GB, free: 172.3 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.581e-06/9.719, allocations: 0 / 3.595 GB, free: 172.3 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.925e-05/9.719, allocations: 7.969 kB / 3.595 GB, free: 172.3 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003078/9.722, allocations: 1.438 MB / 3.596 GB, free: 170.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.267e-06/9.722, allocations: 0 / 3.596 GB, free: 170.8 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00241/9.725, allocations: 271.7 kB / 3.596 GB, free: 170.6 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000871/9.726, allocations: 88.72 kB / 3.596 GB, free: 170.5 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001515/9.726, allocations: 39.97 kB / 3.596 GB, free: 170.4 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002457/9.728, allocations: 1.571 MB / 3.598 GB, free: 168.7 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/9.728, allocations: 3.938 kB / 3.598 GB, free: 168.7 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006477/9.735, allocations: 2.011 MB / 3.6 GB, free: 166.7 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001284/9.736, allocations: 418.9 kB / 3.6 GB, free: 166.3 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000307/9.737, allocations: 27.98 kB / 3.6 GB, free: 166.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002016/9.739, allocations: 118.5 kB / 3.6 GB, free: 166.1 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002508/9.739, allocations: 89.12 kB / 3.601 GB, free: 166.1 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001813/9.739, allocations: 55.95 kB / 3.601 GB, free: 166 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.001409/9.74, allocations: 0.7023 MB / 3.601 GB, free: 165.3 MB / 0.8855 GB Notification: Performance of sort global known variables: time 4.91e-07/9.74, allocations: 0 / 3.601 GB, free: 165.3 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.002717/9.743, allocations: 0.6536 MB / 3.602 GB, free: 164.6 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (ori1.mExc,ori2.mExc) * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (128): * Single equations (assignments): 125 * 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.01065/9.754, allocations: 4.265 MB / 3.606 GB, free: 160.7 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.003939/9.758, allocations: 1.176 MB / 3.607 GB, free: 159.5 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 9.017e-06/9.758, allocations: 4.797 kB / 3.607 GB, free: 159.5 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.002028/9.76, allocations: 0.7324 MB / 3.608 GB, free: 158.8 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004097/9.764, allocations: 0.4924 MB / 3.608 GB, free: 158.3 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02359/9.788, allocations: 9.268 MB / 3.617 GB, free: 148.7 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001023/9.789, allocations: 1.318 MB / 3.619 GB, free: 147.4 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.003015/9.792, allocations: 437.2 kB / 3.619 GB, free: 147 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001452/9.793, allocations: 0.6437 MB / 3.62 GB, free: 146.3 MB / 0.8855 GB Notification: Performance of SimCode: time 1.252e-06/9.793, allocations: 0 / 3.62 GB, free: 146.3 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1397/9.933, allocations: 55.62 MB / 3.674 GB, free: 91.26 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002507/9.933, allocations: 248.2 kB / 3.674 GB, free: 91.01 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_Cp.o Buildings_7_0_0_Buildings_Fluid_Sources_Examples_Outside_Cp.c In file included from Buildings_7_0_0_Buildings_Fluid_Sources_Examples_Outside_Cp.c:7: In file included from ./Buildings_7_0_0_Buildings_Fluid_Sources_Examples_Outside_Cp_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_Cp_functions.o Buildings_7_0_0_Buildings_Fluid_Sources_Examples_Outside_Cp_functions.c In file included from Buildings_7_0_0_Buildings_Fluid_Sources_Examples_Outside_Cp_functions.c:2: In file included from ./Buildings_7_0_0_Buildings_Fluid_Sources_Examples_Outside_Cp_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_Cp_functions.c:7: In file included from ./Buildings_7_0_0_Buildings_Fluid_Sources_Examples_Outside_Cp_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_Cp_functions.o' failed make: *** [Buildings_7_0_0_Buildings_Fluid_Sources_Examples_Outside_Cp_functions.o] Error 1