Running command: "" <> buildModelFMU(IBPSA.Fluid.Sources.Examples.Outside_CpLowRise,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sources_Examples_Outside_CpLowRise",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(IBPSA): time 2.838/2.838, allocations: 288.1 MB / 300.7 MB, free: 15.41 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 3.847e-05/3.85e-05, allocations: 4.453 kB / 370.6 MB, free: 7.852 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1503/0.1504, allocations: 67 MB / 437.6 MB, free: 11.29 MB / 362.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.9/7.05, allocations: 2.176 GB / 2.604 GB, free: 134.7 MB / 0.573 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004245/7.051, allocations: 85.38 kB / 2.604 GB, free: 134.7 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 1.537/8.588, allocations: 307.1 MB / 2.904 GB, free: 65.81 MB / 0.573 GB Notification: Performance of FrontEnd: time 2.304e-06/8.588, allocations: 0 / 2.904 GB, free: 65.81 MB / 0.573 GB Notification: Performance of Transformations before backend: time 0.0001555/8.589, allocations: 47.92 kB / 2.904 GB, free: 65.76 MB / 0.573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 422 * Number of variables: 422 Notification: Performance of Generate backend data structure: time 0.004719/8.593, allocations: 1.756 MB / 2.906 GB, free: 63.96 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 6.92e-05/8.593, allocations: 12.03 kB / 2.906 GB, free: 63.95 MB / 0.573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005076/8.594, allocations: 232.6 kB / 2.906 GB, free: 63.71 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005538/8.599, allocations: 0.4933 MB / 2.906 GB, free: 63.21 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002922/8.602, allocations: 0.9858 MB / 2.907 GB, free: 62.18 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001263/8.603, allocations: 135.2 kB / 2.907 GB, free: 62.05 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003399/8.603, allocations: 164 kB / 2.908 GB, free: 61.89 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004264/8.607, allocations: 1.668 MB / 2.909 GB, free: 60.17 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.591e-05/8.607, allocations: 0 / 2.909 GB, free: 60.17 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002822/8.608, allocations: 79.94 kB / 2.909 GB, free: 60.09 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.447e-05/8.608, allocations: 44 kB / 2.909 GB, free: 60.05 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004154/8.612, allocations: 1.677 MB / 2.911 GB, free: 58.37 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01159/8.623, allocations: 5.05 MB / 2.916 GB, free: 53.07 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002844/8.626, allocations: 1.212 MB / 2.917 GB, free: 51.86 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001253/8.628, allocations: 0.5659 MB / 2.918 GB, free: 51.29 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00111/8.629, allocations: 0.8039 MB / 2.918 GB, free: 50.32 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001829/8.631, allocations: 0.7733 MB / 2.919 GB, free: 49.53 MB / 0.573 GB Notification: Performance of pre-optimization done (n=137): time 4.769e-06/8.631, allocations: 0 / 2.919 GB, free: 49.53 MB / 0.573 GB Notification: Performance of matching and sorting (n=137): time 0.004985/8.636, allocations: 1.335 MB / 2.92 GB, free: 48.17 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001003/8.636, allocations: 248.6 kB / 2.921 GB, free: 47.87 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001544/8.637, allocations: 0.7394 MB / 2.921 GB, free: 47.12 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 0.0004588/8.638, allocations: 57.7 kB / 2.921 GB, free: 47.06 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.000633/8.638, allocations: 0.6327 MB / 2.922 GB, free: 46.42 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005491/8.639, allocations: 461.2 kB / 2.923 GB, free: 45.96 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000114/8.639, allocations: 24 kB / 2.923 GB, free: 45.94 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0001066/8.639, allocations: 353.9 kB / 2.923 GB, free: 45.59 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001074/8.64, allocations: 386.5 kB / 2.923 GB, free: 45.21 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001213/8.642, allocations: 0.5388 MB / 2.924 GB, free: 44.63 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001205/8.643, allocations: 476.8 kB / 2.924 GB, free: 44.17 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.342e-06/8.643, allocations: 4 kB / 2.924 GB, free: 44.16 MB / 0.573 GB Notification: Performance of matching and sorting (n=145) (initialization): time 0.004412/8.647, allocations: 1.296 MB / 2.925 GB, free: 42.84 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 3.504e-05/8.647, allocations: 8.781 kB / 2.926 GB, free: 42.84 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.471e-05/8.647, allocations: 0 / 2.926 GB, free: 42.84 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001536/8.649, allocations: 200.1 kB / 2.926 GB, free: 42.62 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003024/8.652, allocations: 291.6 kB / 2.926 GB, free: 42.34 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006594/8.659, allocations: 6.751 MB / 2.933 GB, free: 34.92 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002228/8.661, allocations: 147 kB / 2.933 GB, free: 34.77 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001704/8.661, allocations: 47.97 kB / 2.933 GB, free: 34.73 MB / 0.573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (135): * Single equations (assignments): 130 * 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: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0005225/8.662, allocations: 173 kB / 2.933 GB, free: 34.55 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003564/8.662, allocations: 130.5 kB / 2.933 GB, free: 34.42 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005568/8.668, allocations: 1.658 MB / 2.935 GB, free: 32.73 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.953e-05/8.668, allocations: 16 kB / 2.935 GB, free: 32.72 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.265e-06/8.668, allocations: 0 / 2.935 GB, free: 32.72 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.549e-05/8.668, allocations: 7.969 kB / 2.935 GB, free: 32.71 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003106/8.671, allocations: 1.47 MB / 2.936 GB, free: 31.19 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-05/8.671, allocations: 0 / 2.936 GB, free: 31.19 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002787/8.674, allocations: 299.6 kB / 2.936 GB, free: 30.89 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001391/8.675, allocations: 196.1 kB / 2.937 GB, free: 30.69 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002123/8.675, allocations: 39.97 kB / 2.937 GB, free: 30.65 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006079/8.681, allocations: 6.787 MB / 2.943 GB, free: 23.19 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.856e-06/8.681, allocations: 0 / 2.943 GB, free: 23.19 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004775/8.686, allocations: 1.437 MB / 2.945 GB, free: 21.72 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001281/8.688, allocations: 419 kB / 2.945 GB, free: 21.29 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002986/8.688, allocations: 28 kB / 2.945 GB, free: 21.26 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00224/8.69, allocations: 119.8 kB / 2.945 GB, free: 21.14 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003209/8.691, allocations: 109.2 kB / 2.945 GB, free: 21.04 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002369/8.691, allocations: 63.95 kB / 2.945 GB, free: 20.97 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.001147/8.692, allocations: 0.5931 MB / 2.946 GB, free: 20.36 MB / 0.573 GB Notification: Performance of sort global known variables: time 4.51e-07/8.692, allocations: 0 / 2.946 GB, free: 20.36 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.002958/8.695, allocations: 0.6662 MB / 2.947 GB, free: 19.7 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * 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 (140): * Single equations (assignments): 133 * 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: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.008259/8.703, allocations: 3.527 MB / 2.95 GB, free: 16.26 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.003827/8.707, allocations: 1.596 MB / 2.952 GB, free: 14.61 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 1.05e-05/8.707, allocations: 5.062 kB / 2.952 GB, free: 14.61 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.002413/8.71, allocations: 1.162 MB / 2.953 GB, free: 13.4 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003493/8.713, allocations: 452.1 kB / 2.953 GB, free: 12.97 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009823/8.723, allocations: 2.568 MB / 2.956 GB, free: 10.36 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00113/8.724, allocations: 1.311 MB / 2.957 GB, free: 9.008 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.004229/8.728, allocations: 425.5 kB / 2.957 GB, free: 8.59 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001899/8.73, allocations: 0.6086 MB / 2.958 GB, free: 7.98 MB / 0.573 GB Notification: Performance of SimCode: time 1.413e-06/8.73, allocations: 0 / 2.958 GB, free: 7.98 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6368/9.367, allocations: 55.56 MB / 3.012 GB, free: 116.7 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000243/9.367, allocations: 219.8 kB / 3.012 GB, free: 116.5 MB / 0.573 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' "-I/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/IBPSA latest/Resources/C-Sources" -c -o IBPSA_latest_IBPSA_Fluid_Sources_Examples_Outside_CpLowRise.o IBPSA_latest_IBPSA_Fluid_Sources_Examples_Outside_CpLowRise.c In file included from IBPSA_latest_IBPSA_Fluid_Sources_Examples_Outside_CpLowRise.c:7: In file included from ./IBPSA_latest_IBPSA_Fluid_Sources_Examples_Outside_CpLowRise_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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' "-I/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/IBPSA latest/Resources/C-Sources" -c -o IBPSA_latest_IBPSA_Fluid_Sources_Examples_Outside_CpLowRise_functions.o IBPSA_latest_IBPSA_Fluid_Sources_Examples_Outside_CpLowRise_functions.c In file included from IBPSA_latest_IBPSA_Fluid_Sources_Examples_Outside_CpLowRise_functions.c:2: In file included from ./IBPSA_latest_IBPSA_Fluid_Sources_Examples_Outside_CpLowRise_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 IBPSA_latest_IBPSA_Fluid_Sources_Examples_Outside_CpLowRise_functions.c:7: In file included from ./IBPSA_latest_IBPSA_Fluid_Sources_Examples_Outside_CpLowRise_includes.h:4: In file included from /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/IBPSA latest/Resources/C-Sources/getTimeSpan.c:12: /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/IBPSA latest/Resources/C-Sources/getTimeSpan.h:11:10: fatal error: 'ModelicaUtilities.h' file not found #include ^~~~~~~~~~~~~~~~~~~~~ 2 warnings and 1 error generated. : recipe for target 'IBPSA_latest_IBPSA_Fluid_Sources_Examples_Outside_CpLowRise_functions.o' failed make: *** [IBPSA_latest_IBPSA_Fluid_Sources_Examples_Outside_CpLowRise_functions.o] Error 1