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.812/2.812, allocations: 287.3 MB / 302.3 MB, free: 8.266 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.001592/0.001592, allocations: 178.2 kB / 370.8 MB, free: 10.87 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.165/2.165, allocations: 205.4 MB / 0.6295 GB, free: 10.61 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.001181/0.001181, allocations: 93.86 kB / 0.7428 GB, free: 6.617 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000478/0.000478, allocations: 16.53 kB / 0.8657 GB, free: 140.3 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2391/0.2396, allocations: 115.3 MB / 0.9783 GB, free: 28.3 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_Cp): time 0.8858/1.125, allocations: 146.2 MB / 1.121 GB, free: 0.5469 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.02579/1.151, allocations: 12.75 MB / 1.134 GB, free: 15.55 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002246/1.154, allocations: 28.91 kB / 1.134 GB, free: 15.54 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.002241/1.156, allocations: 364.4 kB / 1.134 GB, free: 15.46 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.006587/1.163, allocations: 1.26 MB / 1.135 GB, free: 15.38 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.005195/1.168, allocations: 1.047 MB / 1.136 GB, free: 15.34 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.00442/1.172, allocations: 1.555 MB / 1.138 GB, free: 15.27 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00325/1.176, allocations: 1.345 MB / 1.139 GB, free: 15.09 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003553/1.179, allocations: 0.9545 MB / 1.14 GB, free: 14.92 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001974/1.181, allocations: 0.5976 MB / 1.141 GB, free: 14.76 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0004822/1.182, allocations: 44.06 kB / 1.141 GB, free: 14.76 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004014/1.186, allocations: 0.7615 MB / 1.141 GB, free: 14.74 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0009325/1.187, allocations: 358.8 kB / 1.142 GB, free: 14.65 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0009866/1.188, allocations: 327 kB / 1.142 GB, free: 14.56 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.005325/1.193, allocations: 1.967 MB / 1.144 GB, free: 13.52 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/1.193, allocations: 0 / 1.144 GB, free: 13.52 MB / 0.698 GB Notification: Performance of FrontEnd: time 4.238e-06/1.193, allocations: 4 kB / 1.144 GB, free: 13.52 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0001003/1.193, allocations: 0 / 1.144 GB, free: 13.52 MB / 0.698 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.006594/1.2, allocations: 1.801 MB / 1.146 GB, free: 12.3 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.441e-05/1.2, allocations: 8.469 kB / 1.146 GB, free: 12.3 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00087/1.201, allocations: 231.2 kB / 1.146 GB, free: 12.21 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005349/1.206, allocations: 471.5 kB / 1.146 GB, free: 12.01 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003393/1.21, allocations: 1.024 MB / 1.147 GB, free: 11.45 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001616/1.21, allocations: 116.5 kB / 1.147 GB, free: 11.45 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006367/1.211, allocations: 149.8 kB / 1.148 GB, free: 11.45 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005896/1.216, allocations: 1.683 MB / 1.149 GB, free: 10.87 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.15e-05/1.217, allocations: 0.9375 kB / 1.149 GB, free: 10.87 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002872/1.217, allocations: 67.38 kB / 1.149 GB, free: 10.87 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.885e-05/1.217, allocations: 45.36 kB / 1.149 GB, free: 10.87 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006095/1.223, allocations: 1.71 MB / 1.151 GB, free: 10.46 MB / 0.698 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.01555/1.239, allocations: 5.671 MB / 1.157 GB, free: 6.594 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005209/1.244, allocations: 1.292 MB / 1.158 GB, free: 5.957 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009637/1.245, allocations: 0.6236 MB / 1.158 GB, free: 5.262 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002592/1.248, allocations: 0.722 MB / 1.159 GB, free: 4.816 MB / 0.698 GB Notification: Performance of pre-optimization done (n=117): time 4.959e-06/1.248, allocations: 0.9688 kB / 1.159 GB, free: 4.816 MB / 0.698 GB Notification: Performance of matching and sorting (n=117): time 0.008543/1.256, allocations: 1.746 MB / 1.161 GB, free: 3.906 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001487/1.256, allocations: 196.9 kB / 1.161 GB, free: 3.684 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002407/1.259, allocations: 0.9186 MB / 1.162 GB, free: 3.156 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0004511/1.259, allocations: 48.8 kB / 1.162 GB, free: 3.109 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.000852/1.26, allocations: 0.6385 MB / 1.163 GB, free: 2.547 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007165/1.261, allocations: 395.6 kB / 1.163 GB, free: 2.203 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001121/1.261, allocations: 18.03 kB / 1.163 GB, free: 2.188 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.000181/1.261, allocations: 344.9 kB / 1.163 GB, free: 1.855 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001532/1.263, allocations: 392 kB / 1.164 GB, free: 1.664 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001819/1.265, allocations: 0.5425 MB / 1.164 GB, free: 1.297 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001778/1.266, allocations: 468.5 kB / 1.165 GB, free: 1.062 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.236e-06/1.266, allocations: 0 / 1.165 GB, free: 1.062 MB / 0.698 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.005292/1.272, allocations: 1.204 MB / 1.166 GB, free: 464 kB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.926e-05/1.272, allocations: 11.89 kB / 1.166 GB, free: 460 kB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.278e-05/1.272, allocations: 2.375 kB / 1.166 GB, free: 460 kB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009992/1.273, allocations: 89.55 kB / 1.166 GB, free: 416 kB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002621/1.276, allocations: 272.8 kB / 1.166 GB, free: 352 kB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003233/1.279, allocations: 1.547 MB / 1.168 GB, free: 14.83 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002369/1.281, allocations: 151.8 kB / 1.168 GB, free: 14.73 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002525/1.282, allocations: 45.25 kB / 1.168 GB, free: 14.72 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (124): * Single equations (assignments): 123 * 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.001293/1.283, allocations: 366.1 kB / 1.168 GB, free: 14.45 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005293/1.283, allocations: 131.9 kB / 1.168 GB, free: 14.38 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005888/1.289, allocations: 1.511 MB / 1.17 GB, free: 13.52 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.01e-05/1.289, allocations: 12.72 kB / 1.17 GB, free: 13.52 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.5e-06/1.289, allocations: 0 / 1.17 GB, free: 13.52 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.408e-05/1.289, allocations: 3.984 kB / 1.17 GB, free: 13.52 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008742/1.298, allocations: 2.797 MB / 1.173 GB, free: 11.73 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-05/1.298, allocations: 2.531 kB / 1.173 GB, free: 11.73 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002605/1.301, allocations: 270.9 kB / 1.173 GB, free: 11.66 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009208/1.302, allocations: 83.66 kB / 1.173 GB, free: 11.62 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002736/1.302, allocations: 40.88 kB / 1.173 GB, free: 11.6 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002946/1.305, allocations: 1.582 MB / 1.174 GB, free: 10.06 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.516e-06/1.305, allocations: 0 / 1.174 GB, free: 10.06 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007557/1.313, allocations: 2.135 MB / 1.177 GB, free: 8.801 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001488/1.314, allocations: 389.7 kB / 1.177 GB, free: 8.48 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004051/1.315, allocations: 35.66 kB / 1.177 GB, free: 8.453 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002207/1.317, allocations: 115.9 kB / 1.177 GB, free: 8.402 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003223/1.317, allocations: 101 kB / 1.177 GB, free: 8.348 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002141/1.317, allocations: 55.98 kB / 1.177 GB, free: 8.328 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.001422/1.319, allocations: 0.6288 MB / 1.178 GB, free: 7.961 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5.81e-07/1.319, allocations: 0 / 1.178 GB, free: 7.961 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.002429/1.321, allocations: 499.2 kB / 1.178 GB, free: 7.816 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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.009833/1.331, allocations: 3.648 MB / 1.182 GB, free: 5.402 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.004224/1.336, allocations: 1.162 MB / 1.183 GB, free: 4.805 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.238e-05/1.336, allocations: 4.297 kB / 1.183 GB, free: 4.801 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.002355/1.338, allocations: 0.7228 MB / 1.184 GB, free: 4.414 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004418/1.342, allocations: 0.4925 MB / 1.184 GB, free: 4.152 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0353/1.378, allocations: 9.235 MB / 1.193 GB, free: 11.87 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00193/1.38, allocations: 1.312 MB / 1.195 GB, free: 10.52 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.004383/1.384, allocations: 418.1 kB / 1.195 GB, free: 10.11 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00221/1.386, allocations: 0.632 MB / 1.196 GB, free: 9.477 MB / 0.7292 GB Notification: Performance of SimCode: time 1.242e-06/1.386, allocations: 0 / 1.196 GB, free: 9.477 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1476/1.534, allocations: 34.66 MB / 1.229 GB, free: 7.152 MB / 0.7605 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003646/1.535, allocations: 247 kB / 1.23 GB, free: 6.855 MB / 0.7605 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:218:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:222: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:218:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:222: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