Running command: "" <> buildModelFMU(Buildings.Utilities.Plotters.Examples.SingleZoneVAVSupply_u,fileNamePrefix="Buildings_latest_Buildings_Utilities_Plotters_Examples_SingleZoneVAVSupply_u",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.377/4.377, allocations: 464.6 MB / 476.8 MB, free: 2.215 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 4.19e-05/4.196e-05, allocations: 4 kB / 0.5732 GB, free: 5.664 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2417/0.2417, allocations: 107.2 MB / 0.6778 GB, free: 10.32 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8669/1.109, allocations: 137.9 MB / 0.8125 GB, free: 12.39 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002876/1.109, allocations: 78.2 kB / 0.8126 GB, free: 12.39 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.05495/1.164, allocations: 13.93 MB / 0.8262 GB, free: 9.141 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.284e-06/1.164, allocations: 0 / 0.8262 GB, free: 9.141 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.179e-05/1.164, allocations: 19.47 kB / 0.8262 GB, free: 9.137 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 161 * Number of variables: 161 Notification: Performance of Generate backend data structure: time 0.002418/1.167, allocations: 1.003 MB / 0.8272 GB, free: 8.395 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.847e-05/1.167, allocations: 11.7 kB / 0.8272 GB, free: 8.391 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000176/1.167, allocations: 108.8 kB / 0.8273 GB, free: 8.336 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002492/1.167, allocations: 97.19 kB / 0.8274 GB, free: 8.285 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001158/1.168, allocations: 489.3 kB / 0.8278 GB, free: 7.953 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.868e-05/1.168, allocations: 58.23 kB / 0.8279 GB, free: 7.949 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000146/1.169, allocations: 64.44 kB / 0.828 GB, free: 7.949 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001388/1.17, allocations: 0.5356 MB / 0.8285 GB, free: 7.848 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.345e-05/1.17, allocations: 3.844 kB / 0.8285 GB, free: 7.848 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001137/1.17, allocations: 32.36 kB / 0.8285 GB, free: 7.84 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.744e-05/1.17, allocations: 15.44 kB / 0.8285 GB, free: 7.84 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001209/1.171, allocations: 486 kB / 0.829 GB, free: 7.824 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005309/1.177, allocations: 1.958 MB / 0.8309 GB, free: 6.922 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001364/1.178, allocations: 459 kB / 0.8313 GB, free: 6.867 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000445/1.179, allocations: 180.7 kB / 0.8315 GB, free: 6.859 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 7.263e-05/1.179, allocations: 7.875 kB / 0.8315 GB, free: 6.859 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006998/1.179, allocations: 350.5 kB / 0.8318 GB, free: 6.699 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=55): time 4.018e-06/1.179, allocations: 0 / 0.8318 GB, free: 6.699 MB / 0.6355 GB Notification: Performance of matching and sorting (n=55): time 0.001303/1.181, allocations: 478.8 kB / 0.8323 GB, free: 6.59 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.226e-05/1.181, allocations: 247 kB / 0.8325 GB, free: 6.305 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008534/1.182, allocations: 0.5289 MB / 0.8331 GB, free: 6.137 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.0001035/1.182, allocations: 41.3 kB / 0.8331 GB, free: 6.102 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002993/1.182, allocations: 325.3 kB / 0.8334 GB, free: 5.941 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001549/1.182, allocations: 171.3 kB / 0.8336 GB, free: 5.82 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.521e-05/1.182, allocations: 7.875 kB / 0.8336 GB, free: 5.82 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001199/1.182, allocations: 380.5 kB / 0.8339 GB, free: 5.484 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000438/1.183, allocations: 161.2 kB / 0.8341 GB, free: 5.48 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006582/1.184, allocations: 325 kB / 0.8344 GB, free: 5.312 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004891/1.184, allocations: 193.2 kB / 0.8346 GB, free: 5.281 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.749e-06/1.184, allocations: 0 / 0.8346 GB, free: 5.281 MB / 0.6355 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001301/1.185, allocations: 0.5107 MB / 0.8351 GB, free: 5.172 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001274/1.186, allocations: 452 kB / 0.8355 GB, free: 4.715 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.074e-05/1.186, allocations: 3.844 kB / 0.8355 GB, free: 4.715 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.389e-05/1.186, allocations: 7.828 kB / 0.8355 GB, free: 4.711 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001017/1.187, allocations: 115.9 kB / 0.8356 GB, free: 4.688 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.517e-05/1.187, allocations: 7.688 kB / 0.8356 GB, free: 4.684 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001137/1.188, allocations: 138.7 kB / 0.8358 GB, free: 4.625 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.783e-05/1.188, allocations: 22.98 kB / 0.8358 GB, free: 4.621 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.175e-05/1.188, allocations: 3.875 kB / 0.8358 GB, free: 4.621 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001058/1.189, allocations: 426.1 kB / 0.8362 GB, free: 4.574 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.563e-06/1.189, allocations: 3.953 kB / 0.8362 GB, free: 4.57 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.028e-05/1.189, allocations: 3.781 kB / 0.8362 GB, free: 4.57 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008433/1.19, allocations: 106.8 kB / 0.8363 GB, free: 4.551 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.217e-06/1.19, allocations: 3.844 kB / 0.8363 GB, free: 4.551 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001007/1.191, allocations: 117.9 kB / 0.8364 GB, free: 4.5 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.061e-05/1.191, allocations: 18.48 kB / 0.8365 GB, free: 4.496 MB / 0.6355 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 (64): * Single equations (assignments): 64 * 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.0002236/1.191, allocations: 144.6 kB / 0.8366 GB, free: 4.379 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001353/1.191, allocations: 73.09 kB / 0.8367 GB, free: 4.34 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001429/1.193, allocations: 0.5614 MB / 0.8372 GB, free: 4.211 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.007e-06/1.193, allocations: 7.906 kB / 0.8372 GB, free: 4.211 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.823e-06/1.193, allocations: 0 / 0.8372 GB, free: 4.211 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.007e-06/1.193, allocations: 3.984 kB / 0.8372 GB, free: 4.207 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003385/1.196, allocations: 1.682 MB / 0.8389 GB, free: 3.418 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.398e-06/1.196, allocations: 3.844 kB / 0.8389 GB, free: 3.418 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008538/1.197, allocations: 116.3 kB / 0.839 GB, free: 3.391 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.635e-05/1.197, allocations: 8.125 kB / 0.839 GB, free: 3.391 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.558e-05/1.197, allocations: 25.88 kB / 0.839 GB, free: 3.387 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-05/1.197, allocations: 15.73 kB / 0.839 GB, free: 3.379 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.043e-06/1.197, allocations: 7.906 kB / 0.839 GB, free: 3.375 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00141/1.199, allocations: 0.98 MB / 0.84 GB, free: 2.637 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003303/1.199, allocations: 210.5 kB / 0.8402 GB, free: 2.48 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000118/1.199, allocations: 22.45 kB / 0.8402 GB, free: 2.473 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008189/1.2, allocations: 79.91 kB / 0.8403 GB, free: 2.453 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001584/1.2, allocations: 61.61 kB / 0.8403 GB, free: 2.426 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.038e-05/1.2, allocations: 26.98 kB / 0.8404 GB, free: 2.422 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0007914/1.201, allocations: 419.2 kB / 0.8408 GB, free: 18.3 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.91e-07/1.201, allocations: 0 / 0.8408 GB, free: 18.3 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.001152/1.202, allocations: 250 kB / 0.841 GB, free: 18.26 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 (61): * Single equations (assignments): 58 * 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.002653/1.205, allocations: 3.004 MB / 0.8439 GB, free: 15.62 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.001778/1.207, allocations: 0.6652 MB / 0.8446 GB, free: 15.58 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 7.654e-06/1.207, allocations: 3.844 kB / 0.8446 GB, free: 15.58 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.000739/1.208, allocations: 267.4 kB / 0.8449 GB, free: 15.55 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000932/1.208, allocations: 110.2 kB / 0.845 GB, free: 15.53 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002966/1.211, allocations: 1.061 MB / 0.846 GB, free: 14.96 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005359/1.212, allocations: 0.9263 MB / 0.8469 GB, free: 14.16 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0008375/1.213, allocations: 140 kB / 0.847 GB, free: 14.09 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00045/1.213, allocations: 249.4 kB / 0.8473 GB, free: 14.05 MB / 0.6511 GB Notification: Performance of SimCode: time 2.144e-06/1.213, allocations: 0 / 0.8473 GB, free: 14.05 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05097/1.264, allocations: 14.28 MB / 0.8612 GB, free: 15.96 MB / 0.6667 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002982/1.265, allocations: 218.5 kB / 0.8614 GB, free: 15.72 MB / 0.6667 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 latest/Resources/C-Sources" -c -o Buildings_latest_Buildings_Utilities_Plotters_Examples_SingleZoneVAVSupply_u.o Buildings_latest_Buildings_Utilities_Plotters_Examples_SingleZoneVAVSupply_u.c In file included from Buildings_latest_Buildings_Utilities_Plotters_Examples_SingleZoneVAVSupply_u.c:7: In file included from ./Buildings_latest_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 latest/Resources/C-Sources" -c -o Buildings_latest_Buildings_Utilities_Plotters_Examples_SingleZoneVAVSupply_u_functions.o Buildings_latest_Buildings_Utilities_Plotters_Examples_SingleZoneVAVSupply_u_functions.c In file included from Buildings_latest_Buildings_Utilities_Plotters_Examples_SingleZoneVAVSupply_u_functions.c:2: In file included from ./Buildings_latest_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_latest_Buildings_Utilities_Plotters_Examples_SingleZoneVAVSupply_u_functions.c:7: In file included from ./Buildings_latest_Buildings_Utilities_Plotters_Examples_SingleZoneVAVSupply_u_includes.h:4: /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings latest/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_latest_Buildings_Utilities_Plotters_Examples_SingleZoneVAVSupply_u_functions.o' failed make: *** [Buildings_latest_Buildings_Utilities_Plotters_Examples_SingleZoneVAVSupply_u_functions.o] Error 1