Running command: "" <> buildModelFMU(Buildings.Utilities.Plotters.Examples.SingleZoneVAVSupply_u,fileNamePrefix="Buildings_7_0_0_Buildings_Utilities_Plotters_Examples_SingleZoneVAVSupply_u",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.461/4.461, allocations: 460.4 MB / 472.6 MB, free: 5.406 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.376e-05/3.377e-05, allocations: 7.984 kB / 0.5682 GB, free: 10.09 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2255/0.2255, allocations: 106.2 MB / 0.6719 GB, free: 15.69 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8527/1.078, allocations: 137.5 MB / 0.8062 GB, free: 12.77 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002518/1.079, allocations: 77.2 kB / 0.8063 GB, free: 12.77 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.05602/1.135, allocations: 13.93 MB / 0.8199 GB, free: 10.48 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.795e-06/1.135, allocations: 4 kB / 0.8199 GB, free: 10.48 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.326e-05/1.135, allocations: 27.11 kB / 0.8199 GB, free: 10.47 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.002392/1.137, allocations: 0.9996 MB / 0.8209 GB, free: 9.723 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.898e-05/1.137, allocations: 7.625 kB / 0.8209 GB, free: 9.723 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000168/1.137, allocations: 109.1 kB / 0.821 GB, free: 9.668 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002556/1.138, allocations: 92.81 kB / 0.8211 GB, free: 9.621 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001164/1.139, allocations: 493.9 kB / 0.8215 GB, free: 9.285 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.552e-05/1.139, allocations: 54.19 kB / 0.8216 GB, free: 9.281 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001418/1.139, allocations: 67.44 kB / 0.8217 GB, free: 9.281 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001381/1.141, allocations: 0.55 MB / 0.8222 GB, free: 9.172 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.233e-05/1.141, allocations: 3.938 kB / 0.8222 GB, free: 9.168 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.343e-05/1.141, allocations: 25.41 kB / 0.8222 GB, free: 9.168 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.122e-05/1.141, allocations: 15.5 kB / 0.8222 GB, free: 9.168 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001207/1.142, allocations: 482.1 kB / 0.8227 GB, free: 9.152 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005244/1.147, allocations: 1.95 MB / 0.8246 GB, free: 8.254 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001318/1.149, allocations: 459.6 kB / 0.825 GB, free: 8.199 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004366/1.149, allocations: 184.6 kB / 0.8252 GB, free: 8.188 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 6.474e-05/1.149, allocations: 12.11 kB / 0.8252 GB, free: 8.184 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006816/1.15, allocations: 346.3 kB / 0.8256 GB, free: 8.023 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=55): time 3.316e-06/1.15, allocations: 0 / 0.8256 GB, free: 8.023 MB / 0.6355 GB Notification: Performance of matching and sorting (n=55): time 0.001275/1.151, allocations: 475.9 kB / 0.826 GB, free: 7.918 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.685e-05/1.151, allocations: 243.6 kB / 0.8262 GB, free: 7.633 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008549/1.152, allocations: 0.5264 MB / 0.8268 GB, free: 7.469 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.0001261/1.152, allocations: 42.58 kB / 0.8268 GB, free: 7.438 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002843/1.152, allocations: 324.9 kB / 0.8271 GB, free: 7.277 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001583/1.153, allocations: 167.8 kB / 0.8273 GB, free: 7.156 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.714e-05/1.153, allocations: 10.22 kB / 0.8273 GB, free: 7.156 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.000124/1.153, allocations: 385.4 kB / 0.8276 GB, free: 6.816 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004423/1.153, allocations: 156 kB / 0.8278 GB, free: 6.812 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006764/1.154, allocations: 330.9 kB / 0.8281 GB, free: 6.648 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004822/1.154, allocations: 199.6 kB / 0.8283 GB, free: 6.613 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.638e-06/1.155, allocations: 0 / 0.8283 GB, free: 6.613 MB / 0.6355 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001293/1.156, allocations: 0.5051 MB / 0.8288 GB, free: 6.504 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001106/1.156, allocations: 457.8 kB / 0.8292 GB, free: 6.043 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.047e-05/1.156, allocations: 3.875 kB / 0.8292 GB, free: 6.043 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.415e-05/1.156, allocations: 0 / 0.8292 GB, free: 6.043 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009957/1.157, allocations: 123.1 kB / 0.8294 GB, free: 6.016 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.567e-05/1.157, allocations: 7.641 kB / 0.8294 GB, free: 6.012 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001103/1.158, allocations: 142.4 kB / 0.8295 GB, free: 5.949 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.596e-05/1.158, allocations: 18.59 kB / 0.8295 GB, free: 5.949 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.113e-05/1.158, allocations: 3.812 kB / 0.8295 GB, free: 5.949 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001041/1.159, allocations: 429.4 kB / 0.8299 GB, free: 5.898 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.05e-06/1.159, allocations: 4.094 kB / 0.8299 GB, free: 5.895 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.08e-05/1.159, allocations: 3.875 kB / 0.8299 GB, free: 5.895 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008676/1.16, allocations: 102.6 kB / 0.83 GB, free: 5.879 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.196e-05/1.16, allocations: 7.859 kB / 0.83 GB, free: 5.875 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009999/1.161, allocations: 120.4 kB / 0.8302 GB, free: 5.82 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.103e-05/1.161, allocations: 15.41 kB / 0.8302 GB, free: 5.82 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.0002378/1.162, allocations: 138.2 kB / 0.8303 GB, free: 5.711 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001439/1.162, allocations: 73.83 kB / 0.8304 GB, free: 5.668 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001474/1.163, allocations: 0.568 MB / 0.8309 GB, free: 5.531 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.536e-06/1.163, allocations: 3.844 kB / 0.8309 GB, free: 5.531 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.412e-06/1.163, allocations: 0 / 0.8309 GB, free: 5.531 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.718e-06/1.163, allocations: 3.984 kB / 0.8309 GB, free: 5.527 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003738/1.167, allocations: 1.687 MB / 0.8326 GB, free: 20.74 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.107e-06/1.167, allocations: 3.812 kB / 0.8326 GB, free: 20.74 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008604/1.168, allocations: 114.4 kB / 0.8327 GB, free: 20.71 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.536e-05/1.168, allocations: 7.75 kB / 0.8327 GB, free: 20.71 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.481e-05/1.168, allocations: 17.8 kB / 0.8327 GB, free: 20.71 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.234e-05/1.168, allocations: 11.69 kB / 0.8327 GB, free: 20.71 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.771e-06/1.168, allocations: 3.844 kB / 0.8327 GB, free: 20.71 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001443/1.17, allocations: 0.9887 MB / 0.8337 GB, free: 19.97 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003839/1.17, allocations: 218.5 kB / 0.8339 GB, free: 19.8 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000122/1.17, allocations: 22.44 kB / 0.8339 GB, free: 19.8 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008309/1.171, allocations: 76.06 kB / 0.834 GB, free: 19.78 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001637/1.171, allocations: 66.19 kB / 0.8341 GB, free: 19.75 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.976e-05/1.171, allocations: 22.38 kB / 0.8341 GB, free: 19.75 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0006882/1.172, allocations: 428.9 kB / 0.8345 GB, free: 19.62 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.11e-07/1.172, allocations: 0 / 0.8345 GB, free: 19.62 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.001152/1.173, allocations: 242.2 kB / 0.8347 GB, free: 19.59 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.002821/1.176, allocations: 3.013 MB / 0.8377 GB, free: 16.95 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.001803/1.178, allocations: 0.6622 MB / 0.8383 GB, free: 16.91 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 8.186e-06/1.178, allocations: 3.938 kB / 0.8383 GB, free: 16.9 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0007505/1.179, allocations: 261.6 kB / 0.8386 GB, free: 16.88 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009557/1.18, allocations: 115 kB / 0.8387 GB, free: 16.85 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003082/1.183, allocations: 1.068 MB / 0.8397 GB, free: 16.28 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005475/1.183, allocations: 0.9239 MB / 0.8406 GB, free: 15.47 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0008544/1.184, allocations: 133.1 kB / 0.8407 GB, free: 15.4 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004611/1.185, allocations: 257.6 kB / 0.841 GB, free: 15.37 MB / 0.6511 GB Notification: Performance of SimCode: time 1.202e-06/1.185, allocations: 0 / 0.841 GB, free: 15.37 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06171/1.246, allocations: 14.27 MB / 0.8549 GB, free: 7.703 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003484/1.247, allocations: 208.6 kB / 0.8551 GB, free: 7.48 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 7.0.0/Resources/C-Sources" -c -o Buildings_7_0_0_Buildings_Utilities_Plotters_Examples_SingleZoneVAVSupply_u.o Buildings_7_0_0_Buildings_Utilities_Plotters_Examples_SingleZoneVAVSupply_u.c In file included from Buildings_7_0_0_Buildings_Utilities_Plotters_Examples_SingleZoneVAVSupply_u.c:7: In file included from ./Buildings_7_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 7.0.0/Resources/C-Sources" -c -o Buildings_7_0_0_Buildings_Utilities_Plotters_Examples_SingleZoneVAVSupply_u_functions.o Buildings_7_0_0_Buildings_Utilities_Plotters_Examples_SingleZoneVAVSupply_u_functions.c In file included from Buildings_7_0_0_Buildings_Utilities_Plotters_Examples_SingleZoneVAVSupply_u_functions.c:2: In file included from ./Buildings_7_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_7_0_0_Buildings_Utilities_Plotters_Examples_SingleZoneVAVSupply_u_functions.c:7: In file included from ./Buildings_7_0_0_Buildings_Utilities_Plotters_Examples_SingleZoneVAVSupply_u_includes.h:4: /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 7.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_7_0_0_Buildings_Utilities_Plotters_Examples_SingleZoneVAVSupply_u_functions.o' failed make: *** [Buildings_7_0_0_Buildings_Utilities_Plotters_Examples_SingleZoneVAVSupply_u_functions.o] Error 1