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.72/1.72, allocations: 289.7 MB / 302.2 MB, free: 2.223 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.001568/0.001568, allocations: 182.2 kB / 371.6 MB, free: 3.406 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.71/1.71, allocations: 205.1 MB / 0.6309 GB, free: 11.76 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.001142/0.001141, allocations: 89.34 kB / 0.745 GB, free: 54.61 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 4.233e-05/4.234e-05, allocations: 4 kB / 0.8663 GB, free: 15 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3023/0.3023, allocations: 116.3 MB / 0.9799 GB, free: 10.54 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.826/6.129, allocations: 2.095 GB / 3.075 GB, free: 125.9 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002848/6.129, allocations: 88.56 kB / 3.075 GB, free: 125.8 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 1.572/7.701, allocations: 477.6 MB / 3.542 GB, free: 19.1 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.835e-06/7.701, allocations: 0 / 3.542 GB, free: 19.1 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0002553/7.701, allocations: 47.92 kB / 3.542 GB, free: 19.05 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.005776/7.707, allocations: 1.762 MB / 3.543 GB, free: 17.24 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.467e-05/7.707, allocations: 12.02 kB / 3.543 GB, free: 17.23 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006379/7.708, allocations: 219.9 kB / 3.544 GB, free: 17 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003421/7.711, allocations: 449.3 kB / 3.544 GB, free: 16.56 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002545/7.714, allocations: 0.9758 MB / 3.545 GB, free: 15.54 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001054/7.714, allocations: 119.1 kB / 3.545 GB, free: 15.43 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003829/7.714, allocations: 148 kB / 3.545 GB, free: 15.28 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003184/7.717, allocations: 1.636 MB / 3.547 GB, free: 13.55 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.817e-05/7.718, allocations: 7.938 kB / 3.547 GB, free: 13.55 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001565/7.718, allocations: 64 kB / 3.547 GB, free: 13.48 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.264e-05/7.718, allocations: 40 kB / 3.547 GB, free: 13.45 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002237/7.72, allocations: 1.608 MB / 3.548 GB, free: 11.83 MB / 0.948 GB Warning: The model contains alias variables with conflicting start and/or 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.007362/7.727, allocations: 5.735 MB / 3.554 GB, free: 5.84 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001741/7.729, allocations: 1.414 MB / 3.555 GB, free: 4.355 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006606/7.73, allocations: 0.5156 MB / 3.556 GB, free: 3.84 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007784/7.731, allocations: 0.8867 MB / 3.557 GB, free: 2.77 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001047/7.732, allocations: 0.7037 MB / 3.558 GB, free: 2.043 MB / 0.948 GB Notification: Performance of pre-optimization done (n=117): time 3.206e-06/7.732, allocations: 0 / 3.558 GB, free: 2.043 MB / 0.948 GB Notification: Performance of matching and sorting (n=117): time 0.002764/7.734, allocations: 1.164 MB / 3.559 GB, free: 0.8711 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001044/7.735, allocations: 248.3 kB / 3.559 GB, free: 0.5703 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.6928/8.427, allocations: 0.8517 MB / 3.56 GB, free: 178.1 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0004403/8.428, allocations: 52.7 kB / 3.56 GB, free: 178.1 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006546/8.429, allocations: 0.6303 MB / 3.56 GB, free: 178 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004289/8.429, allocations: 394.6 kB / 3.561 GB, free: 177.8 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.471e-05/8.429, allocations: 19 kB / 3.561 GB, free: 177.8 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001063/8.429, allocations: 346.4 kB / 3.561 GB, free: 177.5 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007148/8.43, allocations: 367.6 kB / 3.561 GB, free: 177.5 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008072/8.431, allocations: 0.5316 MB / 3.562 GB, free: 177.4 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008177/8.432, allocations: 452 kB / 3.562 GB, free: 177.4 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.391e-06/8.432, allocations: 0.75 kB / 3.562 GB, free: 177.4 MB / 0.948 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.00286/8.434, allocations: 1.16 MB / 3.564 GB, free: 177.2 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 3.201e-05/8.434, allocations: 12.16 kB / 3.564 GB, free: 177.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.341e-05/8.434, allocations: 2 kB / 3.564 GB, free: 177.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006372/8.435, allocations: 92.59 kB / 3.564 GB, free: 177.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00128/8.436, allocations: 265.5 kB / 3.564 GB, free: 177.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001933/8.438, allocations: 1.527 MB / 3.565 GB, free: 176 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001551/8.44, allocations: 159.2 kB / 3.566 GB, free: 175.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001296/8.44, allocations: 42.53 kB / 3.566 GB, free: 175.9 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 () * 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.0003197/8.44, allocations: 167.4 kB / 3.566 GB, free: 175.8 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00028/8.441, allocations: 127.3 kB / 3.566 GB, free: 175.8 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003743/8.444, allocations: 1.484 MB / 3.567 GB, free: 175.7 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.208e-05/8.444, allocations: 12.88 kB / 3.567 GB, free: 175.7 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.731e-06/8.444, allocations: 0.9375 kB / 3.567 GB, free: 175.7 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.671e-05/8.445, allocations: 6.688 kB / 3.567 GB, free: 175.7 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006885/8.451, allocations: 3.017 MB / 3.57 GB, free: 175.3 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.597e-06/8.451, allocations: 1.391 kB / 3.57 GB, free: 175.3 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001397/8.453, allocations: 267.6 kB / 3.571 GB, free: 175.3 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005502/8.453, allocations: 86.14 kB / 3.571 GB, free: 175.3 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001049/8.454, allocations: 35.08 kB / 3.571 GB, free: 175.3 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00192/8.455, allocations: 1.556 MB / 3.572 GB, free: 174 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.317e-06/8.456, allocations: 3.719 kB / 3.572 GB, free: 174 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004573/8.46, allocations: 1.972 MB / 3.574 GB, free: 173.8 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001177/8.461, allocations: 413.5 kB / 3.574 GB, free: 173.6 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001967/8.461, allocations: 25.25 kB / 3.575 GB, free: 173.6 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001172/8.463, allocations: 127.3 kB / 3.575 GB, free: 173.6 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002659/8.463, allocations: 79.52 kB / 3.575 GB, free: 173.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001537/8.463, allocations: 55.22 kB / 3.575 GB, free: 173.6 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.001354/8.464, allocations: 0.6765 MB / 3.575 GB, free: 173.5 MB / 0.948 GB Notification: Performance of sort global known variables: time 2.7e-07/8.464, allocations: 0 / 3.575 GB, free: 173.5 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002797/8.467, allocations: 0.6434 MB / 3.576 GB, free: 173.4 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) * 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.008302/8.476, allocations: 4.186 MB / 3.58 GB, free: 172.4 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.002401/8.478, allocations: 1.119 MB / 3.581 GB, free: 172.2 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 8.015e-06/8.478, allocations: 448 / 3.581 GB, free: 172.2 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.001123/8.479, allocations: 0.6897 MB / 3.582 GB, free: 172.1 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002822/8.482, allocations: 0.492 MB / 3.582 GB, free: 172.1 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006848/8.489, allocations: 2.605 MB / 3.585 GB, free: 171.5 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001027/8.49, allocations: 1.311 MB / 3.586 GB, free: 170.8 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.001973/8.492, allocations: 431.8 kB / 3.587 GB, free: 170.8 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009437/8.493, allocations: 0.6346 MB / 3.587 GB, free: 170.8 MB / 0.948 GB Notification: Performance of SimCode: time 9.92e-07/8.493, allocations: 0 / 3.587 GB, free: 170.8 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1168/8.61, allocations: 59.35 MB / 3.645 GB, free: 169.1 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002247/8.61, allocations: 211 kB / 3.645 GB, free: 168.9 MB / 0.948 GB Error: Error building simulator. Build log: clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' "-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:111: ./gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:221: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 -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' "-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:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:221: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