Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Sources.Examples.Outside_Cp.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.Outside_Cp,fileNamePrefix="Buildings_8_Buildings_Fluid_Sources_Examples_Outside_Cp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.Outside_Cp,fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.755/1.755, allocations: 292.6 MB / 307.5 MB, free: 5.184 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.001319/0.001319, allocations: 192.7 kB / 377.1 MB, free: 1.527 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.798/1.798, allocations: 205.4 MB / 0.6366 GB, free: 8.547 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009871/0.000987, allocations: 96.8 kB / 0.7509 GB, free: 63.25 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005107/0.0005111, allocations: 12 kB / 0.8748 GB, free: 11.11 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3055/0.3061, allocations: 116.3 MB / 0.9884 GB, free: 6.652 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.798/6.104, allocations: 2.095 GB / 3.084 GB, free: 123.6 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003106/6.104, allocations: 88.61 kB / 3.084 GB, free: 123.5 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 1.613/7.717, allocations: 478.3 MB / 3.551 GB, free: 16.74 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.713e-06/7.717, allocations: 4 kB / 3.551 GB, free: 16.73 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001169/7.718, allocations: 43.98 kB / 3.551 GB, free: 16.69 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.003587/7.721, allocations: 1.964 MB / 3.553 GB, free: 14.67 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.485e-05/7.721, allocations: 12.03 kB / 3.553 GB, free: 14.66 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002388/7.721, allocations: 223.9 kB / 3.553 GB, free: 14.43 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002859/7.724, allocations: 453.3 kB / 3.553 GB, free: 13.98 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001672/7.726, allocations: 0.9748 MB / 3.554 GB, free: 12.96 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.595e-05/7.726, allocations: 115.1 kB / 3.555 GB, free: 12.85 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001816/7.726, allocations: 154.4 kB / 3.555 GB, free: 12.7 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002532/7.729, allocations: 1.675 MB / 3.556 GB, free: 10.94 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.44e-05/7.729, allocations: 15.92 kB / 3.556 GB, free: 10.92 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001401/7.729, allocations: 68 kB / 3.556 GB, free: 10.86 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.391e-05/7.729, allocations: 40 kB / 3.556 GB, free: 10.82 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002445/7.732, allocations: 1.697 MB / 3.558 GB, free: 9.113 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.007062/7.739, allocations: 5.731 MB / 3.564 GB, free: 3.125 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00212/7.741, allocations: 1.501 MB / 3.565 GB, free: 1.562 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007102/7.741, allocations: 0.8867 MB / 3.566 GB, free: 0.4922 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.6991/8.441, allocations: 0.7352 MB / 3.567 GB, free: 177.2 MB / 0.948 GB Notification: Performance of pre-optimization done (n=117): time 5.531e-06/8.441, allocations: 0.8125 kB / 3.567 GB, free: 177.2 MB / 0.948 GB Notification: Performance of matching and sorting (n=117): time 0.004968/8.446, allocations: 1.814 MB / 3.568 GB, free: 177.1 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.468e-05/8.446, allocations: 245.9 kB / 3.569 GB, free: 176.8 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001339/8.447, allocations: 0.8673 MB / 3.57 GB, free: 176.6 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001163/8.447, allocations: 50.05 kB / 3.57 GB, free: 176.6 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005955/8.448, allocations: 0.6308 MB / 3.57 GB, free: 176.4 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002888/8.448, allocations: 398.8 kB / 3.571 GB, free: 176.2 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.889e-05/8.448, allocations: 24.62 kB / 3.571 GB, free: 176.2 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 9.628e-05/8.448, allocations: 342.2 kB / 3.571 GB, free: 175.9 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007829/8.449, allocations: 408.5 kB / 3.571 GB, free: 175.9 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008543/8.45, allocations: 0.5667 MB / 3.572 GB, free: 175.8 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008762/8.451, allocations: 486 kB / 3.572 GB, free: 175.8 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.857e-06/8.451, allocations: 0 / 3.572 GB, free: 175.8 MB / 0.948 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.002725/8.453, allocations: 1.235 MB / 3.574 GB, free: 175.7 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.087e-05/8.454, allocations: 6.5 kB / 3.574 GB, free: 175.7 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.987e-06/8.454, allocations: 3.719 kB / 3.574 GB, free: 175.7 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006194/8.454, allocations: 89.31 kB / 3.574 GB, free: 175.7 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001275/8.455, allocations: 265.6 kB / 3.574 GB, free: 175.7 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001838/8.457, allocations: 1.549 MB / 3.575 GB, free: 174.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001222/8.459, allocations: 150.8 kB / 3.576 GB, free: 174.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.775e-05/8.459, allocations: 43.7 kB / 3.576 GB, free: 174.3 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.0007304/8.459, allocations: 362.9 kB / 3.576 GB, free: 174.2 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002015/8.46, allocations: 126.8 kB / 3.576 GB, free: 174.2 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00313/8.463, allocations: 1.549 MB / 3.578 GB, free: 174.1 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.3e-05/8.463, allocations: 13.09 kB / 3.578 GB, free: 174.1 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/8.463, allocations: 1.25 kB / 3.578 GB, free: 174.1 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.569e-05/8.463, allocations: 15.2 kB / 3.578 GB, free: 174.1 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005751/8.469, allocations: 3.091 MB / 3.581 GB, free: 173.7 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.32e-06/8.469, allocations: 2.875 kB / 3.581 GB, free: 173.7 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001451/8.47, allocations: 263.2 kB / 3.581 GB, free: 173.7 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006124/8.471, allocations: 88.92 kB / 3.581 GB, free: 173.7 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001131/8.471, allocations: 36.58 kB / 3.581 GB, free: 173.7 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002168/8.473, allocations: 1.574 MB / 3.583 GB, free: 172.4 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.687e-06/8.473, allocations: 1.469 kB / 3.583 GB, free: 172.4 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005441/8.478, allocations: 2.087 MB / 3.585 GB, free: 172.2 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00111/8.48, allocations: 405.6 kB / 3.585 GB, free: 172 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003293/8.48, allocations: 24.83 kB / 3.585 GB, free: 172 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001528/8.481, allocations: 130.1 kB / 3.585 GB, free: 172 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000254/8.482, allocations: 81.94 kB / 3.585 GB, free: 172 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001917/8.482, allocations: 56.39 kB / 3.585 GB, free: 172 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.001845/8.484, allocations: 0.6852 MB / 3.586 GB, free: 171.9 MB / 0.948 GB Notification: Performance of sort global known variables: time 3.01e-07/8.484, allocations: 0 / 3.586 GB, free: 171.9 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002973/8.487, allocations: 0.6423 MB / 3.587 GB, free: 171.8 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.009096/8.496, allocations: 4.343 MB / 3.591 GB, free: 170.8 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.003468/8.499, allocations: 1.192 MB / 3.592 GB, free: 170.6 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 9.588e-06/8.499, allocations: 3.625 kB / 3.592 GB, free: 170.6 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.001402/8.501, allocations: 0.7313 MB / 3.593 GB, free: 170.5 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002797/8.504, allocations: 0.4923 MB / 3.593 GB, free: 170.5 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02014/8.524, allocations: 9.19 MB / 3.602 GB, free: 166.9 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001479/8.525, allocations: 1.316 MB / 3.603 GB, free: 166.2 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.002397/8.528, allocations: 427.5 kB / 3.604 GB, free: 166.2 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001121/8.529, allocations: 0.6351 MB / 3.604 GB, free: 166.2 MB / 0.948 GB Notification: Performance of SimCode: time 1.403e-06/8.529, allocations: 0 / 3.604 GB, free: 166.2 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1095/8.638, allocations: 55.79 MB / 3.659 GB, free: 164.5 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001709/8.639, allocations: 239.3 kB / 3.659 GB, free: 164.3 MB / 0.948 GB Error: Error building simulator. Build log: clang -Os -fPIC -falign-functions -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.1.4-maint.8.1.x/Resources/C-Sources" -c -o Buildings_8_Buildings_Fluid_Sources_Examples_Outside_Cp.o Buildings_8_Buildings_Fluid_Sources_Examples_Outside_Cp.c In file included from Buildings_8_Buildings_Fluid_Sources_Examples_Outside_Cp.c:7: In file included from ./Buildings_8_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 -falign-functions -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.1.4-maint.8.1.x/Resources/C-Sources" -c -o Buildings_8_Buildings_Fluid_Sources_Examples_Outside_Cp_functions.o Buildings_8_Buildings_Fluid_Sources_Examples_Outside_Cp_functions.c In file included from Buildings_8_Buildings_Fluid_Sources_Examples_Outside_Cp_functions.c:2: In file included from ./Buildings_8_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_Buildings_Fluid_Sources_Examples_Outside_Cp_functions.c:7: In file included from ./Buildings_8_Buildings_Fluid_Sources_Examples_Outside_Cp_includes.h:4: /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Resources/C-Sources/getTimeSpan.c:9:10: fatal error: 'ModelicaUtilities.h' file not found #include "ModelicaUtilities.h" ^~~~~~~~~~~~~~~~~~~~~ 2 warnings and 1 error generated. make: *** [: Buildings_8_Buildings_Fluid_Sources_Examples_Outside_Cp_functions.o] Error 1