Running command: "" <> buildModelFMU(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput,fileNamePrefix="Buildings_7_0_0_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInput",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.226/4.226, allocations: 460.4 MB / 472.6 MB, free: 5.301 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 4.344e-05/4.367e-05, allocations: 7.984 kB / 0.5682 GB, free: 10.06 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.24/0.2401, allocations: 106.2 MB / 0.6719 GB, free: 15.66 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.879/1.119, allocations: 135.4 MB / 0.8041 GB, free: 13.17 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002816/1.12, allocations: 75.55 kB / 0.8041 GB, free: 13.17 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.04997/1.17, allocations: 12.28 MB / 0.8161 GB, free: 12.18 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.634e-06/1.17, allocations: 4 kB / 0.8161 GB, free: 12.18 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 2.156e-05/1.17, allocations: 3.812 kB / 0.8161 GB, free: 12.18 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0008502/1.17, allocations: 0.5199 MB / 0.8167 GB, free: 11.71 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.585e-05/1.171, allocations: 14.5 kB / 0.8167 GB, free: 11.71 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.644e-05/1.171, allocations: 37.88 kB / 0.8167 GB, free: 11.67 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.288e-05/1.171, allocations: 22.06 kB / 0.8167 GB, free: 11.66 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006653/1.171, allocations: 254.4 kB / 0.817 GB, free: 11.44 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.382e-05/1.171, allocations: 14.73 kB / 0.817 GB, free: 11.44 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.892e-05/1.171, allocations: 17 kB / 0.817 GB, free: 11.44 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002584/1.172, allocations: 113.2 kB / 0.8171 GB, free: 11.37 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.192e-05/1.172, allocations: 0 / 0.8171 GB, free: 11.37 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.234e-05/1.172, allocations: 10.08 kB / 0.8171 GB, free: 11.37 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.938e-06/1.172, allocations: 4 kB / 0.8171 GB, free: 11.36 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000158/1.172, allocations: 50.97 kB / 0.8172 GB, free: 11.36 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001125/1.173, allocations: 0.5477 MB / 0.8177 GB, free: 10.91 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002056/1.173, allocations: 89.84 kB / 0.8178 GB, free: 10.86 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 9e-05/1.173, allocations: 43.58 kB / 0.8178 GB, free: 10.84 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.92e-05/1.173, allocations: 4 kB / 0.8178 GB, free: 10.84 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002383/1.174, allocations: 114.3 kB / 0.8179 GB, free: 10.76 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=15): time 2.735e-06/1.174, allocations: 0 / 0.8179 GB, free: 10.76 MB / 0.6355 GB Notification: Performance of matching and sorting (n=15): time 0.0003683/1.174, allocations: 128.1 kB / 0.8181 GB, free: 10.71 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.434e-05/1.174, allocations: 85.12 kB / 0.8181 GB, free: 10.61 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002067/1.174, allocations: 182.6 kB / 0.8183 GB, free: 10.49 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 4.283e-05/1.174, allocations: 33.02 kB / 0.8184 GB, free: 10.46 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 8.636e-05/1.175, allocations: 125 kB / 0.8185 GB, free: 10.37 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.53e-05/1.175, allocations: 30.2 kB / 0.8185 GB, free: 10.35 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.145e-05/1.175, allocations: 11 kB / 0.8185 GB, free: 10.34 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 6.798e-05/1.175, allocations: 325.8 kB / 0.8188 GB, free: 10.03 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.188e-05/1.175, allocations: 29.5 kB / 0.8189 GB, free: 10.03 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002426/1.175, allocations: 137.9 kB / 0.819 GB, free: 9.922 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00011/1.175, allocations: 41.83 kB / 0.819 GB, free: 9.91 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/1.175, allocations: 0 / 0.819 GB, free: 9.91 MB / 0.6355 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003302/1.176, allocations: 152.5 kB / 0.8192 GB, free: 9.848 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.965e-05/1.176, allocations: 7.531 kB / 0.8192 GB, free: 9.848 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.558e-06/1.176, allocations: 3.953 kB / 0.8192 GB, free: 9.844 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.089e-05/1.176, allocations: 7.781 kB / 0.8192 GB, free: 9.84 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001524/1.176, allocations: 15.31 kB / 0.8192 GB, free: 9.836 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.102e-05/1.176, allocations: 4 kB / 0.8192 GB, free: 9.836 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003735/1.176, allocations: 34 kB / 0.8192 GB, free: 9.82 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.789e-05/1.176, allocations: 10.03 kB / 0.8192 GB, free: 9.82 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 19 (plotConfiguration.active,$PRE.plotConfiguration.tActivateLast,plotConfiguration.tActivateLast,$whenCondition2,$whenCondition4,$whenCondition3,$whenCondition1,sca.active,$PRE.sca.tActivateLast,sca.tActivateLast,sca.sampleTrigger,scaDel.active,$PRE.scaDel.tActivateLast,scaDel.tActivateLast,scaDel.sampleTrigger,booPul.y,$PRE.booPul.pulseStart,booPul.pulseStart,plotConfiguration.activate_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * Single equations (assignments): 22 * 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.0001145/1.176, allocations: 127.9 kB / 0.8194 GB, free: 9.703 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.062e-05/1.176, allocations: 15.31 kB / 0.8194 GB, free: 9.695 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.645e-05/1.176, allocations: 23.86 kB / 0.8194 GB, free: 9.688 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.131e-06/1.176, allocations: 7.641 kB / 0.8194 GB, free: 9.684 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.472e-06/1.177, allocations: 4 kB / 0.8194 GB, free: 9.68 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.109e-06/1.177, allocations: 0 / 0.8194 GB, free: 9.68 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008017/1.177, allocations: 468.1 kB / 0.8199 GB, free: 9.32 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.558e-06/1.177, allocations: 7.766 kB / 0.8199 GB, free: 9.316 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.706e-05/1.177, allocations: 7.719 kB / 0.8199 GB, free: 9.312 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.272e-06/1.177, allocations: 0 / 0.8199 GB, free: 9.312 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.442e-05/1.177, allocations: 0 / 0.8199 GB, free: 9.312 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.599e-06/1.177, allocations: 3.812 kB / 0.8199 GB, free: 9.312 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/1.177, allocations: 0 / 0.8199 GB, free: 9.312 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002702/1.178, allocations: 249.3 kB / 0.8201 GB, free: 9.125 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.928e-05/1.178, allocations: 92.7 kB / 0.8202 GB, free: 9.02 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.478e-05/1.178, allocations: 11.05 kB / 0.8202 GB, free: 9.016 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002068/1.178, allocations: 15.67 kB / 0.8202 GB, free: 9.012 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.976e-05/1.178, allocations: 23.12 kB / 0.8203 GB, free: 9 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.573e-05/1.178, allocations: 3.969 kB / 0.8203 GB, free: 9 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0001335/1.178, allocations: 148.2 kB / 0.8204 GB, free: 8.914 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.11e-07/1.178, allocations: 0 / 0.8204 GB, free: 8.914 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0005045/1.179, allocations: 50.12 kB / 0.8204 GB, free: 8.902 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 14 (sca.sampleTrigger,scaDel.sampleTrigger,booPul.y,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,sca.active,sca.tActivateLast,scaDel.active,scaDel.tActivateLast,booPul.pulseStart,plotConfiguration.active,plotConfiguration.tActivateLast) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001191/1.18, allocations: 0.9145 MB / 0.8213 GB, free: 24.1 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0003865/1.18, allocations: 87.12 kB / 0.8214 GB, free: 24.1 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 4.419e-06/1.181, allocations: 8 kB / 0.8214 GB, free: 24.09 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001344/1.181, allocations: 53.33 kB / 0.8215 GB, free: 24.08 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005578/1.181, allocations: 49.89 kB / 0.8215 GB, free: 24.06 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009981/1.182, allocations: 272.9 kB / 0.8218 GB, free: 23.88 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000317/1.183, allocations: 0.7314 MB / 0.8225 GB, free: 23.15 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0001317/1.183, allocations: 20.95 kB / 0.8225 GB, free: 23.14 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001179/1.183, allocations: 58.03 kB / 0.8226 GB, free: 23.13 MB / 0.6511 GB Notification: Performance of SimCode: time 1.153e-06/1.183, allocations: 0 / 0.8226 GB, free: 23.13 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.033/1.216, allocations: 4.937 MB / 0.8274 GB, free: 20.68 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002681/1.216, allocations: 235.2 kB / 0.8276 GB, free: 20.44 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_Validation_PlotterActivationLocalInput.o Buildings_7_0_0_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInput.c In file included from Buildings_7_0_0_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInput.c:7: In file included from ./Buildings_7_0_0_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInput_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_Validation_PlotterActivationLocalInput_functions.o Buildings_7_0_0_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInput_functions.c In file included from Buildings_7_0_0_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInput_functions.c:2: In file included from ./Buildings_7_0_0_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInput_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_Validation_PlotterActivationLocalInput_functions.c:7: In file included from ./Buildings_7_0_0_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInput_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_Validation_PlotterActivationLocalInput_functions.o' failed make: *** [Buildings_7_0_0_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInput_functions.o] Error 1