Running command: "" <> buildModelFMU(IBPSA.Fluid.Sources.Examples.Outside,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sources_Examples_Outside",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(IBPSA): time 2.8/2.8, allocations: 288.1 MB / 300.7 MB, free: 15.42 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 4e-05/4.009e-05, allocations: 4.484 kB / 370.6 MB, free: 7.84 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1565/0.1566, allocations: 67 MB / 437.6 MB, free: 11.32 MB / 362.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.076/7.233, allocations: 2.186 GB / 2.614 GB, free: 124.7 MB / 0.573 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003158/7.233, allocations: 83.95 kB / 2.614 GB, free: 124.7 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 2.164/9.397, allocations: 383.3 MB / 2.988 GB, free: 107.1 MB / 0.573 GB Notification: Performance of FrontEnd: time 2.454e-06/9.398, allocations: 0 / 2.988 GB, free: 107.1 MB / 0.573 GB Notification: Performance of Transformations before backend: time 0.0002076/9.398, allocations: 37.14 kB / 2.988 GB, free: 107.1 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: 281 * Number of variables: 281 Notification: Performance of Generate backend data structure: time 0.005981/9.404, allocations: 1.503 MB / 2.99 GB, free: 106.4 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 6.416e-05/9.404, allocations: 7.5 kB / 2.99 GB, free: 106.4 MB / 0.573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004628/9.404, allocations: 171 kB / 2.99 GB, free: 106.4 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01714/9.421, allocations: 352 kB / 2.99 GB, free: 106.3 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005373/9.427, allocations: 1.11 MB / 2.991 GB, free: 106.1 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001201/9.427, allocations: 87.08 kB / 2.991 GB, free: 106 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007355/9.434, allocations: 117.8 kB / 2.991 GB, free: 106 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004311/9.439, allocations: 1.156 MB / 2.992 GB, free: 105.9 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.228e-05/9.439, allocations: 3.75 kB / 2.992 GB, free: 105.9 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005502/9.444, allocations: 47.53 kB / 2.993 GB, free: 105.9 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.974e-05/9.444, allocations: 24.59 kB / 2.993 GB, free: 105.9 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00758/9.452, allocations: 1.314 MB / 2.994 GB, free: 105.9 MB / 0.573 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.01212/9.464, allocations: 3.744 MB / 2.997 GB, free: 104.7 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002977/9.467, allocations: 1.088 MB / 2.999 GB, free: 104.6 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009239/9.468, allocations: 410.2 kB / 2.999 GB, free: 104.6 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009938/9.469, allocations: 420.5 kB / 2.999 GB, free: 104.2 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001272/9.471, allocations: 0.5645 MB / 3 GB, free: 104.1 MB / 0.573 GB Notification: Performance of pre-optimization done (n=97): time 3.848e-06/9.471, allocations: 0 / 3 GB, free: 104.1 MB / 0.573 GB Notification: Performance of matching and sorting (n=97): time 0.003623/9.474, allocations: 0.9628 MB / 3.001 GB, free: 104 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.848e-05/9.474, allocations: 250.5 kB / 3.001 GB, free: 103.7 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001605/9.476, allocations: 0.7724 MB / 3.002 GB, free: 103.6 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 0.0001925/9.476, allocations: 48.02 kB / 3.002 GB, free: 103.5 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005133/9.477, allocations: 0.497 MB / 3.002 GB, free: 103.4 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003644/9.477, allocations: 330.9 kB / 3.003 GB, free: 103.2 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.541e-05/9.477, allocations: 16.16 kB / 3.003 GB, free: 103.2 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 9.292e-05/9.477, allocations: 337.6 kB / 3.003 GB, free: 102.9 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008307/9.478, allocations: 311.6 kB / 3.003 GB, free: 102.9 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009626/9.479, allocations: 461.2 kB / 3.004 GB, free: 102.8 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000978/9.48, allocations: 379.8 kB / 3.004 GB, free: 102.8 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.7e-06/9.48, allocations: 0 / 3.004 GB, free: 102.8 MB / 0.573 GB Notification: Performance of matching and sorting (n=109) (initialization): time 0.003418/9.484, allocations: 0.9942 MB / 3.005 GB, free: 102.6 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 2.668e-05/9.484, allocations: 3.625 kB / 3.005 GB, free: 102.6 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.357e-05/9.484, allocations: 3.031 kB / 3.005 GB, free: 102.6 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009807/9.485, allocations: 87.78 kB / 3.005 GB, free: 102.6 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00176/9.486, allocations: 204.6 kB / 3.005 GB, free: 102.6 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002655/9.489, allocations: 1.531 MB / 3.007 GB, free: 101.3 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001765/9.491, allocations: 124 kB / 3.007 GB, free: 101.3 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000139/9.491, allocations: 40.78 kB / 3.007 GB, free: 101.3 MB / 0.573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (107): * Single equations (assignments): 106 * 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.0003649/9.491, allocations: 156 kB / 3.007 GB, free: 101.2 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002776/9.492, allocations: 115.2 kB / 3.007 GB, free: 101.2 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004318/9.496, allocations: 1.378 MB / 3.009 GB, free: 101 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.608e-05/9.496, allocations: 10.12 kB / 3.009 GB, free: 101 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/9.496, allocations: 3.406 kB / 3.009 GB, free: 101 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.668e-05/9.496, allocations: 5.578 kB / 3.009 GB, free: 101 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006677/9.503, allocations: 2.623 MB / 3.011 GB, free: 100.5 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.077e-05/9.503, allocations: 3.625 kB / 3.011 GB, free: 100.5 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00181/9.505, allocations: 195.5 kB / 3.011 GB, free: 100.5 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008635/9.506, allocations: 84.5 kB / 3.011 GB, free: 100.5 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001251/9.506, allocations: 30.22 kB / 3.012 GB, free: 100.5 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002406/9.508, allocations: 1.558 MB / 3.013 GB, free: 99.24 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.13e-06/9.508, allocations: 2.062 kB / 3.013 GB, free: 99.24 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004921/9.513, allocations: 1.749 MB / 3.015 GB, free: 98.86 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001028/9.514, allocations: 358.3 kB / 3.015 GB, free: 98.71 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002535/9.514, allocations: 22.88 kB / 3.015 GB, free: 98.71 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001572/9.516, allocations: 94.34 kB / 3.015 GB, free: 98.7 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002212/9.516, allocations: 79.25 kB / 3.015 GB, free: 98.7 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001259/9.516, allocations: 42.94 kB / 3.015 GB, free: 98.7 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.001184/9.518, allocations: 0.6253 MB / 3.016 GB, free: 98.58 MB / 0.573 GB Notification: Performance of sort global known variables: time 6.21e-07/9.518, allocations: 0 / 3.016 GB, free: 98.58 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.002287/9.52, allocations: 0.5586 MB / 3.016 GB, free: 98.53 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (senTem.T,senRelHum.phi,senMasFra.X) * 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 (105): * Single equations (assignments): 102 * 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.008503/9.528, allocations: 4.486 MB / 3.021 GB, free: 96.8 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.002708/9.531, allocations: 0.9247 MB / 3.022 GB, free: 96.68 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 9.187e-06/9.531, allocations: 3.812 kB / 3.022 GB, free: 96.68 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.001393/9.533, allocations: 0.5808 MB / 3.022 GB, free: 96.57 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003712/9.536, allocations: 460.7 kB / 3.023 GB, free: 96.56 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007813/9.544, allocations: 2.248 MB / 3.025 GB, free: 96 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007768/9.545, allocations: 1.165 MB / 3.026 GB, free: 95.29 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.002156/9.547, allocations: 359.6 kB / 3.026 GB, free: 95.28 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001/9.548, allocations: 496 kB / 3.027 GB, free: 95.27 MB / 0.573 GB Notification: Performance of SimCode: time 1.443e-06/9.548, allocations: 2.688 kB / 3.027 GB, free: 95.27 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.135/9.683, allocations: 55.75 MB / 3.081 GB, free: 88.14 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002969/9.684, allocations: 209.8 kB / 3.082 GB, free: 87.91 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.o IBPSA_latest_IBPSA_Fluid_Sources_Examples_Outside.c In file included from IBPSA_latest_IBPSA_Fluid_Sources_Examples_Outside.c:7: In file included from ./IBPSA_latest_IBPSA_Fluid_Sources_Examples_Outside_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_functions.o IBPSA_latest_IBPSA_Fluid_Sources_Examples_Outside_functions.c In file included from IBPSA_latest_IBPSA_Fluid_Sources_Examples_Outside_functions.c:2: In file included from ./IBPSA_latest_IBPSA_Fluid_Sources_Examples_Outside_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_functions.c:7: In file included from ./IBPSA_latest_IBPSA_Fluid_Sources_Examples_Outside_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_functions.o' failed make: *** [IBPSA_latest_IBPSA_Fluid_Sources_Examples_Outside_functions.o] Error 1