Running command: "" <> buildModelFMU(Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn,fileNamePrefix="Buildings_6_0_0_Buildings_Utilities_Plotters_Validation_PlotterActivationAlwaysOn",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.163/4.163, allocations: 432.7 MB / 444.9 MB, free: 15.7 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 4.004e-05/4.019e-05, allocations: 4.766 kB / 0.5338 GB, free: 12.23 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2117/0.2118, allocations: 98.73 MB / 0.6302 GB, free: 6.137 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2353/0.4471, allocations: 127.3 MB / 0.7545 GB, free: 6.676 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002978/0.4475, allocations: 75.95 kB / 0.7546 GB, free: 6.602 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.03029/0.4778, allocations: 6.699 MB / 0.7611 GB, free: 15.87 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.753e-06/0.4779, allocations: 0 / 0.7611 GB, free: 15.87 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 2.161e-05/0.4779, allocations: 4 kB / 0.7611 GB, free: 15.87 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0008687/0.4788, allocations: 0.509 MB / 0.7616 GB, free: 15.3 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.171e-05/0.4788, allocations: 8.031 kB / 0.7616 GB, free: 15.29 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.492e-05/0.4789, allocations: 38.56 kB / 0.7617 GB, free: 15.25 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.016e-05/0.479, allocations: 15.81 kB / 0.7617 GB, free: 15.23 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007182/0.4797, allocations: 246.8 kB / 0.7619 GB, free: 14.95 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.703e-05/0.4798, allocations: 7.984 kB / 0.7619 GB, free: 14.94 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.616e-05/0.4798, allocations: 20 kB / 0.7619 GB, free: 14.92 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002507/0.4801, allocations: 73.62 kB / 0.762 GB, free: 14.84 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.289e-05/0.4801, allocations: 7.922 kB / 0.762 GB, free: 14.84 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.721e-05/0.4802, allocations: 15.94 kB / 0.762 GB, free: 14.82 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.474e-06/0.4802, allocations: 0 / 0.762 GB, free: 14.82 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001669/0.4804, allocations: 36 kB / 0.7621 GB, free: 14.79 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001142/0.4815, allocations: 444.5 kB / 0.7625 GB, free: 14.3 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001935/0.4817, allocations: 66.56 kB / 0.7626 GB, free: 14.23 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.481e-05/0.4818, allocations: 32.86 kB / 0.7626 GB, free: 14.19 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 2.078e-05/0.4819, allocations: 0 / 0.7626 GB, free: 14.19 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002029/0.4821, allocations: 87.42 kB / 0.7627 GB, free: 14.09 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=12): time 2.355e-06/0.4821, allocations: 0 / 0.7627 GB, free: 14.09 MB / 0.6511 GB Notification: Performance of matching and sorting (n=12): time 0.0003427/0.4825, allocations: 101.5 kB / 0.7628 GB, free: 13.99 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.692e-05/0.4825, allocations: 55.34 kB / 0.7628 GB, free: 13.92 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000244/0.4828, allocations: 166.3 kB / 0.763 GB, free: 13.75 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 4.956e-05/0.4829, allocations: 37.7 kB / 0.763 GB, free: 13.71 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001199/0.483, allocations: 124.1 kB / 0.7631 GB, free: 13.58 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 3.413e-05/0.483, allocations: 23.72 kB / 0.7632 GB, free: 13.56 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.275e-05/0.4831, allocations: 4 kB / 0.7632 GB, free: 13.55 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001445/0.4832, allocations: 322.8 kB / 0.7635 GB, free: 13.23 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.69e-05/0.4833, allocations: 24 kB / 0.7635 GB, free: 13.21 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002819/0.4836, allocations: 126 kB / 0.7636 GB, free: 13.06 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001019/0.4837, allocations: 31.94 kB / 0.7636 GB, free: 13.03 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.4837, allocations: 0 / 0.7636 GB, free: 13.03 MB / 0.6511 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003425/0.4841, allocations: 137.3 kB / 0.7638 GB, free: 12.89 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.867e-05/0.4841, allocations: 11.98 kB / 0.7638 GB, free: 12.88 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.755e-06/0.4841, allocations: 0 / 0.7638 GB, free: 12.88 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.254e-05/0.4842, allocations: 4 kB / 0.7638 GB, free: 12.87 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001749/0.4844, allocations: 8 kB / 0.7638 GB, free: 12.86 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.441e-05/0.4844, allocations: 4 kB / 0.7638 GB, free: 12.86 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003248/0.4847, allocations: 19.98 kB / 0.7638 GB, free: 12.84 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.808e-05/0.4848, allocations: 4 kB / 0.7638 GB, free: 12.84 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,sca.active,$PRE.sca.tActivateLast,sca.tActivateLast,sca.sampleTrigger,scaDel.active,$PRE.scaDel.tActivateLast,scaDel.tActivateLast,scaDel.sampleTrigger,plotConfiguration.activate_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 18 * 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.0001641/0.4849, allocations: 136 kB / 0.7639 GB, free: 12.7 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.829e-05/0.485, allocations: 11.81 kB / 0.764 GB, free: 12.69 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.2e-05/0.4851, allocations: 21.52 kB / 0.764 GB, free: 12.67 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.905e-06/0.4851, allocations: 4 kB / 0.764 GB, free: 12.66 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.917e-06/0.4851, allocations: 4 kB / 0.764 GB, free: 12.66 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.998e-06/0.4851, allocations: 0 / 0.764 GB, free: 12.66 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008352/0.4859, allocations: 446.2 kB / 0.7644 GB, free: 12.17 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.466e-06/0.486, allocations: 0 / 0.7644 GB, free: 12.17 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.295e-05/0.486, allocations: 4 kB / 0.7644 GB, free: 12.16 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.42e-06/0.486, allocations: 0 / 0.7644 GB, free: 12.16 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.524e-05/0.4861, allocations: 4 kB / 0.7644 GB, free: 12.16 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.106e-06/0.4861, allocations: 0 / 0.7644 GB, free: 12.16 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.834e-06/0.4861, allocations: 0 / 0.7644 GB, free: 12.16 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002867/0.4864, allocations: 211.2 kB / 0.7646 GB, free: 11.94 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 6.743e-05/0.4865, allocations: 89 kB / 0.7647 GB, free: 11.83 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.135e-05/0.4865, allocations: 4 kB / 0.7647 GB, free: 11.83 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001546/0.4867, allocations: 11.98 kB / 0.7647 GB, free: 11.82 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.401e-05/0.4868, allocations: 20.02 kB / 0.7647 GB, free: 11.8 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.663e-05/0.4868, allocations: 4 kB / 0.7647 GB, free: 11.79 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0001684/0.487, allocations: 137.2 kB / 0.7649 GB, free: 11.66 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.41e-07/0.487, allocations: 0 / 0.7649 GB, free: 11.66 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0005014/0.4875, allocations: 43.91 kB / 0.7649 GB, free: 11.62 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 11 (scaDel.sampleTrigger,sca.sampleTrigger,plotConfiguration.active,$whenCondition3,$whenCondition2,$whenCondition1,plotConfiguration.tActivateLast,sca.active,sca.tActivateLast,scaDel.active,scaDel.tActivateLast) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 9 * 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.0009736/0.4885, allocations: 0.8092 MB / 0.7657 GB, free: 10.8 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0003235/0.4888, allocations: 75.92 kB / 0.7658 GB, free: 10.73 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.4889, allocations: 0 / 0.7658 GB, free: 10.73 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001135/0.489, allocations: 36.27 kB / 0.7658 GB, free: 10.69 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004762/0.4895, allocations: 42.45 kB / 0.7659 GB, free: 10.65 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00101/0.4905, allocations: 239.6 kB / 0.7661 GB, free: 10.38 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003464/0.4909, allocations: 0.7243 MB / 0.7668 GB, free: 9.633 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0001209/0.491, allocations: 21.33 kB / 0.7668 GB, free: 9.609 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001146/0.4911, allocations: 43.41 kB / 0.7669 GB, free: 9.57 MB / 0.6511 GB Notification: Performance of SimCode: time 1.192e-06/0.4911, allocations: 0 / 0.7669 GB, free: 9.57 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03413/0.5253, allocations: 4.482 MB / 0.7712 GB, free: 5.184 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003791/0.5258, allocations: 222 kB / 0.7714 GB, free: 4.953 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_Validation_PlotterActivationAlwaysOn.o Buildings_6_0_0_Buildings_Utilities_Plotters_Validation_PlotterActivationAlwaysOn.c In file included from Buildings_6_0_0_Buildings_Utilities_Plotters_Validation_PlotterActivationAlwaysOn.c:7: In file included from ./Buildings_6_0_0_Buildings_Utilities_Plotters_Validation_PlotterActivationAlwaysOn_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_Validation_PlotterActivationAlwaysOn_functions.o Buildings_6_0_0_Buildings_Utilities_Plotters_Validation_PlotterActivationAlwaysOn_functions.c In file included from Buildings_6_0_0_Buildings_Utilities_Plotters_Validation_PlotterActivationAlwaysOn_functions.c:2: In file included from ./Buildings_6_0_0_Buildings_Utilities_Plotters_Validation_PlotterActivationAlwaysOn_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_Validation_PlotterActivationAlwaysOn_functions.c:7: In file included from ./Buildings_6_0_0_Buildings_Utilities_Plotters_Validation_PlotterActivationAlwaysOn_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_Validation_PlotterActivationAlwaysOn_functions.o' failed make: *** [Buildings_6_0_0_Buildings_Utilities_Plotters_Validation_PlotterActivationAlwaysOn_functions.o] Error 1