Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Sources.Examples.Outside_Cp.conf.json Using package Buildings with version 7.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 7.0.0/package.mo) Using package Modelica with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.3/package.mo) Using package Complex with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.3.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.3/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(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.3/package.mo): time 0.01045/0.01046, allocations: 92.88 kB / 15.04 MB, free: 5.582 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.3.mo): time 0.001229/0.001228, allocations: 173.5 kB / 15.92 MB, free: 5.555 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.3/package.mo): time 2.209/2.209, allocations: 205.5 MB / 222.2 MB, free: 13.57 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 7.0.0/package.mo): time 2.627/2.627, allocations: 252.8 MB / 0.511 GB, free: 8.297 MB / 426.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004992/0.0004994, allocations: 11.56 kB / 0.6243 GB, free: 21.01 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2507/0.2512, allocations: 106.2 MB / 0.7281 GB, free: 8.09 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_Cp): time 0.9119/1.163, allocations: 146.4 MB / 0.871 GB, free: 1.105 MB / 0.6511 GB Notification: Performance of NFInst.instExpressions: time 0.0346/1.198, allocations: 12.84 MB / 0.8835 GB, free: 80 kB / 0.6511 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002415/1.2, allocations: 30.5 kB / 0.8836 GB, free: 64 kB / 0.6511 GB Notification: Performance of NFTyping.typeComponents: time 0.002774/1.203, allocations: 372.4 kB / 0.8839 GB, free: 0 / 0.6511 GB Notification: Performance of NFTyping.typeBindings: time 0.008567/1.212, allocations: 1.285 MB / 0.8852 GB, free: 15.92 MB / 0.6667 GB Notification: Performance of NFTyping.typeClassSections: time 0.007131/1.219, allocations: 1.1 MB / 0.8863 GB, free: 15.86 MB / 0.6667 GB Notification: Performance of NFFlatten.flatten: time 0.005636/1.225, allocations: 1.652 MB / 0.8879 GB, free: 15.78 MB / 0.6667 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003763/1.228, allocations: 1.38 MB / 0.8892 GB, free: 15.6 MB / 0.6667 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004119/1.233, allocations: 1.007 MB / 0.8902 GB, free: 15.43 MB / 0.6667 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002198/1.235, allocations: 0.6195 MB / 0.8908 GB, free: 15.16 MB / 0.6667 GB Notification: Performance of NFPackage.collectConstants: time 0.0005791/1.235, allocations: 45 kB / 0.8908 GB, free: 15.16 MB / 0.6667 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004443/1.24, allocations: 0.7635 MB / 0.8916 GB, free: 15.02 MB / 0.6667 GB Notification: Performance of NFScalarize.scalarize: time 0.001119/1.241, allocations: 378.1 kB / 0.892 GB, free: 14.87 MB / 0.6667 GB Notification: Performance of NFVerifyModel.verify: time 0.001134/1.242, allocations: 334.6 kB / 0.8923 GB, free: 14.78 MB / 0.6667 GB Notification: Performance of NFConvertDAE.convert: time 0.005501/1.248, allocations: 2.017 MB / 0.8942 GB, free: 13.71 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 6.422e-06/1.248, allocations: 0 / 0.8942 GB, free: 13.71 MB / 0.6667 GB Notification: Performance of FrontEnd: time 3.717e-06/1.248, allocations: 4 kB / 0.8942 GB, free: 13.71 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 0.0001221/1.248, allocations: 0 / 0.8942 GB, free: 13.71 MB / 0.6667 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.006921/1.255, allocations: 1.823 MB / 0.896 GB, free: 12.48 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 5.21e-05/1.255, allocations: 8.844 kB / 0.896 GB, free: 12.48 MB / 0.6667 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009441/1.256, allocations: 234.8 kB / 0.8963 GB, free: 12.39 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005391/1.261, allocations: 467.4 kB / 0.8967 GB, free: 12.2 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003408/1.265, allocations: 1.027 MB / 0.8977 GB, free: 11.64 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001425/1.265, allocations: 117.5 kB / 0.8978 GB, free: 11.64 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005226/1.266, allocations: 148.2 kB / 0.898 GB, free: 11.64 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006022/1.272, allocations: 1.706 MB / 0.8996 GB, free: 11.06 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.277e-05/1.272, allocations: 2.859 kB / 0.8996 GB, free: 11.06 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003792/1.272, allocations: 67.03 kB / 0.8997 GB, free: 11.06 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001091/1.272, allocations: 53.48 kB / 0.8997 GB, free: 11.05 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00631/1.279, allocations: 1.706 MB / 0.9014 GB, free: 10.65 MB / 0.6667 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.01605/1.295, allocations: 5.727 MB / 0.907 GB, free: 7.059 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004532/1.299, allocations: 1.26 MB / 0.9082 GB, free: 6.844 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009872/1.3, allocations: 0.6227 MB / 0.9088 GB, free: 6.164 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002537/1.303, allocations: 0.7211 MB / 0.9095 GB, free: 5.918 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=117): time 5.07e-06/1.303, allocations: 1.969 kB / 0.9095 GB, free: 5.918 MB / 0.6667 GB Notification: Performance of matching and sorting (n=117): time 0.008475/1.311, allocations: 1.747 MB / 0.9113 GB, free: 5.453 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001492/1.312, allocations: 197.9 kB / 0.9114 GB, free: 5.23 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002243/1.314, allocations: 0.9229 MB / 0.9123 GB, free: 4.941 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.0004139/1.314, allocations: 51.27 kB / 0.9124 GB, free: 4.91 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007723/1.315, allocations: 0.6431 MB / 0.913 GB, free: 4.57 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007463/1.316, allocations: 393.2 kB / 0.9134 GB, free: 4.289 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001036/1.316, allocations: 19.12 kB / 0.9134 GB, free: 4.289 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0002003/1.316, allocations: 355.4 kB / 0.9138 GB, free: 3.965 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001482/1.318, allocations: 381.9 kB / 0.9141 GB, free: 3.902 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001691/1.32, allocations: 0.545 MB / 0.9147 GB, free: 3.688 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001724/1.321, allocations: 461.2 kB / 0.9151 GB, free: 3.633 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.737e-06/1.321, allocations: 2.844 kB / 0.9151 GB, free: 3.633 MB / 0.6667 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.005285/1.327, allocations: 1.195 MB / 0.9163 GB, free: 3.348 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 3.127e-05/1.327, allocations: 5.875 kB / 0.9163 GB, free: 3.348 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.364e-05/1.327, allocations: 6.359 kB / 0.9163 GB, free: 3.344 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009856/1.328, allocations: 88.14 kB / 0.9164 GB, free: 3.309 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002581/1.33, allocations: 269.6 kB / 0.9166 GB, free: 3.25 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003169/1.334, allocations: 1.554 MB / 0.9181 GB, free: 1.875 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00235/1.336, allocations: 147.6 kB / 0.9183 GB, free: 1.801 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002224/1.336, allocations: 40.73 kB / 0.9183 GB, free: 1.797 MB / 0.6667 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.001282/1.337, allocations: 368.9 kB / 0.9187 GB, free: 1.648 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005234/1.338, allocations: 139.8 kB / 0.9188 GB, free: 1.574 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006207/1.344, allocations: 1.499 MB / 0.9203 GB, free: 1.168 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.226e-05/1.344, allocations: 12.38 kB / 0.9203 GB, free: 1.168 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.492e-06/1.344, allocations: 2.5 kB / 0.9203 GB, free: 1.168 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.486e-05/1.344, allocations: 7.969 kB / 0.9203 GB, free: 1.16 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008554/1.353, allocations: 2.802 MB / 0.923 GB, free: 200 kB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.406e-05/1.353, allocations: 10.7 kB / 0.923 GB, free: 192 kB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002437/1.355, allocations: 269.8 kB / 0.9233 GB, free: 136 kB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009098/1.356, allocations: 90.7 kB / 0.9234 GB, free: 100 kB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001984/1.357, allocations: 35.78 kB / 0.9234 GB, free: 92 kB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00287/1.36, allocations: 1.579 MB / 0.9249 GB, free: 14.71 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.373e-06/1.36, allocations: 6.812 kB / 0.925 GB, free: 14.71 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007101/1.367, allocations: 2.129 MB / 0.927 GB, free: 14.06 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001436/1.368, allocations: 394.5 kB / 0.9274 GB, free: 13.82 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003486/1.369, allocations: 28.78 kB / 0.9274 GB, free: 13.82 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002313/1.371, allocations: 136.7 kB / 0.9276 GB, free: 13.78 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003467/1.371, allocations: 93.33 kB / 0.9277 GB, free: 13.73 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002107/1.371, allocations: 59.95 kB / 0.9277 GB, free: 13.72 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001432/1.373, allocations: 0.6418 MB / 0.9283 GB, free: 13.52 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.443e-06/1.373, allocations: 0 / 0.9283 GB, free: 13.52 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002315/1.375, allocations: 0.4906 MB / 0.9288 GB, free: 13.42 MB / 0.6823 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.009625/1.385, allocations: 3.679 MB / 0.9324 GB, free: 11.6 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.004123/1.389, allocations: 1.149 MB / 0.9335 GB, free: 11.31 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.145e-05/1.389, allocations: 2.438 kB / 0.9335 GB, free: 11.31 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.002251/1.391, allocations: 0.7131 MB / 0.9342 GB, free: 11.09 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004277/1.396, allocations: 494.2 kB / 0.9347 GB, free: 10.93 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02754/1.423, allocations: 9.285 MB / 0.9438 GB, free: 4.742 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001387/1.425, allocations: 1.316 MB / 0.9451 GB, free: 3.418 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.003125/1.428, allocations: 426.1 kB / 0.9455 GB, free: 2.996 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001554/1.43, allocations: 0.6368 MB / 0.9461 GB, free: 2.82 MB / 0.6823 GB Notification: Performance of SimCode: time 2.535e-06/1.43, allocations: 0 / 0.9461 GB, free: 2.82 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1511/1.581, allocations: 35.07 MB / 0.9803 GB, free: 192 kB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00045/1.581, allocations: 247.9 kB / 0.9806 GB, free: 15.86 MB / 0.7292 GB Error: Error building simulator. Build log: clang -Os -fPIC -mfpmath=sse -fno-dollars-in-identifiers -I'/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 "-I/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 7.0.0/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: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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 "-I/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 7.0.0/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: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_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: In file included from /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 7.0.0/Resources/C-Sources/getTimeSpan.c:12: /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 7.0.0/Resources/C-Sources/getTimeSpan.h:11: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