Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Sources.Examples.Outside_Cp.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_Cp,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Sources_Examples_Outside_Cp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.Outside_Cp,fileNamePrefix="Buildings_8_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 8.0.0/package.mo): time 2.656/2.656, allocations: 287.3 MB / 302.3 MB, free: 8.402 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.001612/0.001612, allocations: 181.2 kB / 370.8 MB, free: 10.85 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.151/2.151, 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.001089/0.001089, allocations: 101.6 kB / 0.7428 GB, free: 6.602 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0007493/0.0007494, allocations: 11.16 kB / 0.8657 GB, free: 141.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2423/0.2431, allocations: 115.3 MB / 0.9783 GB, free: 28.3 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.815/7.059, allocations: 2.094 GB / 3.072 GB, free: 160.1 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000362/7.059, allocations: 88.83 kB / 3.073 GB, free: 160.1 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 2.308/9.367, allocations: 478.3 MB / 3.54 GB, free: 61.61 MB / 0.948 GB Notification: Performance of FrontEnd: time 3.025e-06/9.367, allocations: 7.875 kB / 3.54 GB, free: 61.6 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.000158/9.367, allocations: 43.94 kB / 3.54 GB, free: 61.55 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: 391 * Number of variables: 391 Notification: Performance of Generate backend data structure: time 0.006584/9.374, allocations: 1.953 MB / 3.542 GB, free: 59.54 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.259e-05/9.374, allocations: 8.031 kB / 3.542 GB, free: 59.54 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009556/9.375, allocations: 231.9 kB / 3.542 GB, free: 59.3 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005132/9.38, allocations: 457.2 kB / 3.542 GB, free: 58.85 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003226/9.383, allocations: 0.9816 MB / 3.543 GB, free: 57.82 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001231/9.383, allocations: 111.1 kB / 3.543 GB, free: 57.71 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004073/9.384, allocations: 151.9 kB / 3.543 GB, free: 57.57 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004922/9.389, allocations: 1.694 MB / 3.545 GB, free: 55.78 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.042e-05/9.389, allocations: 3.938 kB / 3.545 GB, free: 55.78 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002915/9.389, allocations: 68 kB / 3.545 GB, free: 55.71 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.316e-05/9.389, allocations: 36 kB / 3.545 GB, free: 55.68 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005156/9.394, allocations: 1.701 MB / 3.547 GB, free: 53.97 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.01337/9.408, allocations: 5.733 MB / 3.552 GB, free: 47.98 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00427/9.412, allocations: 1.508 MB / 3.554 GB, free: 46.4 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001134/9.413, allocations: 0.8828 MB / 3.555 GB, free: 45.33 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002201/9.415, allocations: 0.7387 MB / 3.556 GB, free: 44.58 MB / 0.948 GB Notification: Performance of pre-optimization done (n=117): time 3.957e-06/9.415, allocations: 0 / 3.556 GB, free: 44.58 MB / 0.948 GB Notification: Performance of matching and sorting (n=117): time 0.00776/9.423, allocations: 1.806 MB / 3.557 GB, free: 42.74 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001106/9.423, allocations: 252.3 kB / 3.558 GB, free: 42.44 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001865/9.425, allocations: 0.8615 MB / 3.558 GB, free: 41.56 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0003781/9.426, allocations: 49.7 kB / 3.558 GB, free: 41.51 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006174/9.426, allocations: 0.6368 MB / 3.559 GB, free: 40.86 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004776/9.427, allocations: 398.2 kB / 3.559 GB, free: 40.47 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001238/9.427, allocations: 16 kB / 3.559 GB, free: 40.45 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 9.459e-05/9.427, allocations: 341.9 kB / 3.56 GB, free: 40.11 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001436/9.428, allocations: 417.7 kB / 3.56 GB, free: 39.71 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001536/9.43, allocations: 0.5638 MB / 3.561 GB, free: 39.09 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001569/9.432, allocations: 489.6 kB / 3.561 GB, free: 38.62 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.713e-06/9.432, allocations: 0 / 3.561 GB, free: 38.62 MB / 0.948 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.00465/9.436, allocations: 1.242 MB / 3.562 GB, free: 37.36 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.973e-05/9.436, allocations: 4 kB / 3.562 GB, free: 37.36 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.314e-05/9.436, allocations: 4 kB / 3.562 GB, free: 37.36 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009946/9.437, allocations: 80.91 kB / 3.562 GB, free: 37.27 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002534/9.44, allocations: 267.6 kB / 3.563 GB, free: 37.01 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002804/9.443, allocations: 1.553 MB / 3.564 GB, free: 35.32 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002214/9.445, allocations: 147 kB / 3.564 GB, free: 35.17 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001929/9.445, allocations: 47.97 kB / 3.564 GB, free: 35.12 MB / 0.948 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.00113/9.446, allocations: 369.9 kB / 3.565 GB, free: 34.75 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000455/9.447, allocations: 126.5 kB / 3.565 GB, free: 34.63 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005582/9.452, allocations: 1.546 MB / 3.566 GB, free: 33.07 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.824e-05/9.453, allocations: 12 kB / 3.566 GB, free: 33.06 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.09e-06/9.453, allocations: 0 / 3.566 GB, free: 33.06 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.602e-05/9.453, allocations: 15.92 kB / 3.566 GB, free: 33.04 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01045/9.463, allocations: 3.103 MB / 3.569 GB, free: 29.88 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-05/9.463, allocations: 0 / 3.569 GB, free: 29.88 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002601/9.466, allocations: 263.7 kB / 3.57 GB, free: 29.62 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009419/9.467, allocations: 84.77 kB / 3.57 GB, free: 29.54 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003181/9.467, allocations: 35.92 kB / 3.57 GB, free: 29.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002649/9.47, allocations: 1.575 MB / 3.571 GB, free: 27.79 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/9.47, allocations: 3.938 kB / 3.571 GB, free: 27.78 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007162/9.477, allocations: 2.079 MB / 3.573 GB, free: 25.69 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001405/9.478, allocations: 411 kB / 3.574 GB, free: 25.27 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003344/9.479, allocations: 27.98 kB / 3.574 GB, free: 25.24 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002089/9.481, allocations: 123.7 kB / 3.574 GB, free: 25.12 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002775/9.481, allocations: 89.12 kB / 3.574 GB, free: 25.03 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001874/9.481, allocations: 55.97 kB / 3.574 GB, free: 24.98 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.001396/9.483, allocations: 0.6862 MB / 3.575 GB, free: 24.28 MB / 0.948 GB Notification: Performance of sort global known variables: time 4.71e-07/9.483, allocations: 0 / 3.575 GB, free: 24.28 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002897/9.486, allocations: 0.643 MB / 3.575 GB, free: 23.64 MB / 0.948 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.conTim.tNext,weaDat.conTimMin.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.01079/9.497, allocations: 4.339 MB / 3.58 GB, free: 19.41 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.004065/9.501, allocations: 1.187 MB / 3.581 GB, free: 18.21 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 9.217e-06/9.501, allocations: 4.438 kB / 3.581 GB, free: 18.2 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.002115/9.503, allocations: 0.7362 MB / 3.581 GB, free: 17.45 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00418/9.507, allocations: 498.6 kB / 3.582 GB, free: 16.97 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02399/9.531, allocations: 9.193 MB / 3.591 GB, free: 7.469 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001009/9.532, allocations: 1.311 MB / 3.592 GB, free: 6.125 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.002933/9.535, allocations: 426.1 kB / 3.593 GB, free: 5.703 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001548/9.537, allocations: 0.6359 MB / 3.593 GB, free: 5.066 MB / 0.948 GB Notification: Performance of SimCode: time 1.062e-06/9.537, allocations: 7.875 kB / 3.593 GB, free: 5.059 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8984/10.44, allocations: 55.76 MB / 3.648 GB, free: 214.2 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002534/10.44, allocations: 244.2 kB / 3.648 GB, free: 214 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_Cp.o Buildings_8_0_0_Buildings_Fluid_Sources_Examples_Outside_Cp.c In file included from Buildings_8_0_0_Buildings_Fluid_Sources_Examples_Outside_Cp.c:7: In file included from ./Buildings_8_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 8.0.0/Resources/C-Sources" -c -o Buildings_8_0_0_Buildings_Fluid_Sources_Examples_Outside_Cp_functions.o Buildings_8_0_0_Buildings_Fluid_Sources_Examples_Outside_Cp_functions.c In file included from Buildings_8_0_0_Buildings_Fluid_Sources_Examples_Outside_Cp_functions.c:2: In file included from ./Buildings_8_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_8_0_0_Buildings_Fluid_Sources_Examples_Outside_Cp_functions.c:7: In file included from ./Buildings_8_0_0_Buildings_Fluid_Sources_Examples_Outside_Cp_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_Cp_functions.o' failed make: *** [Buildings_8_0_0_Buildings_Fluid_Sources_Examples_Outside_Cp_functions.o] Error 1