Running command: "" <> buildModelFMU(Buildings.Utilities.Plotters.Examples.SingleZoneVAVSupply_u,fileNamePrefix="Buildings_6_0_0_Buildings_Utilities_Plotters_Examples_SingleZoneVAVSupply_u",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 3.964/3.964, allocations: 432.8 MB / 444.9 MB, free: 15.68 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 4.806e-05/4.821e-05, allocations: 3.25 kB / 0.5338 GB, free: 12.19 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2221/0.2222, allocations: 98.73 MB / 0.6302 GB, free: 6.105 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.245/0.4673, allocations: 130.4 MB / 0.7575 GB, free: 3.574 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002915/0.4677, allocations: 71.95 kB / 0.7576 GB, free: 3.504 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.0674/0.5351, allocations: 13.68 MB / 0.7709 GB, free: 5.777 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.154e-06/0.5351, allocations: 0 / 0.7709 GB, free: 5.777 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 8.512e-05/0.5352, allocations: 17.75 kB / 0.7709 GB, free: 5.762 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 154 * Number of variables: 154 Notification: Performance of Generate backend data structure: time 0.003461/0.5387, allocations: 1.003 MB / 0.7719 GB, free: 4.699 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.94e-05/0.5388, allocations: 8.031 kB / 0.7719 GB, free: 4.691 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002682/0.5391, allocations: 106.5 kB / 0.772 GB, free: 4.578 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000363/0.5395, allocations: 86.97 kB / 0.7721 GB, free: 4.492 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001861/0.5413, allocations: 492.5 kB / 0.7726 GB, free: 3.969 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001028/0.5415, allocations: 49.31 kB / 0.7726 GB, free: 3.922 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000243/0.5417, allocations: 64 kB / 0.7727 GB, free: 3.859 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00223/0.544, allocations: 0.5233 MB / 0.7732 GB, free: 3.328 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.338e-05/0.544, allocations: 3.953 kB / 0.7732 GB, free: 3.324 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000143/0.5442, allocations: 27.98 kB / 0.7732 GB, free: 3.297 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.605e-05/0.5442, allocations: 20 kB / 0.7732 GB, free: 3.277 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002025/0.5463, allocations: 466.6 kB / 0.7737 GB, free: 2.824 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007573/0.5539, allocations: 1.895 MB / 0.7755 GB, free: 0.875 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002078/0.556, allocations: 452.5 kB / 0.776 GB, free: 432 kB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007585/0.5568, allocations: 182.2 kB / 0.7761 GB, free: 248 kB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 9.196e-05/0.5569, allocations: 8.438 kB / 0.7762 GB, free: 240 kB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.6064/1.163, allocations: 337.6 kB / 0.7765 GB, free: 136.1 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=54): time 3.867e-06/1.163, allocations: 0.5625 kB / 0.7765 GB, free: 136.1 MB / 0.6511 GB Notification: Performance of matching and sorting (n=54): time 0.001493/1.165, allocations: 462.8 kB / 0.7769 GB, free: 136.1 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.703e-05/1.165, allocations: 245.9 kB / 0.7772 GB, free: 135.8 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009469/1.166, allocations: 0.5126 MB / 0.7777 GB, free: 135.7 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0001454/1.166, allocations: 39.56 kB / 0.7777 GB, free: 135.6 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003099/1.166, allocations: 308.2 kB / 0.778 GB, free: 135.5 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002035/1.167, allocations: 171.7 kB / 0.7782 GB, free: 135.4 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.738e-05/1.167, allocations: 9.875 kB / 0.7782 GB, free: 135.4 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001454/1.167, allocations: 377.3 kB / 0.7785 GB, free: 135.1 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004818/1.167, allocations: 156.7 kB / 0.7787 GB, free: 135.1 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007219/1.168, allocations: 327.9 kB / 0.779 GB, free: 135 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005666/1.169, allocations: 188.6 kB / 0.7792 GB, free: 135 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.594e-06/1.169, allocations: 3.203 kB / 0.7792 GB, free: 135 MB / 0.6511 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.001596/1.17, allocations: 0.503 MB / 0.7797 GB, free: 134.9 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001275/1.17, allocations: 450.6 kB / 0.7801 GB, free: 134.5 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.126e-05/1.17, allocations: 1.531 kB / 0.7801 GB, free: 134.5 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.938e-05/1.171, allocations: 4.109 kB / 0.7801 GB, free: 134.5 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001093/1.172, allocations: 120.3 kB / 0.7802 GB, free: 134.5 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.931e-05/1.172, allocations: 8.25 kB / 0.7802 GB, free: 134.5 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001232/1.173, allocations: 138.5 kB / 0.7803 GB, free: 134.4 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.97e-05/1.173, allocations: 16.52 kB / 0.7804 GB, free: 134.4 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.297e-05/1.173, allocations: 4.188 kB / 0.7804 GB, free: 134.4 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001177/1.174, allocations: 419.7 kB / 0.7808 GB, free: 134.4 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.211e-06/1.174, allocations: 5.219 kB / 0.7808 GB, free: 134.4 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.118e-05/1.174, allocations: 4.438 kB / 0.7808 GB, free: 134.4 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000851/1.175, allocations: 101.6 kB / 0.7809 GB, free: 134.4 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.211e-05/1.175, allocations: 9.516 kB / 0.7809 GB, free: 134.4 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009984/1.176, allocations: 121.8 kB / 0.781 GB, free: 134.4 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.049e-05/1.176, allocations: 16.78 kB / 0.781 GB, free: 134.4 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition3,$whenCondition2,$whenCondition1,plotConfiguration.active,$PRE.plotConfiguration.tActivateLast,plotConfiguration.tActivateLast,scaTem.active,$PRE.scaTem.tActivateLast,scaTem.tActivateLast,scaTem.sampleTrigger,scaYFan.active,$PRE.scaYFan.tActivateLast,scaYFan.tActivateLast,scaYFan.sampleTrigger,plotConfiguration.activate_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (63): * Single equations (assignments): 63 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002273/1.176, allocations: 146.9 kB / 0.7812 GB, free: 134.3 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001666/1.177, allocations: 70.73 kB / 0.7812 GB, free: 134.3 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001509/1.178, allocations: 0.556 MB / 0.7818 GB, free: 134.2 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.007e-06/1.178, allocations: 4.719 kB / 0.7818 GB, free: 134.2 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.424e-06/1.178, allocations: 2.484 kB / 0.7818 GB, free: 134.2 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.304e-05/1.178, allocations: 5.297 kB / 0.7818 GB, free: 134.2 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003685/1.182, allocations: 1.658 MB / 0.7834 GB, free: 133.7 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.089e-05/1.182, allocations: 4.344 kB / 0.7834 GB, free: 133.7 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008833/1.183, allocations: 116.8 kB / 0.7835 GB, free: 133.7 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.03e-05/1.183, allocations: 8.469 kB / 0.7835 GB, free: 133.7 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.836e-05/1.183, allocations: 16.38 kB / 0.7835 GB, free: 133.7 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.497e-05/1.183, allocations: 11.38 kB / 0.7835 GB, free: 133.7 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.768e-06/1.183, allocations: 9.453 kB / 0.7836 GB, free: 133.7 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001559/1.185, allocations: 0.9711 MB / 0.7845 GB, free: 133 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003881/1.185, allocations: 216.8 kB / 0.7847 GB, free: 132.9 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001354/1.185, allocations: 19.61 kB / 0.7847 GB, free: 132.9 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008651/1.186, allocations: 79.06 kB / 0.7848 GB, free: 132.9 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001951/1.186, allocations: 61.41 kB / 0.7849 GB, free: 132.9 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.352e-05/1.186, allocations: 25.17 kB / 0.7849 GB, free: 132.9 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0008031/1.187, allocations: 415.5 kB / 0.7853 GB, free: 132.8 MB / 0.6511 GB Notification: Performance of sort global known variables: time 5.31e-07/1.187, allocations: 0 / 0.7853 GB, free: 132.8 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.00125/1.188, allocations: 239.8 kB / 0.7855 GB, free: 132.8 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 11 (scaYFan.sampleTrigger,scaTem.sampleTrigger,plotConfiguration.active,$whenCondition3,$whenCondition2,$whenCondition1,plotConfiguration.tActivateLast,scaTem.active,scaTem.tActivateLast,scaYFan.active,scaYFan.tActivateLast) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (60): * Single equations (assignments): 57 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002287/1.191, allocations: 3.002 MB / 0.7884 GB, free: 130.2 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.001956/1.193, allocations: 0.6549 MB / 0.7891 GB, free: 130.2 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 7.484e-06/1.193, allocations: 2.375 kB / 0.7891 GB, free: 130.2 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0007931/1.194, allocations: 264.1 kB / 0.7893 GB, free: 130.1 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009831/1.195, allocations: 111.6 kB / 0.7894 GB, free: 130.1 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003148/1.198, allocations: 1.05 MB / 0.7905 GB, free: 129.7 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005117/1.198, allocations: 0.9227 MB / 0.7914 GB, free: 129 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0009125/1.199, allocations: 127.7 kB / 0.7915 GB, free: 128.9 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004771/1.2, allocations: 243 kB / 0.7917 GB, free: 128.9 MB / 0.6511 GB Notification: Performance of SimCode: time 2.124e-06/1.2, allocations: 0 / 0.7917 GB, free: 128.9 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04842/1.248, allocations: 14.08 MB / 0.8055 GB, free: 127.9 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002757/1.248, allocations: 211.6 kB / 0.8057 GB, free: 127.6 MB / 0.6511 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/Buildings 6.0.0/Resources/C-Sources" -c -o Buildings_6_0_0_Buildings_Utilities_Plotters_Examples_SingleZoneVAVSupply_u.o Buildings_6_0_0_Buildings_Utilities_Plotters_Examples_SingleZoneVAVSupply_u.c In file included from Buildings_6_0_0_Buildings_Utilities_Plotters_Examples_SingleZoneVAVSupply_u.c:7: In file included from ./Buildings_6_0_0_Buildings_Utilities_Plotters_Examples_SingleZoneVAVSupply_u_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/Buildings 6.0.0/Resources/C-Sources" -c -o Buildings_6_0_0_Buildings_Utilities_Plotters_Examples_SingleZoneVAVSupply_u_functions.o Buildings_6_0_0_Buildings_Utilities_Plotters_Examples_SingleZoneVAVSupply_u_functions.c In file included from Buildings_6_0_0_Buildings_Utilities_Plotters_Examples_SingleZoneVAVSupply_u_functions.c:2: In file included from ./Buildings_6_0_0_Buildings_Utilities_Plotters_Examples_SingleZoneVAVSupply_u_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_6_0_0_Buildings_Utilities_Plotters_Examples_SingleZoneVAVSupply_u_functions.c:7: In file included from ./Buildings_6_0_0_Buildings_Utilities_Plotters_Examples_SingleZoneVAVSupply_u_includes.h:4: /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/Resources/C-Sources/plotFree.c:8:10: fatal error: 'ModelicaUtilities.h' file not found #include ^~~~~~~~~~~~~~~~~~~~~ 2 warnings and 1 error generated. : recipe for target 'Buildings_6_0_0_Buildings_Utilities_Plotters_Examples_SingleZoneVAVSupply_u_functions.o' failed make: *** [Buildings_6_0_0_Buildings_Utilities_Plotters_Examples_SingleZoneVAVSupply_u_functions.o] Error 1