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.185/2.185, allocations: 248.5 MB / 261.1 MB, free: 6.098 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001644/0.001644, allocations: 176.1 kB / 320.4 MB, free: 15.36 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.914/1.914, allocations: 205.2 MB / 0.571 GB, free: 11.86 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.001046/0.001045, allocations: 86.48 kB / 0.6754 GB, free: 0.9453 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.318e-05/3.333e-05, allocations: 4 kB / 0.7869 GB, free: 97.85 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1963/0.1964, allocations: 106.2 MB / 0.8907 GB, free: 7.504 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.06/7.257, allocations: 2.212 GB / 3.103 GB, free: 121.4 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000264/7.257, allocations: 83.77 kB / 3.103 GB, free: 121.3 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 2.785/10.04, allocations: 466.8 MB / 3.559 GB, free: 193.1 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.564e-06/10.04, allocations: 1 kB / 3.559 GB, free: 193.1 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0002057/10.04, allocations: 47.33 kB / 3.559 GB, free: 193.1 MB / 0.8698 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.005956/10.05, allocations: 1.779 MB / 3.561 GB, free: 192.3 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.812e-05/10.05, allocations: 8.594 kB / 3.561 GB, free: 192.3 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008287/10.05, allocations: 227.3 kB / 3.561 GB, free: 192.2 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005385/10.05, allocations: 456 kB / 3.561 GB, free: 192.1 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003706/10.06, allocations: 0.9829 MB / 3.562 GB, free: 191.9 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001546/10.06, allocations: 123.6 kB / 3.562 GB, free: 191.9 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003886/10.06, allocations: 151.7 kB / 3.563 GB, free: 191.9 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005251/10.06, allocations: 1.651 MB / 3.564 GB, free: 191.6 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.898e-05/10.06, allocations: 1.531 kB / 3.564 GB, free: 191.6 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003591/10.06, allocations: 75.28 kB / 3.564 GB, free: 191.6 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.177e-05/10.06, allocations: 38.59 kB / 3.564 GB, free: 191.6 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005661/10.07, allocations: 1.609 MB / 3.566 GB, free: 191.6 MB / 0.8698 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.01573/10.09, allocations: 5.926 MB / 3.572 GB, free: 189 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00343/10.09, allocations: 1.169 MB / 3.573 GB, free: 189 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001322/10.09, allocations: 0.5101 MB / 3.573 GB, free: 189 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001211/10.09, allocations: 0.8863 MB / 3.574 GB, free: 188 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002065/10.09, allocations: 0.7092 MB / 3.575 GB, free: 188 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=117): time 4.729e-06/10.09, allocations: 0 / 3.575 GB, free: 188 MB / 0.8698 GB Notification: Performance of matching and sorting (n=117): time 0.004836/10.1, allocations: 1.163 MB / 3.576 GB, free: 187.8 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001064/10.1, allocations: 251.4 kB / 3.576 GB, free: 187.6 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002242/10.1, allocations: 0.8689 MB / 3.577 GB, free: 187.4 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.000463/10.1, allocations: 51.86 kB / 3.577 GB, free: 187.4 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007617/10.1, allocations: 0.64 MB / 3.578 GB, free: 187.2 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006055/10.1, allocations: 396.8 kB / 3.578 GB, free: 187 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001081/10.1, allocations: 21.81 kB / 3.578 GB, free: 187 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001137/10.1, allocations: 349.4 kB / 3.578 GB, free: 186.7 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001082/10.1, allocations: 365.3 kB / 3.579 GB, free: 186.7 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001255/10.11, allocations: 0.5241 MB / 3.579 GB, free: 186.5 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001277/10.11, allocations: 447.5 kB / 3.58 GB, free: 186.5 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.565e-06/10.11, allocations: 3.812 kB / 3.58 GB, free: 186.5 MB / 0.8698 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.004626/10.11, allocations: 1.151 MB / 3.581 GB, free: 186.4 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 3.666e-05/10.11, allocations: 12.23 kB / 3.581 GB, free: 186.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.585e-05/10.11, allocations: 1.969 kB / 3.581 GB, free: 186.4 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001029/10.11, allocations: 86.33 kB / 3.581 GB, free: 186.4 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002739/10.12, allocations: 267.4 kB / 3.581 GB, free: 186.4 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002768/10.12, allocations: 1.53 MB / 3.583 GB, free: 185.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002458/10.12, allocations: 154.5 kB / 3.583 GB, free: 185.1 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002338/10.12, allocations: 48.78 kB / 3.583 GB, free: 185.1 MB / 0.8698 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.0004778/10.12, allocations: 164.2 kB / 3.583 GB, free: 185 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004829/10.12, allocations: 142.9 kB / 3.583 GB, free: 184.9 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005469/10.13, allocations: 1.463 MB / 3.585 GB, free: 184.8 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.728e-05/10.13, allocations: 16.81 kB / 3.585 GB, free: 184.8 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.443e-06/10.13, allocations: 0 / 3.585 GB, free: 184.8 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.846e-05/10.13, allocations: 9.891 kB / 3.585 GB, free: 184.8 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003922/10.13, allocations: 1.448 MB / 3.586 GB, free: 184.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.574e-05/10.13, allocations: 0 / 3.586 GB, free: 184.6 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002746/10.13, allocations: 266.4 kB / 3.586 GB, free: 184.6 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009366/10.14, allocations: 85.39 kB / 3.586 GB, free: 184.6 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002492/10.14, allocations: 36.97 kB / 3.586 GB, free: 184.6 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002608/10.14, allocations: 1.551 MB / 3.588 GB, free: 183.3 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.526e-06/10.14, allocations: 1 kB / 3.588 GB, free: 183.3 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00636/10.15, allocations: 1.906 MB / 3.59 GB, free: 183.1 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001567/10.15, allocations: 417.3 kB / 3.59 GB, free: 182.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003341/10.15, allocations: 29.61 kB / 3.59 GB, free: 182.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002514/10.15, allocations: 128 kB / 3.59 GB, free: 182.9 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004514/10.15, allocations: 83.69 kB / 3.59 GB, free: 182.9 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003115/10.15, allocations: 58.16 kB / 3.591 GB, free: 182.9 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.001865/10.15, allocations: 0.6905 MB / 3.591 GB, free: 182.8 MB / 0.8698 GB Notification: Performance of sort global known variables: time 5.31e-07/10.15, allocations: 0 / 3.591 GB, free: 182.8 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.003869/10.16, allocations: 0.6493 MB / 3.592 GB, free: 182.7 MB / 0.8698 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) * 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.01144/10.17, allocations: 4.111 MB / 3.596 GB, free: 181.7 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.003737/10.17, allocations: 1.107 MB / 3.597 GB, free: 181.6 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.275e-05/10.17, allocations: 6.266 kB / 3.597 GB, free: 181.6 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.002086/10.17, allocations: 0.684 MB / 3.598 GB, free: 181.4 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00467/10.18, allocations: 0.4891 MB / 3.598 GB, free: 181.4 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01195/10.19, allocations: 2.671 MB / 3.601 GB, free: 180.8 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001129/10.19, allocations: 1.321 MB / 3.602 GB, free: 180.1 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.003411/10.2, allocations: 443.6 kB / 3.602 GB, free: 180.1 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001791/10.2, allocations: 0.6379 MB / 3.603 GB, free: 180 MB / 0.8698 GB Notification: Performance of SimCode: time 1.753e-06/10.2, allocations: 0 / 3.603 GB, free: 180 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1414/10.34, allocations: 59.21 MB / 3.661 GB, free: 178.1 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002297/10.34, allocations: 215.6 kB / 3.661 GB, free: 177.9 MB / 0.8698 GB Error: Error building simulator. Build log: clang -Os -fPIC -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 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: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 -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 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: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_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